diff options
author | Marek Paśnikowski <marek@marekpasnikowski.pl> | 2024-11-20 21:19:54 +0100 |
---|---|---|
committer | Marek Paśnikowski <marek@marekpasnikowski.pl> | 2024-11-20 21:26:08 +0100 |
commit | 1a4bb28ce5c40c3959478fc5cd327e38e7fe6aa8 (patch) | |
tree | 18102f86f1ce4d4fb4dbd535b2f42f8717588245 /systems | |
parent | 7e2ee1c923e19acdef8e5ea1875cc57193c2eb5b (diff) |
feat(systems): retire akashi system
Diffstat (limited to 'systems')
-rw-r--r-- | systems/akashi.scm | 67 |
1 files changed, 0 insertions, 67 deletions
diff --git a/systems/akashi.scm b/systems/akashi.scm deleted file mode 100644 index bb4bfaf..0000000 --- a/systems/akashi.scm +++ /dev/null @@ -1,67 +0,0 @@ -(define-module (systems akashi) - #:use-module ((gnu packages linux) - #:prefix gnu:packages:linux:) - #:use-module ((gnu services guix) - #:prefix gnu:services:guix:) - #:use-module ((machines thinkpad-x200) - #:prefix machines:thinkpad-x200:) - #:use-module ((suweren commons sudoers) - #:prefix suweren:commons:sudoers:) - #:use-module ((systems) - #:prefix systems:) - #:use-module (users id1000)) - -(define root-partition - ((@ (gnu system file-systems) file-system) - (mount-point "/") - (device ((@ (gnu system file-systems) file-system-label) "akashi-root")) - (type "ext4"))) - -;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; - -(define host-name* - "akashi") - -(define (file-systems) - (use-modules (suweren system)) - (append %suweren-file-systems - (list root-partition))) - -(define keyboard-layout* - ((@ (gnu system keyboard) keyboard-layout) - "pl")) - -(define (services) - (use-modules (suweren system)) - (let* ((home-environments `((,uid1000-name ,(uid1000-home-environment host-name*)))) - - (guix-home ((@ (gnu services) service) - gnu:services:guix:guix-home-service-type - home-environments))) - (append systems:%sovereign-services - (list guix-home - ((@ (gnu services base) udev-rules-service) - 'adb-udev - (@ (gnu packages android) android-udev-rules)))))) - -(define users - (list uid1000-account)) - -;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; - -(define-public operating-system* - (let* ((patter-placeholder #f) - (timezone* "Europe/Warsaw")) - ((@ (gnu system) operating-system) - (kernel gnu:packages:linux:linux-libre) - (bootloader (machines:thinkpad-x200:bootloader-configuration* keyboard-layout*)) - (keyboard-layout keyboard-layout*) - (host-name host-name*) - (file-systems (file-systems)) - (swap-devices (machines:thinkpad-x200:swap-devices* host-name*)) - (users users) - (timezone timezone*) - (locale polish-locale-string) - (locale-definitions %suweren-locale-definitions) - (services (services)) - (sudoers-file suweren:commons:sudoers:%sudoers-specification*)))) |