fix displays and add super tux kart

This commit is contained in:
tristan 2023-05-09 13:53:45 +01:00
parent b0848c745d
commit d9378487d3
2 changed files with 16 additions and 13 deletions

View file

@ -67,18 +67,21 @@
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
displays = [ displays = {
{ enable = true;
name = "DP-1"; displays = [
resolution = {x=1920;y=1080;freq=144;}; {
wallpaper = "~/Pictures/backgrounds/demonslayer.jpg"; name = "DP-1";
} resolution = {x=1920;y=1080;freq=144;};
{ wallpaper = "~/Pictures/backgrounds/demonslayer.jpg";
name = "HDMI-A-1"; }
resolution = {x=1920;y=1080;freq=60;}; {
wallpaper = "~/Pictures/backgrounds/nier.jpg"; name = "HDMI-A-1";
} resolution = {x=1920;y=1080;freq=60;};
]; wallpaper = "~/Pictures/backgrounds/nier.jpg";
}
];
};
hardware.keyboard.zsa.enable = true; hardware.keyboard.zsa.enable = true;

View file

@ -11,11 +11,11 @@ with lib;
home.packages = with pkgs; [ home.packages = with pkgs; [
airshipper airshipper
minetest minetest
superTuxKart
]; ];
}]; }];
nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [ nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [
# gamer time
"steam" "steam"
"steam-run" "steam-run"
"steam-original" "steam-original"