2022-11-23 20:18:02 +00:00
|
|
|
(use-modules
|
|
|
|
(gnu)
|
2022-12-02 02:34:44 +00:00
|
|
|
(gnu system nss))
|
2022-11-23 20:18:02 +00:00
|
|
|
(use-package-modules
|
|
|
|
certs
|
|
|
|
linux
|
2022-12-02 02:34:44 +00:00
|
|
|
wm)
|
2022-11-23 20:18:02 +00:00
|
|
|
(use-service-modules
|
|
|
|
desktop
|
|
|
|
networking
|
|
|
|
xorg
|
|
|
|
cups
|
|
|
|
ssh
|
2022-12-02 02:34:44 +00:00
|
|
|
dbus)
|
2022-11-23 20:18:02 +00:00
|
|
|
(operating-system
|
|
|
|
(kernel linux-libre)
|
|
|
|
(keyboard-layout (keyboard-layout "us" "altgr-intl"))
|
|
|
|
(bootloader
|
2022-12-06 12:56:03 +00:00
|
|
|
(bootloader-configuration
|
|
|
|
(bootloader (bootloader
|
|
|
|
(inherit grub-bootloader)
|
2022-12-02 02:34:44 +00:00
|
|
|
(installer #~(const #t))))
|
2022-12-06 12:56:03 +00:00
|
|
|
(keyboard-layout keyboard-layout)))
|
2022-11-23 20:18:02 +00:00
|
|
|
(host-name "PC")
|
|
|
|
(mapped-devices (list
|
2022-12-06 12:56:03 +00:00
|
|
|
(mapped-device
|
2022-12-02 02:34:44 +00:00
|
|
|
(source (uuid "e836ef6e-97a8-442b-a025-e81ab58bbc04"))
|
|
|
|
(target "fde")
|
|
|
|
(type luks-device-mapping))
|
|
|
|
(mapped-device
|
|
|
|
(source "matrix")
|
|
|
|
(targets (list "matrix-rootvol"
|
2022-12-06 12:56:03 +00:00
|
|
|
"matrix-swapvol"))
|
|
|
|
(type lvm-device-mapping))))
|
2022-11-23 20:18:02 +00:00
|
|
|
(file-systems (append (list
|
2022-12-06 12:56:03 +00:00
|
|
|
(file-system
|
2022-12-02 02:34:44 +00:00
|
|
|
(type "btrfs")
|
|
|
|
(mount-point "/")
|
|
|
|
(device (file-system-label "root"))
|
|
|
|
(flags '(no-atime))
|
|
|
|
(options "space_cache=v2")
|
|
|
|
(needed-for-boot? #t)
|
|
|
|
(dependencies mapped-devices)))
|
2022-12-06 12:56:03 +00:00
|
|
|
%base-file-systems))
|
2022-12-02 02:34:44 +00:00
|
|
|
(swap-devices (list
|
2022-12-06 12:56:03 +00:00
|
|
|
(swap-space
|
|
|
|
(target (file-system-label "swap")))))
|
2022-11-23 20:18:02 +00:00
|
|
|
(users (append (list
|
2022-12-06 12:56:03 +00:00
|
|
|
(user-account
|
2022-12-02 02:34:44 +00:00
|
|
|
(name "cobra")
|
|
|
|
(comment "Skylar \"The Cobra\" Widulski")
|
|
|
|
(group "users")
|
|
|
|
(supplementary-groups '("audio" "cdrom" "kvm" "lp" "netdev" "tape" "video" "wheel"))))
|
2022-12-06 12:56:03 +00:00
|
|
|
%base-user-accounts))
|
2022-11-23 20:18:02 +00:00
|
|
|
(packages (append
|
2022-12-06 12:56:03 +00:00
|
|
|
(map specification->package
|
|
|
|
(list "nss-certs"
|
|
|
|
"tor"
|
2022-12-02 02:34:44 +00:00
|
|
|
"vim"
|
|
|
|
"screen"
|
|
|
|
"lynx"
|
|
|
|
"curl"
|
|
|
|
"wget"
|
|
|
|
"net-tools"
|
|
|
|
"sway"
|
|
|
|
"waybar"
|
|
|
|
"swaylock"
|
|
|
|
"openssh"
|
|
|
|
"i2pd"
|
|
|
|
"dbus"
|
|
|
|
"cryptsetup"
|
|
|
|
"libdvdcss"
|
|
|
|
"libdvdread"
|
|
|
|
"gcc-toolchain"
|
|
|
|
"gcc"
|
|
|
|
"librsvg"
|
2022-12-06 12:56:03 +00:00
|
|
|
"json-c"
|
|
|
|
"libnotify"
|
|
|
|
"kicad"
|
|
|
|
"kicad-templates"
|
|
|
|
"kicad-symbols"
|
|
|
|
"kicad-packages3d"
|
|
|
|
"kicad-footprints"
|
|
|
|
"kicad-doc"
|
|
|
|
"freecad"
|
|
|
|
"mako"))
|
2022-12-02 02:34:44 +00:00
|
|
|
(cons*
|
|
|
|
%base-packages)))
|
2022-11-23 20:18:02 +00:00
|
|
|
(timezone "America/New_York")
|
|
|
|
(locale "en_US.utf8")
|
|
|
|
(name-service-switch %mdns-host-lookup-nss)
|
|
|
|
(services
|
2022-12-06 12:56:03 +00:00
|
|
|
(cons*
|
|
|
|
(service openssh-service-type)
|
2022-11-23 20:18:02 +00:00
|
|
|
(service network-manager-service-type)
|
|
|
|
(service wpa-supplicant-service-type)
|
|
|
|
(service gpm-service-type)
|
|
|
|
(service ntp-service-type)
|
|
|
|
(service cups-service-type)
|
|
|
|
(service elogind-service-type)
|
2022-11-29 13:45:17 +00:00
|
|
|
(service dbus-root-service-type)
|
2022-11-23 20:18:02 +00:00
|
|
|
(screen-locker-service swaylock)
|
2022-12-02 02:34:44 +00:00
|
|
|
(service tor-service-type
|
2022-12-06 12:56:03 +00:00
|
|
|
(tor-configuration
|
|
|
|
(config-file (plain-file "tor-config"
|
|
|
|
"HTTPTunnelPort 127.0.0.1:9250"))))
|
|
|
|
%base-services))
|
|
|
|
(sudoers-file (local-file "sudoers")))
|