aboutsummaryrefslogtreecommitdiff
path: root/.guix/guix-na/config/balg02.scm
diff options
context:
space:
mode:
authorCollin J. Doering2024-03-21 18:17:35 -0400
committerCollin J. Doering2024-03-21 18:17:35 -0400
commit059e1bba3821b1aed05615012606ca7dfb6de17f (patch)
tree0276abfe3bd8098cc4a636dbba5ccbfed6575470 /.guix/guix-na/config/balg02.scm
parent1178a79018b6d03d5d5da2549fcf1bee764e5d2f (diff)
downloadguix-north-america-059e1bba3821b1aed05615012606ca7dfb6de17f.tar.gz
balg02: Minor adjustment and reformatting
* .guix/guix-na/config/balg02.scm: Move swap-devices to be after file-systems (file-systems is referenced from within swap-devices). Other changes are just noop reformatting.
Diffstat (limited to '.guix/guix-na/config/balg02.scm')
-rw-r--r--.guix/guix-na/config/balg02.scm51
1 files changed, 26 insertions, 25 deletions
diff --git a/.guix/guix-na/config/balg02.scm b/.guix/guix-na/config/balg02.scm
index 2c5c356..e41333a 100644
--- a/.guix/guix-na/config/balg02.scm
+++ b/.guix/guix-na/config/balg02.scm
@@ -46,12 +46,6 @@
(serial-speed 115200)
(targets '("/dev/sda"))))
- (swap-devices
- (list (swap-space
- (target "/swap/swapfile")
- (dependencies (filter (file-system-mount-point-predicate "/swap")
- file-systems)))))
-
(file-systems (append
(list (file-system
(device (file-system-label "root"))
@@ -65,6 +59,12 @@
(options "subvol=@swap")))
%base-file-systems))
+ (swap-devices
+ (list (swap-space
+ (target "/swap/swapfile")
+ (dependencies (filter (file-system-mount-point-predicate "/swap")
+ file-systems)))))
+
(users (cons* (user-account
(name %automation-user)
(comment "Automation User")
@@ -96,23 +96,24 @@
(services
(append
- (list (service openssh-service-type
- (openssh-configuration
- (password-authentication? #f)
- (authorized-keys
- `(("auto" ,(local-file "../../../.pubkeys/deploy-key.pub"))
- ("collin" ,(local-file "../../../.pubkeys/collin.pub"))
- ("root" ,(local-file "../../../.pubkeys/collin.pub"))))))
- (service static-networking-service-type
- (list (static-networking
- (addresses
- (list (network-address
- (device "eno8303")
- (value "216.37.76.55/24"))))
- (routes
- (list (network-route
- (destination "default")
- (gateway "216.37.76.1"))))
- (name-servers '("216.37.64.2" "216.37.64.3")))))
- (service ntp-service-type))
+ (list
+ (service openssh-service-type
+ (openssh-configuration
+ (password-authentication? #f)
+ (authorized-keys
+ `(("auto" ,(local-file "../../../.pubkeys/deploy-key.pub"))
+ ("collin" ,(local-file "../../../.pubkeys/collin.pub"))
+ ("root" ,(local-file "../../../.pubkeys/collin.pub"))))))
+ (service static-networking-service-type
+ (list (static-networking
+ (addresses
+ (list (network-address
+ (device "eno8303")
+ (value "216.37.76.55/24"))))
+ (routes
+ (list (network-route
+ (destination "default")
+ (gateway "216.37.76.1"))))
+ (name-servers '("216.37.64.2" "216.37.64.3")))))
+ (service ntp-service-type))
%base-services))))