diff --git a/home/gnome/impl/dconf.nix b/home/gnome/impl/dconf.nix index da11cf46..42c82ff2 100644 --- a/home/gnome/impl/dconf.nix +++ b/home/gnome/impl/dconf.nix @@ -223,7 +223,7 @@ in mkIf cfg.enable { #"${pse}/user-theme".name = "catppuccin-mocha-pink-compact"; "${pse}/caffeine" = { - screen-blank = "always"; + screen-blank = "never"; }; "${pse}/dash-to-dock" = { diff --git a/home/gnome/impl/nixos.nix b/home/gnome/impl/nixos.nix index f870a99c..e95def1e 100644 --- a/home/gnome/impl/nixos.nix +++ b/home/gnome/impl/nixos.nix @@ -46,5 +46,6 @@ in mkIf cfg.enable { ]); users.home.persist.directories = [ ".config/dconf" ]; + users.home.persist.files = [ ".config/monitors.xml" ]; environment.persistence."/nix/persist/fhs".directories = [ ]; } diff --git a/spec/yume/default.nix b/spec/yume/default.nix index 3352e4e4..c3847fe8 100644 --- a/spec/yume/default.nix +++ b/spec/yume/default.nix @@ -14,7 +14,7 @@ }; home = { - plasma.enable = true; + gnome.enable = true; gyroflow.enable = true; jetbrains.enable = true; vscode.enable = true; @@ -23,27 +23,12 @@ steam.enable = true; }; - home.plasma.extraConfig = { - configFile = { - kscreenlockerrc.Daemon.Autolock = false; - kcminputrc."Libinput/16700/9486/Dell Computer Corp Dell Laser Mouse MS3220".NaturalScroll = true; - }; - }; - imports = lib.pipe ./. [ builtins.readDir (lib.filterAttrs (n: ty: ty == "regular" && n != "default.nix")) (lib.mapAttrsToList (n: _: ./${n})) ] ++ [ (modulesPath + "/profiles/qemu-guest.nix") ]; - # work around low cage resolution on pure nvidia - services.greetd.settings.default_session.command = let - cfg = config.programs.regreet; - in "${pkgs.dbus}/bin/dbus-run-session ${lib.getExe pkgs.cage} ${lib.escapeShellArgs cfg.cageArgs} -- ${pkgs.writeShellScript "cageResolution" '' - ${lib.getExe pkgs.wlr-randr} --output DP-2 --mode 1920x1080@60.000000Hz - ${lib.getExe cfg.package} - ''}"; - boot.initrd.availableKernelModules = [ "ahci" "xhci_pci" "virtio_pci" "usbhid" "sr_mod" "virtio_blk" ]; boot.initrd.kernelModules = [ ]; boot.kernelModules = [ "kvm-amd" ];