import guix configurations
This commit is contained in:
93
config.scm
Normal file
93
config.scm
Normal file
@@ -0,0 +1,93 @@
|
||||
;; This is an operating system configuration generated
|
||||
;; by the graphical installer.
|
||||
;;
|
||||
;; Once installation is complete, you can learn and modify
|
||||
;; this file to tweak the system configuration, and pass it
|
||||
;; to the 'guix system reconfigure' command to effect your
|
||||
;; changes.
|
||||
|
||||
|
||||
;; Indicate which modules to import to access the variables
|
||||
;; used in this configuration.
|
||||
(use-modules (gnu))
|
||||
(use-package-modules emacs
|
||||
emacs-xyz
|
||||
gnuzilla
|
||||
rust-apps
|
||||
version-control
|
||||
vim)
|
||||
(use-service-modules cups desktop networking ssh xorg)
|
||||
|
||||
(operating-system
|
||||
(locale "en_US.utf8")
|
||||
(timezone "Europe/Berlin")
|
||||
(keyboard-layout (keyboard-layout "de"))
|
||||
(host-name "ashram")
|
||||
|
||||
;; The list of user accounts ('root' is implicit).
|
||||
(users (cons* (user-account
|
||||
(name "muni")
|
||||
(comment "muni")
|
||||
(group "users")
|
||||
(home-directory "/home/muni")
|
||||
(supplementary-groups '("wheel" "netdev" "audio" "video")))
|
||||
%base-user-accounts))
|
||||
|
||||
;; Packages installed system-wide. Users can also install packages
|
||||
;; under their own account: use 'guix search KEYWORD' to search
|
||||
;; for packages and 'guix install PACKAGE' to install a package.
|
||||
(packages
|
||||
(append (list (specification->package "icewm")
|
||||
icecat
|
||||
emacs emacs-geiser emacs-geiser-guile
|
||||
git
|
||||
ripgrep
|
||||
fd
|
||||
vim)
|
||||
%base-packages))
|
||||
|
||||
;; Below is the list of system services. To search for available
|
||||
;; services, run 'guix system search KEYWORD' in a terminal.
|
||||
(services
|
||||
(append (list
|
||||
|
||||
;; To configure OpenSSH, pass an 'openssh-configuration'
|
||||
;; record as a second argument to 'service' below.
|
||||
(service openssh-service-type)
|
||||
(service tor-service-type)
|
||||
(service enlightenment-desktop-service-type)
|
||||
(service gnome-desktop-service-type)
|
||||
(set-xorg-configuration
|
||||
(xorg-configuration (keyboard-layout keyboard-layout))))
|
||||
|
||||
;; This is the default list of services we
|
||||
;; are appending to.
|
||||
%desktop-services))
|
||||
(bootloader (bootloader-configuration
|
||||
(bootloader grub-bootloader)
|
||||
(targets (list "/dev/sda"))
|
||||
(keyboard-layout keyboard-layout)))
|
||||
(swap-devices (list (swap-space
|
||||
(target (uuid
|
||||
"e925b220-066c-45ea-9b8c-4cb6141dc6a3")))))
|
||||
|
||||
;; The list of file systems that get "mounted". The unique
|
||||
;; file system identifiers there ("UUIDs") can be obtained
|
||||
;; by running 'blkid' in a terminal.
|
||||
(file-systems (cons* (file-system
|
||||
(mount-point "/boot/efi")
|
||||
(device (uuid "8066-63C2"
|
||||
'fat32))
|
||||
(type "vfat"))
|
||||
(file-system
|
||||
(mount-point "/")
|
||||
(device (uuid
|
||||
"f84f19c8-23f4-4c4a-b9cc-bc8cde2704a5"
|
||||
'ext4))
|
||||
(type "ext4"))
|
||||
(file-system
|
||||
(mount-point "/home")
|
||||
(device (uuid
|
||||
"3b69b95f-05db-47ed-b8b4-f1649ce8f6d8"
|
||||
'ext4))
|
||||
(type "ext4")) %base-file-systems)))
|
||||
31
guix-home-config.scm
Normal file
31
guix-home-config.scm
Normal file
@@ -0,0 +1,31 @@
|
||||
;; This is a sample Guix Home configuration which can help setup your
|
||||
;; home directory in the same declarative manner as Guix System.
|
||||
;; For more information, see the Home Configuration section of the manual.
|
||||
(define-module (guix-home-config)
|
||||
#:use-module (gnu home)
|
||||
#:use-module (gnu home services)
|
||||
#:use-module (gnu home services shells)
|
||||
#:use-module (gnu services)
|
||||
#:use-module (gnu system shadow))
|
||||
|
||||
(define home-config
|
||||
(home-environment
|
||||
(services
|
||||
(append
|
||||
(list
|
||||
;; Uncomment the shell you wish to use for your user:
|
||||
;(service home-bash-service-type)
|
||||
;(service home-fish-service-type)
|
||||
;(service home-zsh-service-type)
|
||||
|
||||
(service home-files-service-type
|
||||
`((".guile" ,%default-dotguile)
|
||||
(".Xdefaults" ,%default-xdefaults)))
|
||||
|
||||
(service home-xdg-configuration-files-service-type
|
||||
`(("gdb/gdbinit" ,%default-gdbinit)
|
||||
("nano/nanorc" ,%default-nanorc))))
|
||||
|
||||
%base-home-services))))
|
||||
|
||||
home-config
|
||||
Reference in New Issue
Block a user