Compare commits

...

6 Commits

Author SHA1 Message Date
willifan
8938833609 added minecraft 2024-06-14 22:25:43 +02:00
willifan
aa7b6db61b update flake 2024-06-14 22:25:43 +02:00
willifan
810d98767b update flake 2024-06-14 22:25:43 +02:00
willifan
37700407a5 switched Puenktchen to nixos-hardware 2024-06-14 22:25:43 +02:00
willifan
8f0f243d31 add mangohud 2024-06-14 22:25:43 +02:00
willifan
221b3bb091 added printer drivers 2024-06-14 22:25:43 +02:00
8 changed files with 34 additions and 21 deletions

View File

@ -7,11 +7,11 @@
]
},
"locked": {
"lastModified": 1716773194,
"narHash": "sha256-rskkGmWlvYFb+CXedBiL8eWEuED0Es0XR4CkJ11RQKY=",
"lastModified": 1718242063,
"narHash": "sha256-n3AWItJ4a94GT0cray/eUV7tt3mulQ52L+lWJN9d1E8=",
"owner": "nix-community",
"repo": "disko",
"rev": "10986091e47fb1180620b78438512b294b7e8f67",
"rev": "832a9f2c81ff3485404bd63952eadc17bf7ccef2",
"type": "github"
},
"original": {
@ -27,11 +27,11 @@
]
},
"locked": {
"lastModified": 1716736833,
"narHash": "sha256-rNObca6dm7Qs524O4st8VJH6pZ/Xe1gxl+Rx6mcWYo0=",
"lastModified": 1717527182,
"narHash": "sha256-vWSkg6AMok1UUQiSYVdGMOXKD2cDFnajITiSi0Zjd1A=",
"owner": "nix-community",
"repo": "home-manager",
"rev": "a631666f5ec18271e86a5cde998cba68c33d9ac6",
"rev": "845a5c4c073f74105022533907703441e0464bc3",
"type": "github"
},
"original": {
@ -43,11 +43,11 @@
},
"nixos-hardware": {
"locked": {
"lastModified": 1716987116,
"narHash": "sha256-uuEkErFVsFdg2K0cKbNQ9JlFSAm/xYqPr4rbPLI91Y8=",
"lastModified": 1718349360,
"narHash": "sha256-SuPne4BMqh9/IkKIAG47Cu5qfmntAaqlHdX1yuFoDO0=",
"owner": "nixos",
"repo": "nixos-hardware",
"rev": "8251761f93d6f5b91cee45ac09edb6e382641009",
"rev": "ae5c8dcc4d0182d07d75df2dc97112de822cb9d6",
"type": "github"
},
"original": {
@ -58,11 +58,11 @@
},
"nixpkgs": {
"locked": {
"lastModified": 1717144377,
"narHash": "sha256-F/TKWETwB5RaR8owkPPi+SPJh83AQsm6KrQAlJ8v/uA=",
"lastModified": 1718208800,
"narHash": "sha256-US1tAChvPxT52RV8GksWZS415tTS7PV42KTc2PNDBmc=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "805a384895c696f802a9bf5bf4720f37385df547",
"rev": "cc54fb41d13736e92229c21627ea4f22199fee6b",
"type": "github"
},
"original": {
@ -74,11 +74,11 @@
},
"nixpkgs-unstable": {
"locked": {
"lastModified": 1716948383,
"narHash": "sha256-SzDKxseEcHR5KzPXLwsemyTR/kaM9whxeiJohbL04rs=",
"lastModified": 1718160348,
"narHash": "sha256-9YrUjdztqi4Gz8n3mBuqvCkMo4ojrA6nASwyIKWMpus=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "ad57eef4ef0659193044870c731987a6df5cf56b",
"rev": "57d6973abba7ea108bac64ae7629e7431e0199b6",
"type": "github"
},
"original": {

View File

@ -70,6 +70,10 @@
# 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
];

View File

@ -1,4 +0,0 @@
{ pkgs, ... }:
{
boot.initrd.kernelModules = [ "amdgpu" ];
}

View File

@ -1,7 +1,6 @@
{ pkgs, ... }:
{
imports = [
./amd.nix
./hardware-configuration.nix
./disko.nix
];

View File

@ -1,6 +1,9 @@
{ pkgs, ... }:
{
services.printing.enable = true;
services.printing = {
enable = true;
drivers = [ pkgs.gutenprint pkgs.gutenprintBin pkgs.canon-cups-ufr2 ];
};
services.avahi = {
enable = true;

View File

@ -9,6 +9,7 @@
./firefox.nix
./kitty.nix
./minecraft.nix
./steam.nix
./thunar.nix
./thunderbird.nix

View File

@ -0,0 +1,6 @@
{ pkgs, ... }:
{
environment.systemPackages = with pkgs; [
prismlauncher
];
}

View File

@ -7,6 +7,10 @@
};
};
environment.systemPackages = with pkgs; [
mangohud
];
hardware.steam-hardware.enable = true;
services.udev.extraRules = ''