Remove unfree from system

This commit is contained in:
Jimbo 2025-02-02 13:09:27 -05:00
parent 379d737c18
commit fbfedfd761
3 changed files with 11 additions and 15 deletions

View file

@ -4,11 +4,13 @@
programs.mangohud.enable = true; programs.mangohud.enable = true;
# These options exist in Nixlang, but the order is not respected. # These options exist in Nixlang, but the order is not respected.
xdg.configFile."MangoHud/MangoHud.conf".text = '' xdg.configFile."MangoHud/MangoHud.conf".text = ''
table_columns=2 table_columns = 2
frametime=0 frametime = 0
legacy_layout=0 legacy_layout = 0
font_scale=0.80 font_scale = 0.80
background_alpha=0.25 background_alpha = 0.25
fps_limit = 60
fps fps
fps_color_change fps_color_change

View file

@ -1,11 +1,7 @@
{ config, lib, ... }: { config, ... }:
{ {
config = lib.mkIf config.system.desktop.enable { programs.gamemode = {
programs.gamemode = { enable = config.system.desktop.enable;
enable = true; settings.general.renice = 10;
settings.general.renice = 10;
};
hardware.steam-hardware.enable = true;
}; };
} }

View file

@ -6,6 +6,4 @@
experimental-features = [ "nix-command" "flakes" ]; experimental-features = [ "nix-command" "flakes" ];
auto-optimise-store = true; auto-optimise-store = true;
}; };
nixpkgs.config.allowUnfree = true;
} }