summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rw-r--r--channels.scm16
-rw-r--r--system.scm89
3 files changed, 106 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..5b9023a
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
current
diff --git a/channels.scm b/channels.scm
new file mode 100644
index 0000000..ac4862b
--- /dev/null
+++ b/channels.scm
@@ -0,0 +1,16 @@
1(list (channel
2 (name 'guix)
3 (url "https://git.savannah.gnu.org/git/guix.git")
4 (introduction
5 (make-channel-introduction
6 "9edb3f66fd807b096b48283debdcddccfea34bad"
7 (openpgp-fingerprint
8 "BBB0 2DDF 2CEA F6A8 0D1D E643 A2A0 6DF2 A33A 54FA"))))
9 (channel
10 (name 'nonguix)
11 (url "https://gitlab.com/nonguix/nonguix")
12 (introduction
13 (make-channel-introduction
14 "897c1a470da759236cc11798f4e0a5f7d4d59fbc"
15 (openpgp-fingerprint
16 "2A39 3FFF 68F4 EF7A 3D29 12AF 6F51 20A0 22FB B2D5")))))
diff --git a/system.scm b/system.scm
new file mode 100644
index 0000000..ec5b505
--- /dev/null
+++ b/system.scm
@@ -0,0 +1,89 @@
1;; This is an operating system configuration generated
2;; by the graphical installer.
3;;
4;; Once installation is complete, you can learn and modify
5;; this file to tweak the system configuration, and pass it
6;; to the 'guix system reconfigure' command to effect your
7;; changes.
8
9
10;; Indicate which modules to import to access the variables
11;; used in this configuration.
12(use-modules (gnu) (gnu packages admin) (gnu system setuid) (gnu packages shells) (nongnu packages linux))
13(use-service-modules cups desktop linux networking pm ssh xorg)
14
15(operating-system
16 (kernel linux)
17 (firmware (list linux-firmware))
18 (locale "en_US.utf8")
19 (timezone "America/Toronto")
20 (keyboard-layout (keyboard-layout "us" "workman"))
21 (host-name "lappy")
22
23 ;; The list of user accounts ('root' is implicit).
24 (users (cons* (user-account
25 (name "vin")
26 (comment "Vineet")
27 (group "users")
28 (home-directory "/home/vin")
29 (supplementary-groups '("wheel" "netdev" "audio" "video"))
30 (shell (file-append zsh "/bin/zsh")))
31 %base-user-accounts))
32
33 ;; Packages installed system-wide. Users can also install packages
34 ;; under their own account: use 'guix search KEYWORD' to search
35 ;; for packages and 'guix install PACKAGE' to install a package.
36 (packages (append (list (specification->package "opendoas")
37 (specification->package "tlp"))
38 %base-packages))
39
40 ;; Below is the list of system services. To search for available
41 ;; services, run 'guix system search KEYWORD' in a terminal.
42 (services
43 (append (list
44 (service kernel-module-loader-service-type '("msr"))
45
46 ;; To configure OpenSSH, pass an 'openssh-configuration'
47 ;; record as a second argument to 'service' below.
48 (service openssh-service-type)
49 (service elogind-service-type)
50 ;(service tor-service-type)
51 ;(service dhcp-client-service-type)
52 (service wpa-supplicant-service-type)
53 (service network-manager-service-type)
54 (service tlp-service-type)
55 (service ntp-service-type))
56 ;(service cups-service-type))
57
58 ;; This is the default list of services we
59 ;; are appending to.
60 %base-services))
61 (bootloader (bootloader-configuration
62 (bootloader grub-efi-bootloader)
63 (targets (list "/boot/efi"))
64 (keyboard-layout keyboard-layout)))
65 (mapped-devices (list (mapped-device
66 (source (uuid
67 "11e5f6fe-38ff-4874-9030-fdd535269f62"))
68 (target "cryptroot")
69 (type luks-device-mapping))))
70
71 ;; setuid programs
72 (setuid-programs
73 (append (list (setuid-program
74 (program (file-append opendoas "/bin/doas"))))
75 %setuid-programs))
76
77 ;; The list of file systems that get "mounted". The unique
78 ;; file system identifiers there ("UUIDs") can be obtained
79 ;; by running 'blkid' in a terminal.
80 (file-systems (cons* (file-system
81 (mount-point "/")
82 (device "/dev/mapper/cryptroot")
83 (type "btrfs")
84 (dependencies mapped-devices))
85 (file-system
86 (mount-point "/boot/efi")
87 (device (uuid "73C9-F112"
88 'fat32))
89 (type "vfat")) %base-file-systems)))