diff options
| author | Ryan Schanzenbacher <ryan@rschanz.org> | 2026-04-26 10:55:48 -0400 |
|---|---|---|
| committer | Ryan Schanzenbacher <ryan@rschanz.org> | 2026-04-26 10:55:48 -0400 |
| commit | 7a693ddea38bee1a7a2049d83fa2231eb876fbd1 (patch) | |
| tree | 6e1f2936e7f34237e2aebbd01e79b58760bbd73d /modules/ryan-config | |
| parent | a68eca169b8b165571a257d640ab772d81cf263f (diff) | |
Diffstat (limited to 'modules/ryan-config')
| -rw-r--r-- | modules/ryan-config/base-system.scm | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/modules/ryan-config/base-system.scm b/modules/ryan-config/base-system.scm index e1cf87b..5868ff9 100644 --- a/modules/ryan-config/base-system.scm +++ b/modules/ryan-config/base-system.scm | |||
| @@ -18,6 +18,7 @@ | |||
| 18 | #:use-module (ryan-packages wm) | 18 | #:use-module (ryan-packages wm) |
| 19 | #:use-module (ryan-packages virtualization) | 19 | #:use-module (ryan-packages virtualization) |
| 20 | #:use-module (ryan-packages linux) | 20 | #:use-module (ryan-packages linux) |
| 21 | #:use-module (ryan-packages login) | ||
| 21 | #:use-module (ryan-packages networking) | 22 | #:use-module (ryan-packages networking) |
| 22 | #:use-module (ryan-packages package-management) | 23 | #:use-module (ryan-packages package-management) |
| 23 | #:use-module (rosenthal services networking) | 24 | #:use-module (rosenthal services networking) |
| @@ -205,6 +206,36 @@ | |||
| 205 | (list | 206 | (list |
| 206 | (pam-entry (control "include") | 207 | (pam-entry (control "include") |
| 207 | (module "login"))))))) | 208 | (module "login"))))))) |
| 209 | (simple-service 'ly-pam pam-root-service-type | ||
| 210 | (list | ||
| 211 | (pam-service | ||
| 212 | (name "ly") | ||
| 213 | (account | ||
| 214 | (list | ||
| 215 | (pam-entry (control "required") | ||
| 216 | (module "pam_unix.so")))) | ||
| 217 | (auth | ||
| 218 | (list | ||
| 219 | (pam-entry (control "required") | ||
| 220 | (module "pam_unix.so")))) | ||
| 221 | (password | ||
| 222 | (list | ||
| 223 | (pam-entry (control "required") | ||
| 224 | (module "pam_unix.so") | ||
| 225 | (arguments (list "sha512" "shadow"))))) | ||
| 226 | (session | ||
| 227 | (list | ||
| 228 | (pam-entry (control "required") | ||
| 229 | (module "/gnu/store/4lhhf88iz9pdr624z5hnq2avlk1ny4ga-elogind-255.17/lib/security/pam_elogind.so") | ||
| 230 | (arguments (list "debug=yes"))) | ||
| 231 | (pam-entry (control "required") | ||
| 232 | (module "pam_env.so")) | ||
| 233 | (pam-entry (control "required") | ||
| 234 | (module "pam_unix.so"))))))) | ||
| 235 | (service mingetty-service-type | ||
| 236 | (mingetty-configuration | ||
| 237 | (tty "tty7") | ||
| 238 | (login-program #~(string-append #$ly "/bin/ly")))) | ||
| 208 | (service libvirt-service-type | 239 | (service libvirt-service-type |
| 209 | (libvirt-configuration | 240 | (libvirt-configuration |
| 210 | (libvirt libvirt-ovmf) | 241 | (libvirt libvirt-ovmf) |
| @@ -217,6 +248,7 @@ | |||
| 217 | ; (using-pam? #t))) | 248 | ; (using-pam? #t))) |
| 218 | (simple-service 'spice-polkit polkit-service-type (list spice-gtk)) | 249 | (simple-service 'spice-polkit polkit-service-type (list spice-gtk)) |
| 219 | (simple-service 'hwdb-creation etc-service-type (list `("udev-here-oneoneone" ,(plain-file "issue" "test\n")))) | 250 | (simple-service 'hwdb-creation etc-service-type (list `("udev-here-oneoneone" ,(plain-file "issue" "test\n")))) |
| 251 | (simple-service 'ly-config etc-service-type (list `("ly/config.ini" , (local-file "/home/ryan/lyconfig.ini")))) | ||
| 220 | (service bluetooth-service-type | 252 | (service bluetooth-service-type |
| 221 | (bluetooth-configuration | 253 | (bluetooth-configuration |
| 222 | (bluez bluez-ryan) | 254 | (bluez bluez-ryan) |
