diff --git a/.config/linux/system/module/Gnome.nix b/.config/linux/system/module/Gnome.nix index 8f4db0f..290f270 100644 --- a/.config/linux/system/module/Gnome.nix +++ b/.config/linux/system/module/Gnome.nix @@ -53,6 +53,8 @@ in { }; # Auto-load config on start. + environment.systemPackages = with pkgs; [ dconf ]; + systemd.user.services.dconfload = { description = "Load Gnome dconf settings on startup."; wantedBy = [ "graphical-session-pre.target" ]; @@ -60,7 +62,7 @@ in { after = [ "dotfiles.service" ]; serviceConfig.Type = "oneshot"; script = '' - sed -i -e "s/voronind/$(whoami)/g" ${dconfConfig} + ${pkgs.gnused}/bin/sed -i -e "s/voronind/$(${pkgs.coreutils}/bin/whoami)/g" ${dconfConfig} ${pkgs.dconf}/bin/dconf load / < ${dconfConfig} ${pkgs.git}/bin/git checkout ${dconfConfig} ''; diff --git a/.config/linux/system/module/common/Package.nix b/.config/linux/system/module/common/Package.nix index 5ca2948..0fbada7 100644 --- a/.config/linux/system/module/common/Package.nix +++ b/.config/linux/system/module/common/Package.nix @@ -6,6 +6,7 @@ appimage-run binwalk btop + coreutils cryptsetup curl ddrescue @@ -15,6 +16,7 @@ git gnome.gnome-tweaks gnumake + gnused imagemagick jq lm_sensors