Skip to content

Instantly share code, notes, and snippets.

@TinHead
Created June 11, 2023 08:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save TinHead/a40ba384cdecd616f97b5993b8a53150 to your computer and use it in GitHub Desktop.
Save TinHead/a40ba384cdecd616f97b5993b8a53150 to your computer and use it in GitHub Desktop.
;; 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)
(gnu packages shells)
(gnu packages wm)
(gnu packages video)
(gnu packages terminals)
(gnu packages xdisorg)
(gnu packages certs)
(gnu packages version-control)
(srfi srfi-1)
(gnu services desktop)
(nongnu packages linux))
(use-service-modules cups desktop networking ssh xorg pm dbus sound)
(operating-system
(kernel linux)
(firmware (list linux-firmware))
(locale "en_US.utf8")
(timezone "Europe/Bucharest")
(keyboard-layout (keyboard-layout "us"))
(host-name "razer")
;; The list of user accounts ('root' is implicit).
(users (cons* (user-account
(name "razvan")
(comment "Razvan")
(group "users")
(shell (file-append fish "/bin/fish"))
(home-directory "/home/razvan")
(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
nss-certs
sway
swaybg
swayidle
swaylock
bemenu
git
alacritty)
%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 dbus-root-service-type)
;;(service polkit-service-type)
;(service elogind-service-type)
;(service pulseaudio-service-type)
(service openssh-service-type)
; (service network-manager-service-type)
; (service wpa-supplicant-service-type)
;(service ntp-service-type)
(service cups-service-type)
(service tlp-service-type
(tlp-configuration
(cpu-scaling-governor-on-ac (list "performance"))
(sched-powersave-on-bat? #t))))
;; This is the default list of services we
;; are appending to.
%desktop-services)
;(remove (lambda (service)
; (eq? (service-kind service) gdm-service-type))
; %desktop-services)
)
(bootloader (bootloader-configuration
(bootloader grub-efi-bootloader)
(targets (list "/boot/efi"))
(keyboard-layout keyboard-layout)))
;; 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 "/home")
(device (uuid
"bab4b3f8-6115-4e2d-be9b-f632e06d043d"
'btrfs))
(type "btrfs"))
(file-system
(mount-point "/")
(device (uuid
"f615c218-7f9c-43b1-aad2-984de0276dc0"
'btrfs))
(type "btrfs"))
(file-system
(mount-point "/boot/efi")
(device (uuid "0C80-546A"
'fat16))
(type "vfat")) %base-file-systems)))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment