diff --git a/default.nix b/default.nix index 0599cdb..b08fc78 100755 --- a/default.nix +++ b/default.nix @@ -68,6 +68,7 @@ in { useXkbConfig = mkDefault true; }; + # set the time zone services.automatic-timezoned.enable = mkDefault true; time.timeZone = mkDefault null; # handled by automatic-timezoned @@ -76,6 +77,7 @@ in { supportedLocales = [ "en_US.UTF-8/UTF-8" ]; }; + # set the location location.provider = mkDefault "geoclue2"; services.geoclue2 = { enable = mkDefault true; @@ -88,8 +90,6 @@ in { hardware.enableRedistributableFirmware = true; - programs.nix-ld.enable = mkDefault true; - environment.systemPackages = with pkgs; [ openssh mosh unrar unzip diff --git a/hosts/goopnet-interface/default.nix b/hosts/goopnet-interface/default.nix index f9ed97a..d1b265e 100755 --- a/hosts/goopnet-interface/default.nix +++ b/hosts/goopnet-interface/default.nix @@ -9,7 +9,7 @@ # archives zip xz unzip p7zip zstd # utils - ffmpeg ripgrep jq libqalculate imagemagick + ffmpeg ripgrep jq libqalculate # nix nix-output-monitor nix-prefetch-scripts nix-top # system @@ -78,7 +78,6 @@ system.syncthing.enable = true; system.flatpak.enable = true; system.mpv.enable = true; - system.ananicy.enable = true; # editors editors.micro.enable = true; editors.vscode.enable = true; @@ -87,6 +86,7 @@ # distractions distractions.discord.enable = true; distractions.discord.vesktop = true; + distractions.gamemode.enable = true; distractions.steam.enable = true; # tools tools.gpg.enable = true; diff --git a/modules/desktop/hyprland.nix b/modules/desktop/hyprland.nix index fc9e252..c4d4b6d 100644 --- a/modules/desktop/hyprland.nix +++ b/modules/desktop/hyprland.nix @@ -187,7 +187,6 @@ in { "$mod, T, exec, ${lib.getExe config.modules.software.system.wezterm.package}" "$mod, L, exec, ${lib.getExe config.modules.desktop.hyprlock.package}" "$mod, V, exec, ${lib.getExe config.modules.software.system.wezterm.package} start --class 'clipse' -e '${lib.getExe config.modules.desktop.clipse.package}'" - "$mod, E, exec, ${lib.getExe pkgs.nautilus}" # screenshot # area diff --git a/modules/desktop/themes/default.nix b/modules/desktop/themes/default.nix index fe734d0..95d3930 100644 --- a/modules/desktop/themes/default.nix +++ b/modules/desktop/themes/default.nix @@ -104,6 +104,15 @@ in { platformTheme.name = "qtct"; style.name = "kvantum"; }; + # needed for svg icons in qt to work, + # so we just install them unconditionally + hm.home.packages = with pkgs; [ + cfg.iconTheme.package + libsForQt5.breeze-icons + libsForQt5.qt5.qtsvg + # kdePackages.breeze-icons + kdePackages.qtsvg + ]; hm.home.pointerCursor = { gtk.enable = true; @@ -172,8 +181,6 @@ in { }; }; in { - # technically could cause issues w KDE if we use that - # not a concern for now "kdeglobals".text = '' [Icons] Theme=${cfg.iconTheme.name} diff --git a/modules/hardware/bluetooth.nix b/modules/hardware/bluetooth.nix index f31d1f6..b306481 100644 --- a/modules/hardware/bluetooth.nix +++ b/modules/hardware/bluetooth.nix @@ -11,11 +11,6 @@ in { config = mkIf cfg.enable { hardware.bluetooth.enable = true; hardware.bluetooth.powerOnBoot = true; - hardware.bluetooth.settings = { - General = { - Experimental = true; - }; - }; # frontend services.blueman.enable = true; diff --git a/modules/software/distractions/gamemode.nix b/modules/software/distractions/gamemode.nix new file mode 100644 index 0000000..93ca2d6 --- /dev/null +++ b/modules/software/distractions/gamemode.nix @@ -0,0 +1,26 @@ +{ lib, config, pkgs, ... }: + +with lib; +let + cfg = config.modules.software.distractions.gamemode; +in { + options.modules.software.distractions.gamemode = { + enable = mkEnableOption "Enable Gamemode, a program to optimize your system performance on demand"; + }; + + config = mkIf cfg.enable { + # optimize linux system performance on demand + # https://github.com/FeralInteractive/gamemode + user.extraGroups = [ "gamemode" ]; + programs.gamemode = { + enable = true; + enableRenice = true; + settings = { + general = { + softrealtime = "auto"; + renice = 10; + }; + }; + }; + }; +} diff --git a/modules/software/distractions/steam.nix b/modules/software/distractions/steam.nix index ac48cbd..c0bacdd 100644 --- a/modules/software/distractions/steam.nix +++ b/modules/software/distractions/steam.nix @@ -10,6 +10,7 @@ in { config = mkIf cfg.enable { programs.steam.enable = true; - programs.steam.protontricks.enable = true; + + user.packages = [ pkgs.protontricks pkgs.steam-run ]; }; } diff --git a/modules/software/system/ananicy.nix b/modules/software/system/ananicy.nix deleted file mode 100644 index 23ec55e..0000000 --- a/modules/software/system/ananicy.nix +++ /dev/null @@ -1,18 +0,0 @@ -{ lib, config, pkgs, ... }: - -with lib; -let - cfg = config.modules.software.system.ananicy; -in { - options.modules.software.system.ananicy = { - enable = mkEnableOption "Enable Ananicy, an auto nice daemon with community rules support"; - }; - - config = mkIf cfg.enable { - services.ananicy = { - enable = true; - package = pkgs.ananicy-cpp; - rulesProvider = pkgs.ananicy-rules-cachyos; - }; - }; -}