summaryrefslogtreecommitdiffstats
path: root/.config/guix
diff options
context:
space:
mode:
Diffstat (limited to '.config/guix')
-rw-r--r--.config/guix/channels.scm19
-rw-r--r--.config/guix/manifests/desktop.scm22
-rw-r--r--.config/guix/manifests/emacs.scm77
-rw-r--r--.config/guix/systems/base-system.scm115
-rw-r--r--.config/guix/systems/viking.scm27
5 files changed, 0 insertions, 260 deletions
diff --git a/.config/guix/channels.scm b/.config/guix/channels.scm
deleted file mode 100644
index ab15010..0000000
--- a/.config/guix/channels.scm
+++ /dev/null
@@ -1,19 +0,0 @@
1(list
2 (channel
3 (name 'guix)
4 (url "https://git.savannah.gnu.org/git/guix.git")
5 ;; (url "file:///home/daviwil/Projects/Code/guix"))
6 (introduction
7 (make-channel-introduction
8 "9edb3f66fd807b096b48283debdcddccfea34bad"
9 (openpgp-fingerprint
10 "BBB0 2DDF 2CEA F6A8 0D1D E643 A2A0 6DF2 A33A 54FA"))))
11 (channel
12 (name 'nonguix)
13 (url "https://gitlab.com/nonguix/nonguix")
14 ;; Enable signature verification:
15 (introduction
16 (make-channel-introduction
17 "897c1a470da759236cc11798f4e0a5f7d4d59fbc"
18 (openpgp-fingerprint
19 "2A39 3FFF 68F4 EF7A 3D29 12AF 6F51 20A0 22FB B2D5")))))
diff --git a/.config/guix/manifests/desktop.scm b/.config/guix/manifests/desktop.scm
deleted file mode 100644
index 17f7fef..0000000
--- a/.config/guix/manifests/desktop.scm
+++ /dev/null
@@ -1,22 +0,0 @@
1(specifications->manifest
2 '(
3
4 "flatpak"
5
6 "pulsemixer"
7
8 "blueman"
9
10 "xev"
11 "xset"
12 "xrdb"
13 "xhost"
14 "xmodmap"
15 "setxkbmap"
16 "xrandr"
17 "arandr"
18 "xss-lock"
19 "libinput"
20 "xinput"
21
22))
diff --git a/.config/guix/manifests/emacs.scm b/.config/guix/manifests/emacs.scm
deleted file mode 100644
index c6ff413..0000000
--- a/.config/guix/manifests/emacs.scm
+++ /dev/null
@@ -1,77 +0,0 @@
1(specifications->manifest
2 '("emacs"
3 ;;"emacs-native-comp"
4
5 "emacs-general"
6
7 "emacs-undo-tree"
8 "emacs-evil"
9 "emacs-evil-collection"
10
11 "emacs-diminish"
12 "emacs-doom-themes"
13 "font-hack"
14
15 "emacs-hl-todo"
16
17 "emacs-counsel"
18 "emacs-ivy"
19
20 "emacs-which-key"
21
22 "emacs-doom-modeline"
23
24 "emacs-hydra"
25
26 "emacs-beacon"
27
28 "emacs-org"
29
30 "emacs-evil-org"
31
32 "emacs-toc-org"
33
34 "emacs-visual-fill-column"
35
36 "emacs-org-superstar"
37
38 "emacs-org-roam"
39
40 "emacs-lsp-mode"
41 "emacs-lsp-ivy"
42
43 "emacs-pyvenv"
44 ;; "emacs-python-mode"
45
46 "emacs-typescript-mode"
47 "emacs-web-mode"
48 "emacs-tide"
49 "emacs-flycheck"
50
51 "emacs-yaml-mode"
52
53 "emacs-docker"
54
55 "emacs-company"
56
57 "emacs-projectile"
58
59 "emacs-neotree"
60
61 "emacs-magit"
62
63 "emacs-vterm"
64
65 ; "emacs-dired-single"
66 "emacs-dired-hacks"
67 "emacs-all-the-icons-dired"
68
69 "emacs-emms"
70
71 "emacs-pdf-tools"
72
73 "mu"
74
75 "emacs-elfeed"
76
77))
diff --git a/.config/guix/systems/base-system.scm b/.config/guix/systems/base-system.scm
deleted file mode 100644
index 7c67fad..0000000
--- a/.config/guix/systems/base-system.scm
+++ /dev/null
@@ -1,115 +0,0 @@
1(define-module (base-system)
2 #:use-module (gnu)
3 #:use-module (gnu services pm)
4 #:use-module (gnu services docker)
5 #:use-module (gnu services networking)
6 #:use-module (gnu services virtualization) ; todo make
7 #:use-module (gnu packages vim)
8 #:use-module (gnu services desktop)
9 #:use-module (gnu packages xorg)
10 #:use-module (gnu packages emacs)
11 #:use-module (gnu packages file-systems)
12 #:use-module (gnu packages linux)
13 #:use-module (gnu packages audio)
14 #:use-module (gnu packages pulseaudio)
15 #:use-module (gnu packages version-control)
16 #:use-module (gnu packages package-management))
17 ; #:use-module (nongnu packages linux)
18 ; #:use-module (nongnu system linux-initrd))
19
20(use-service-modules ssh)
21(use-package-modules certs)
22(use-service-modules desktop xorg)
23
24(define-public base-operating-system
25 (operating-system
26 (host-name "base")
27 (timezone "Europe/Warsaw")
28 (locale "en_US.utf8")
29 (keyboard-layout (keyboard-layout "pl"))
30
31 ;; Use non-free Linux and firmware
32 ;; (kernel linux)
33 ;; (firmware (list linux-firmware))
34 ;; (initrd microcode-initrd)
35
36 (bootloader (bootloader-configuration
37 (bootloader grub-efi-bootloader)
38 (targets "/boot/efi")))
39 ;; (keyboard-layout keyboard-layout)))
40
41 ;; Guix doesn't like it when there isn't a file-systems
42 ;; entry, so add one that is meant to be overridden
43 (file-systems (cons*
44 (file-system
45 (mount-point "/tmp")
46 (device "none")
47 (type "tmpfs")
48 (check? #f))
49 %base-file-systems))
50
51 ;; Users
52 (users (cons (user-account
53 (name "jakub")
54 (comment "Jakub Dlugosz")
55 (group "users")
56 (home-directory "/home/jakub")
57 (supplementary-groups '(
58 "wheel"
59 "netdev"
60 "kvm"
61 "tty"
62 "input"
63 "docker"
64 "lp"
65 "audio"
66 "video")))
67 %base-user-accounts))
68
69
70 ;; Packages
71 (packages (append (list
72 git
73 exfat-utils
74 fuse-exfat
75 stow
76 vim
77 emacs
78 bluez
79 bluez-alsa
80 pulseaudio
81 tlp
82 ncurses
83 xf86-input-libinput
84 nss-certs) ;; For https connection
85 %base-packages))
86
87
88 ;; Services
89 (services
90 (append
91 (list
92
93 (service elogind-service-type)
94 (service openssh-service-type)
95 (service network-manager-service-type)
96 (service slim-service-type)
97 (service tlp-service-type
98 (tlp-configuration
99 (cpu-boost-on-ac? #t)
100 (wifi-pwr-on-bat? #t)))
101 (bluetooth-service #:auto-enable? #t)
102 (service docker-service-type)
103 (service wpa-supplicant-service-type))
104 (service libvirt-service-type
105 (libvirt-configuration
106 (unix-sock-group "libvirt")
107 (tls-port "16555")))
108 (set-xorg-configuration
109 (xorg-configuration
110 (keyboard-layout keyboard-layout)))
111
112 %base-services))
113
114 ;; Allow resolution of '.local' host names with mDNS
115 (name-service-switch %mdns-host-lookup-nss)))
diff --git a/.config/guix/systems/viking.scm b/.config/guix/systems/viking.scm
deleted file mode 100644
index 00b279e..0000000
--- a/.config/guix/systems/viking.scm
+++ /dev/null
@@ -1,27 +0,0 @@
1(define-module (viking)
2 #:use-module (base-system)
3 #:use-module (gnu))
4
5(operating-system
6 (inherit base-operating-system)
7 (host-name "viking")
8
9 (bootloader
10 (bootloader-configuration
11 (bootloader grub-bootloader)
12 (target "/dev/sda")))
13
14 (mapped-devices
15 (list (mapped-device
16 (source
17 (uuid "75a1ebd7-13c2-442f-80ff-1b5e59522e29"))
18 (target "cryptroot")
19 (type luks-device-mapping))))
20
21 (file-systems
22 (cons* (file-system
23 (mount-point "/")
24 (device "/dev/mapper/cryptroot")
25 (type "ext4")
26 (dependencies mapped-devices))
27 %base-file-systems)))