diff options
author | jdlugosz963 <jdlugosz963@gmail.com> | 2022-10-04 18:40:31 +0200 |
---|---|---|
committer | jdlugosz963 <jdlugosz963@gmail.com> | 2022-10-04 18:40:31 +0200 |
commit | d4e4f1d4eaddee3c60a5bd963d82c1dcc0083ef5 (patch) | |
tree | ca69c6c998777743f8eb10c6f7a24879005876ff /.config/guix/machines | |
parent | 4e5222fdb85c0f77bcdfba2866e815cc6afe66da (diff) | |
download | dotfiles-d4e4f1d4eaddee3c60a5bd963d82c1dcc0083ef5.tar.gz dotfiles-d4e4f1d4eaddee3c60a5bd963d82c1dcc0083ef5.zip |
Clear dotfiles tree
Diffstat (limited to '.config/guix/machines')
-rw-r--r-- | .config/guix/machines/base-system.scm | 105 | ||||
-rw-r--r-- | .config/guix/machines/base.scm | 27 | ||||
-rw-r--r-- | .config/guix/machines/viking.scm | 29 |
3 files changed, 0 insertions, 161 deletions
diff --git a/.config/guix/machines/base-system.scm b/.config/guix/machines/base-system.scm deleted file mode 100644 index a294aca..0000000 --- a/.config/guix/machines/base-system.scm +++ /dev/null | |||
@@ -1,105 +0,0 @@ | |||
1 | (define-module (base-system) | ||
2 | #:use-module (gnu) | ||
3 | #:use-module (gnu system nss) | ||
4 | #:use-module (gnu services pm) | ||
5 | #:use-module (gnu services desktop) | ||
6 | #:use-module (gnu services docker) | ||
7 | #:use-module (gnu services networking) | ||
8 | #:use-module (gnu services virtualization) | ||
9 | #:use-module (gnu packages wm) | ||
10 | #:use-module (gnu packages vim) | ||
11 | #:use-module (gnu packages gtk) | ||
12 | #:use-module (gnu packages xorg) | ||
13 | #:use-module (gnu packages emacs) | ||
14 | #:use-module (gnu packages file-systems) | ||
15 | #:use-module (gnu packages linux) | ||
16 | #:use-module (gnu packages audio) | ||
17 | #:use-module (gnu packages pulseaudio) | ||
18 | #:use-module (gnu packages web-browsers) | ||
19 | #:use-module (gnu packages version-control) | ||
20 | #:use-module (gnu packages package-management)) | ||
21 | ; #:use-module (nongnu packages linux) | ||
22 | ; #:use-module (nongnu system linux-initrd)) | ||
23 | |||
24 | (use-service-modules ssh) | ||
25 | (use-package-modules certs) | ||
26 | (use-service-modules desktop xorg) | ||
27 | |||
28 | (define-public base-operating-system | ||
29 | (operating-system | ||
30 | (host-name "base") | ||
31 | (timezone "Europe/Warsaw") | ||
32 | (locale "en_US.utf8") | ||
33 | |||
34 | ;; Use non-free Linux and firmware | ||
35 | ;; (kernel linux) | ||
36 | ;; (firmware (list linux-firmware)) | ||
37 | ;; (initrd microcode-initrd) | ||
38 | |||
39 | (bootloader (bootloader-configuration | ||
40 | (bootloader grub-efi-bootloader) | ||
41 | (targets "/boot/efi"))) | ||
42 | ;; (keyboard-layout keyboard-layout))) | ||
43 | |||
44 | ;; Guix doesn't like it when there isn't a file-systems | ||
45 | ;; entry, so add one that is meant to be overridden | ||
46 | (file-systems (cons* | ||
47 | (file-system | ||
48 | (mount-point "/tmp") | ||
49 | (device "none") | ||
50 | (type "tmpfs") | ||
51 | (check? #f)) | ||
52 | %base-file-systems)) | ||
53 | |||
54 | ;; Users | ||
55 | (users (cons (user-account | ||
56 | (name "jakub") | ||
57 | (comment "Jakub Dlugosz") | ||
58 | (group "users") | ||
59 | (home-directory "/home/jakub") | ||
60 | (supplementary-groups '( | ||
61 | "wheel" | ||
62 | "netdev" | ||
63 | "kvm" | ||
64 | "tty" | ||
65 | "input" | ||
66 | "docker" | ||
67 | "lp" | ||
68 | "audio" | ||
69 | "video"))) | ||
70 | %base-user-accounts)) | ||
71 | |||
72 | |||
73 | ;; Packages | ||
74 | (packages (append (list | ||
75 | git | ||
76 | exfat-utils | ||
77 | fuse-exfat | ||
78 | stow | ||
79 | vim | ||
80 | emacs | ||
81 | bluez | ||
82 | bluez-alsa | ||
83 | pulseaudio | ||
84 | tlp | ||
85 | xf86-input-libinput | ||
86 | nss-certs) ;; For https connection | ||
87 | %base-packages)) | ||
88 | |||
89 | |||
90 | ;; Services | ||
91 | (services | ||
92 | (append | ||
93 | (list | ||
94 | (service elogind-service-type) | ||
95 | (service openssh-service-type) | ||
96 | (service network-manager-service-type) | ||
97 | (service slim-service-type) | ||
98 | (service tlp-service-type) | ||
99 | (bluetooth-service #:auto-enable? #t) | ||
100 | (service docker-service-type) | ||
101 | (service wpa-supplicant-service-type)) | ||
102 | %base-services)) | ||
103 | |||
104 | ;; Allow resolution of '.local' host names with mDNS | ||
105 | (name-service-switch %mdns-host-lookup-nss))) | ||
diff --git a/.config/guix/machines/base.scm b/.config/guix/machines/base.scm deleted file mode 100644 index 20c49f4..0000000 --- a/.config/guix/machines/base.scm +++ /dev/null | |||
@@ -1,27 +0,0 @@ | |||
1 | (define-module (base) | ||
2 | #:use-module (gnu) | ||
3 | #:use-module (gnu system nss) | ||
4 | #:use-module (gnu services pm) | ||
5 | #:use-module (gnu services desktop) | ||
6 | #:use-module (gnu services docker) | ||
7 | #:use-module (gnu services networking) | ||
8 | #:use-module (gnu services virtualization) | ||
9 | #:use-module (gnu packages wm) | ||
10 | #:use-module (gnu packages vim) | ||
11 | #:use-module (gnu packages gtk) | ||
12 | #:use-module (gnu packages xorg) | ||
13 | #:use-module (gnu packages emacs) | ||
14 | #:use-module (gnu packages file-systems) | ||
15 | #:use-module (gnu packages linux) | ||
16 | #:use-module (gnu packages audio) | ||
17 | #:use-module (gnu packages pulseaudio) | ||
18 | #:use-module (gnu packages web-browsers) | ||
19 | #:use-module (gnu packages version-control) | ||
20 | #:use-module (gnu packages package-management) | ||
21 | #:use-module (nongnu packages linux) | ||
22 | #:use-module (nongnu system linux-initrd)) | ||
23 | |||
24 | |||
25 | (use-service-modules desktop xorg) | ||
26 | (use-package-modules certs) | ||
27 | (use-package-modules shells) | ||
diff --git a/.config/guix/machines/viking.scm b/.config/guix/machines/viking.scm deleted file mode 100644 index 0e1d4a9..0000000 --- a/.config/guix/machines/viking.scm +++ /dev/null | |||
@@ -1,29 +0,0 @@ | |||
1 | (define-module (viking) | ||
2 | #:use-module (base-system) | ||
3 | #:use-module (gnu)) | ||
4 | (use-modules (base-system)) | ||
5 | (operating-system | ||
6 | (inherit base-operating-system) | ||
7 | (host-name "viking") | ||
8 | |||
9 | (keyboard-layout (keyboard-layout "pl")) | ||
10 | |||
11 | (bootloader | ||
12 | (bootloader-configuration | ||
13 | (bootloader grub-bootloader) | ||
14 | (target "/dev/sda"))) | ||
15 | |||
16 | (mapped-devices | ||
17 | (list (mapped-device | ||
18 | (source | ||
19 | (uuid "75a1ebd7-13c2-442f-80ff-1b5e59522e29")) | ||
20 | (target "cryptroot") | ||
21 | (type luks-device-mapping)))) | ||
22 | |||
23 | (file-systems | ||
24 | (cons* (file-system | ||
25 | (mount-point "/") | ||
26 | (device "/dev/mapper/cryptroot") | ||
27 | (type "ext4") | ||
28 | (dependencies mapped-devices)) | ||
29 | %base-file-systems))) | ||