diff --git a/flake.lock b/flake.lock index 862d89c..e59230a 100644 --- a/flake.lock +++ b/flake.lock @@ -7,11 +7,11 @@ ] }, "locked": { - "lastModified": 1718242063, - "narHash": "sha256-n3AWItJ4a94GT0cray/eUV7tt3mulQ52L+lWJN9d1E8=", + "lastModified": 1716773194, + "narHash": "sha256-rskkGmWlvYFb+CXedBiL8eWEuED0Es0XR4CkJ11RQKY=", "owner": "nix-community", "repo": "disko", - "rev": "832a9f2c81ff3485404bd63952eadc17bf7ccef2", + "rev": "10986091e47fb1180620b78438512b294b7e8f67", "type": "github" }, "original": { @@ -27,11 +27,11 @@ ] }, "locked": { - "lastModified": 1717527182, - "narHash": "sha256-vWSkg6AMok1UUQiSYVdGMOXKD2cDFnajITiSi0Zjd1A=", + "lastModified": 1716736833, + "narHash": "sha256-rNObca6dm7Qs524O4st8VJH6pZ/Xe1gxl+Rx6mcWYo0=", "owner": "nix-community", "repo": "home-manager", - "rev": "845a5c4c073f74105022533907703441e0464bc3", + "rev": "a631666f5ec18271e86a5cde998cba68c33d9ac6", "type": "github" }, "original": { @@ -43,11 +43,11 @@ }, "nixos-hardware": { "locked": { - "lastModified": 1718349360, - "narHash": "sha256-SuPne4BMqh9/IkKIAG47Cu5qfmntAaqlHdX1yuFoDO0=", + "lastModified": 1716987116, + "narHash": "sha256-uuEkErFVsFdg2K0cKbNQ9JlFSAm/xYqPr4rbPLI91Y8=", "owner": "nixos", "repo": "nixos-hardware", - "rev": "ae5c8dcc4d0182d07d75df2dc97112de822cb9d6", + "rev": "8251761f93d6f5b91cee45ac09edb6e382641009", "type": "github" }, "original": { @@ -58,11 +58,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1718208800, - "narHash": "sha256-US1tAChvPxT52RV8GksWZS415tTS7PV42KTc2PNDBmc=", + "lastModified": 1717144377, + "narHash": "sha256-F/TKWETwB5RaR8owkPPi+SPJh83AQsm6KrQAlJ8v/uA=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "cc54fb41d13736e92229c21627ea4f22199fee6b", + "rev": "805a384895c696f802a9bf5bf4720f37385df547", "type": "github" }, "original": { @@ -74,11 +74,11 @@ }, "nixpkgs-unstable": { "locked": { - "lastModified": 1718160348, - "narHash": "sha256-9YrUjdztqi4Gz8n3mBuqvCkMo4ojrA6nASwyIKWMpus=", + "lastModified": 1716948383, + "narHash": "sha256-SzDKxseEcHR5KzPXLwsemyTR/kaM9whxeiJohbL04rs=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "57d6973abba7ea108bac64ae7629e7431e0199b6", + "rev": "ad57eef4ef0659193044870c731987a6df5cf56b", "type": "github" }, "original": { diff --git a/flake.nix b/flake.nix index 93f5b08..c1d60cb 100644 --- a/flake.nix +++ b/flake.nix @@ -70,10 +70,6 @@ # Optionally, use home-manager.extraSpecialArgs to pass arguments to home.nix } disko.nixosModules.disko - nixos-hardware.nixosModules.common-cpu-amd - nixos-hardware.nixosModules.common-cpu-amd-pstate - nixos-hardware.nixosModules.common-cpu-amd-zenpower - nixos-hardware.nixosModules.common-gpu-amd ./hosts ./users/willifan ]; diff --git a/hosts/Puenktchen/amd.nix b/hosts/Puenktchen/amd.nix new file mode 100644 index 0000000..508a2d5 --- /dev/null +++ b/hosts/Puenktchen/amd.nix @@ -0,0 +1,4 @@ +{ pkgs, ... }: +{ + boot.initrd.kernelModules = [ "amdgpu" ]; +} \ No newline at end of file diff --git a/hosts/Puenktchen/default.nix b/hosts/Puenktchen/default.nix index 36963cd..8a8195f 100644 --- a/hosts/Puenktchen/default.nix +++ b/hosts/Puenktchen/default.nix @@ -1,6 +1,7 @@ { pkgs, ... }: { imports = [ + ./amd.nix ./hardware-configuration.nix ./disko.nix ]; diff --git a/hosts/common/printers.nix b/hosts/common/printers.nix index c699a37..2b13ad7 100644 --- a/hosts/common/printers.nix +++ b/hosts/common/printers.nix @@ -1,9 +1,6 @@ { pkgs, ... }: { - services.printing = { - enable = true; - drivers = [ pkgs.gutenprint pkgs.gutenprintBin pkgs.canon-cups-ufr2 ]; - }; + services.printing.enable = true; services.avahi = { enable = true; diff --git a/users/willifan/graphical/default.nix b/users/willifan/graphical/default.nix index 3761c7e..4861497 100644 --- a/users/willifan/graphical/default.nix +++ b/users/willifan/graphical/default.nix @@ -9,7 +9,6 @@ ./firefox.nix ./kitty.nix - ./minecraft.nix ./steam.nix ./thunar.nix ./thunderbird.nix diff --git a/users/willifan/graphical/minecraft.nix b/users/willifan/graphical/minecraft.nix deleted file mode 100644 index 54126e4..0000000 --- a/users/willifan/graphical/minecraft.nix +++ /dev/null @@ -1,6 +0,0 @@ -{ pkgs, ... }: -{ - environment.systemPackages = with pkgs; [ - prismlauncher - ]; -} \ No newline at end of file diff --git a/users/willifan/graphical/steam.nix b/users/willifan/graphical/steam.nix index 7f11bc9..106f8c8 100644 --- a/users/willifan/graphical/steam.nix +++ b/users/willifan/graphical/steam.nix @@ -7,10 +7,6 @@ }; }; - environment.systemPackages = with pkgs; [ - mangohud - ]; - hardware.steam-hardware.enable = true; services.udev.extraRules = ''