flake.lock conflict

This commit is contained in:
Sam 2024-06-13 12:33:05 +01:00
commit 3eb837c371
3 changed files with 51 additions and 5 deletions

View File

@ -450,11 +450,11 @@
}, },
"nur": { "nur": {
"locked": { "locked": {
"lastModified": 1717864805, "lastModified": 1717872410,
"narHash": "sha256-iu5gmYBncm1c+FSFmHiRkEvbcWpH/ZO/MQYe0r5ng7s=", "narHash": "sha256-kL4bugfx+R4ozR6t8MrGSdv3LVX7H9IkCxmvjaLAQ7o=",
"owner": "nix-community", "owner": "nix-community",
"repo": "NUR", "repo": "NUR",
"rev": "e212541138b753c7bc5215524215e2a07403df8d", "rev": "3b134079df522044c0da57f1b7785646a7b76518",
"type": "github" "type": "github"
}, },
"original": { "original": {

View File

@ -37,6 +37,8 @@ in
".mozilla" ".mozilla"
".local" ".local"
".zotero" ".zotero"
".var"
".steam"
]; ];
files = [ files = [
]; ];

View File

@ -1,4 +1,4 @@
{ inputs, config, lib, pkgs, outputs,... }: { inputs, config, lib, pkgs, outputs, ... }:
let let
# Disko setup # Disko setup
fsType = "btrfs"; # one of ext4 or btrfs. Use btrfs if using impermanence fsType = "btrfs"; # one of ext4 or btrfs. Use btrfs if using impermanence
@ -45,14 +45,58 @@ in
enableIPv6 = false; enableIPv6 = false;
}; };
# Gaming
hardware.xone.enable = true;
environment.systemPackages = with pkgs; [
#Xbox controller
linuxKernel.packages.linux_zen.xone
# Steam
mangohud
gamemode
# WINE
wine
winetricks
protontricks
vulkan-tools
# Extra dependencies
# https://github.com/lutris/docs/
gnutls
openldap
libgpgerror
freetype
sqlite
libxml2
xml2
SDL2
];
nixpkgs.config.allowUnfreePredicate = pkg: nixpkgs.config.allowUnfreePredicate = pkg:
builtins.elem (lib.getName pkg) [ builtins.elem (lib.getName pkg) [
# Add additional package names here # Add additional package names here
"nvidia-x11" "nvidia-x11"
"nvidia-settings" "nvidia-settings"
"nvidia-persistenced" "nvidia-persistenced"
"steam"
"steam-original"
"steam-run"
]; ];
programs.steam.enable = true;
programs.gamemode.enable = true;
nixpkgs.config.packageOverrides = pkgs: {
steam = pkgs.steam.override {
extraPkgs = pkgs: with pkgs; [
pango
libthai
harfbuzz
gamemode
];
};
};
services.displayManager.defaultSession = "cinnamon"; services.displayManager.defaultSession = "cinnamon";
services.libinput.enable = true; services.libinput.enable = true;
@ -65,7 +109,7 @@ in
''; '';
desktopManager = { desktopManager = {
cinnamon.enable = true; cinnamon.enable = true;
}; };
}; };
# Enable OpenGL # Enable OpenGL