diff --git a/x1carbon/home.scm b/x1carbon/home.scm new file mode 100644 index 0000000..40e481c --- /dev/null +++ b/x1carbon/home.scm @@ -0,0 +1,54 @@ +;; This "home-environment" file can be passed to 'guix home reconfigure' +;; to reproduce the content of your profile. This is "symbolic": it only +;; specifies package names. To reproduce the exact same profile, you also +;; need to capture the channels being used, as returned by "guix describe". +;; See the "Replicating Guix" section in the manual. + +(use-modules (gnu home) + (gnu packages) + (gnu services) + (guix gexp) + (gnu home services shells) + (gnu home services sound) + (gnu home services desktop)) + +;; (use-service-modules sound) + +(home-environment + ;; Below is the list of packages that will show up in your + ;; Home profile, under ~/.guix-home/profile. + (packages (specifications->packages (list "gnome-shell-extensions" + "wireplumber" + "pipewire" + "vlc" + "signal-desktop" + "binutils" + "elfutils" + "patchelf" + "file" + "gnome-weather" + "gnome-tweaks" + "gnome-shell-extension-just-perfection" + "gnome-shell-extension-vitals" + "gnome-shell-extension-weather-oclock" + "emacs-no-x" + "gsettings-desktop-schemas" + "python" + "starship"))) + + ;; Below is the list of Home services. To search for available + ;; services, run 'guix home search KEYWORD' in a terminal. + (services + (append (list (service home-bash-service-type + (home-bash-configuration + (aliases '()) + (bashrc (list (local-file + "/home/bartronx7/src/guix-config/.bashrc" + "bashrc"))) + (bash-profile (list (local-file + "/home/bartronx7/src/guix-config/.bash_profile" + "bash_profile"))))) + (service home-dbus-service-type) + (service home-pipewire-service-type (home-pipewire-configuration)) + (service home-zsh-service-type (home-zsh-configuration))) + %base-home-services))) diff --git a/x1carbon/system.scm b/x1carbon/system.scm index bce5a08..c8428fb 100644 --- a/x1carbon/system.scm +++ b/x1carbon/system.scm @@ -9,8 +9,8 @@ ;; Indicate which modules to import to access the variables ;; used in this configuration. -(use-modules (gnu) (nongnu packages linux)) -(use-service-modules cups desktop networking ssh xorg) +(use-modules (gnu home services sound) (nongnu packages linux)) +(use-service-modules cups desktop networking ssh xorg sound) (use-package-modules shells) (operating-system @@ -20,8 +20,6 @@ (timezone "America/Chicago") (keyboard-layout (keyboard-layout "us")) (host-name "x1carbon") - - (swap-devices (list (swap-space (target "/swapfile")))) ;; The list of user accounts ('root' is implicit). (users @@ -53,21 +51,27 @@ (supplementary-groups '("wheel" "netdev" "audio" "video"))) %base-user-accounts)) - ;; Packages installed system-wide. Users can also install packages + ;; 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 (map specification->package (list - "dmenu" - "st" + "curl" + "dmenu" "firefox" - "libreoffice" "git" - "curl" + "gnome-shell-extensions" + "gnome-shell-extensions-weather-oclock" + "gnome-shell-extensions-vitals" + "libreoffice" + "pipewire" "rust" - "zsh" - "unzip")) + "st" + "unzip" + "vlc" + "wireplumber" + "zsh")) %base-packages)) ;; Below is the list of system services. To search for available @@ -76,17 +80,19 @@ (append %desktop-services (list - (service gnome-desktop-service-type) - (service bluetooth-service-type - (bluetooth-configuration - (fast-connectable? #t) - (auto-enable? #t))) - (service openssh-service-type) - (service tor-service-type) - (service cups-service-type - (cups-configuration - (web-interface? #t))) - (set-xorg-configuration (xorg-configuration (keyboard-layout keyboard-layout)))))) + (service gnome-desktop-service-type) + (service home-pipewire-service-type) + (service home-wireplumber-service-type) + (service bluetooth-service-type + (bluetooth-configuration + (fast-connectable? #t) + (auto-enable? #t))) + (service openssh-service-type) + (service tor-service-type) + (service cups-service-type + (cups-configuration + (web-interface? #t))) + (set-xorg-configuration (xorg-configuration (keyboard-layout keyboard-layout)))))) (bootloader (bootloader-configuration @@ -100,6 +106,9 @@ (source (uuid "7806a618-e7c1-4881-be00-16041bfd418f")) (target "home") (type luks-device-mapping)))) + + (swap-devices (list + (swap-space (target (uuid "3d8108a1-31f6-4578-ac55-61d036de767d"))))) ;; The list of file systems that get "mounted". The unique ;; file system identifiers there ("UUIDs") can be obtained