summaryrefslogtreecommitdiffstats
path: root/.config
diff options
context:
space:
mode:
Diffstat (limited to '.config')
-rw-r--r--.config/emacs/exwm/Xmodmap2
-rw-r--r--.config/guix/machines/base.scm27
-rw-r--r--.config/guix/systems/base-system.scm (renamed from .config/guix/machines/base-system.scm)24
-rw-r--r--.config/guix/systems/viking.scm (renamed from .config/guix/machines/viking.scm)4
4 files changed, 18 insertions, 39 deletions
diff --git a/.config/emacs/exwm/Xmodmap b/.config/emacs/exwm/Xmodmap
deleted file mode 100644
index cb4706f..0000000
--- a/.config/emacs/exwm/Xmodmap
+++ /dev/null
@@ -1,2 +0,0 @@
1clear lock
2keycode 0x42 = Escape
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/base-system.scm b/.config/guix/systems/base-system.scm
index a294aca..7c67fad 100644
--- a/.config/guix/machines/base-system.scm
+++ b/.config/guix/systems/base-system.scm
@@ -1,21 +1,17 @@
1(define-module (base-system) 1(define-module (base-system)
2 #:use-module (gnu) 2 #:use-module (gnu)
3 #:use-module (gnu system nss)
4 #:use-module (gnu services pm) 3 #:use-module (gnu services pm)
5 #:use-module (gnu services desktop)
6 #:use-module (gnu services docker) 4 #:use-module (gnu services docker)
7 #:use-module (gnu services networking) 5 #:use-module (gnu services networking)
8 #:use-module (gnu services virtualization) 6 #:use-module (gnu services virtualization) ; todo make
9 #:use-module (gnu packages wm)
10 #:use-module (gnu packages vim) 7 #:use-module (gnu packages vim)
11 #:use-module (gnu packages gtk) 8 #:use-module (gnu services desktop)
12 #:use-module (gnu packages xorg) 9 #:use-module (gnu packages xorg)
13 #:use-module (gnu packages emacs) 10 #:use-module (gnu packages emacs)
14 #:use-module (gnu packages file-systems) 11 #:use-module (gnu packages file-systems)
15 #:use-module (gnu packages linux) 12 #:use-module (gnu packages linux)
16 #:use-module (gnu packages audio) 13 #:use-module (gnu packages audio)
17 #:use-module (gnu packages pulseaudio) 14 #:use-module (gnu packages pulseaudio)
18 #:use-module (gnu packages web-browsers)
19 #:use-module (gnu packages version-control) 15 #:use-module (gnu packages version-control)
20 #:use-module (gnu packages package-management)) 16 #:use-module (gnu packages package-management))
21 ; #:use-module (nongnu packages linux) 17 ; #:use-module (nongnu packages linux)
@@ -30,6 +26,7 @@
30 (host-name "base") 26 (host-name "base")
31 (timezone "Europe/Warsaw") 27 (timezone "Europe/Warsaw")
32 (locale "en_US.utf8") 28 (locale "en_US.utf8")
29 (keyboard-layout (keyboard-layout "pl"))
33 30
34 ;; Use non-free Linux and firmware 31 ;; Use non-free Linux and firmware
35 ;; (kernel linux) 32 ;; (kernel linux)
@@ -82,6 +79,7 @@
82 bluez-alsa 79 bluez-alsa
83 pulseaudio 80 pulseaudio
84 tlp 81 tlp
82 ncurses
85 xf86-input-libinput 83 xf86-input-libinput
86 nss-certs) ;; For https connection 84 nss-certs) ;; For https connection
87 %base-packages)) 85 %base-packages))
@@ -91,14 +89,26 @@
91 (services 89 (services
92 (append 90 (append
93 (list 91 (list
92
94 (service elogind-service-type) 93 (service elogind-service-type)
95 (service openssh-service-type) 94 (service openssh-service-type)
96 (service network-manager-service-type) 95 (service network-manager-service-type)
97 (service slim-service-type) 96 (service slim-service-type)
98 (service tlp-service-type) 97 (service tlp-service-type
98 (tlp-configuration
99 (cpu-boost-on-ac? #t)
100 (wifi-pwr-on-bat? #t)))
99 (bluetooth-service #:auto-enable? #t) 101 (bluetooth-service #:auto-enable? #t)
100 (service docker-service-type) 102 (service docker-service-type)
101 (service wpa-supplicant-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
102 %base-services)) 112 %base-services))
103 113
104 ;; Allow resolution of '.local' host names with mDNS 114 ;; Allow resolution of '.local' host names with mDNS
diff --git a/.config/guix/machines/viking.scm b/.config/guix/systems/viking.scm
index 0e1d4a9..00b279e 100644
--- a/.config/guix/machines/viking.scm
+++ b/.config/guix/systems/viking.scm
@@ -1,13 +1,11 @@
1(define-module (viking) 1(define-module (viking)
2 #:use-module (base-system) 2 #:use-module (base-system)
3 #:use-module (gnu)) 3 #:use-module (gnu))
4(use-modules (base-system)) 4
5(operating-system 5(operating-system
6 (inherit base-operating-system) 6 (inherit base-operating-system)
7 (host-name "viking") 7 (host-name "viking")
8 8
9 (keyboard-layout (keyboard-layout "pl"))
10
11 (bootloader 9 (bootloader
12 (bootloader-configuration 10 (bootloader-configuration
13 (bootloader grub-bootloader) 11 (bootloader grub-bootloader)