revisions

hate nvidia
This commit is contained in:
alsaiduq-lab 2025-12-12 12:11:48 -07:00
parent c4ab484bed
commit 6c3383c44b
8 changed files with 87 additions and 94 deletions

150
flake.lock generated
View file

@ -40,14 +40,15 @@
], ],
"nixpkgs": [ "nixpkgs": [
"nixpkgs" "nixpkgs"
] ],
"quickshell": "quickshell"
}, },
"locked": { "locked": {
"lastModified": 1765001413, "lastModified": 1765560618,
"narHash": "sha256-y5u9eN1qB/IWVqYhVm3qsH8FttoU40Ze3DPQLBXMRhg=", "narHash": "sha256-gZEYrkY/IJHQrackgNwpl0qFnRacBSpmvqa0ljkdieU=",
"owner": "AvengeMedia", "owner": "AvengeMedia",
"repo": "DankMaterialShell", "repo": "DankMaterialShell",
"rev": "8ce78e71343b1769b4c87cac9eae3a45510a4c03", "rev": "e95f7ce367470424e7636b40a0ba7af42ddcd94e",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -83,11 +84,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1764627417, "lastModified": 1765326679,
"narHash": "sha256-D6xc3Rl8Ab6wucJWdvjNsGYGSxNjQHzRc2EZ6eeQ6l4=", "narHash": "sha256-fTLX9kDwLr9Y0rH/nG+h1XG5UU+jBcy0PFYn5eneRX8=",
"owner": "nix-community", "owner": "nix-community",
"repo": "disko", "repo": "disko",
"rev": "5a88a6eceb8fd732b983e72b732f6f4b8269bef3", "rev": "d64e5cdca35b5fad7c504f615357a7afe6d9c49e",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -99,11 +100,11 @@
"flake-compat": { "flake-compat": {
"flake": false, "flake": false,
"locked": { "locked": {
"lastModified": 1747046372, "lastModified": 1761588595,
"narHash": "sha256-CIVLLkVgvHYbgI2UpXvIIBJ12HWgX+fjA8Xf8PUmqCY=", "narHash": "sha256-XKUZz9zewJNUj46b4AJdiRZJAvSZ0Dqj2BNfXvFlJC4=",
"owner": "edolstra", "owner": "edolstra",
"repo": "flake-compat", "repo": "flake-compat",
"rev": "9100a0f413b0c601e0533d1d94ffd501ce2e7885", "rev": "f387cd2afec9419c8ee37694406ca490c3f34ee5",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -173,11 +174,11 @@
"zon2nix": "zon2nix" "zon2nix": "zon2nix"
}, },
"locked": { "locked": {
"lastModified": 1764953050, "lastModified": 1765552198,
"narHash": "sha256-TkMjYCGm6FHflVQadN6mx1+3lWzY4wl+3U40lfvTroQ=", "narHash": "sha256-nxb1V0kW8NEWh6Pbe6jxOzCp9me5PxYt5e+uvgvoxLc=",
"owner": "ghostty-org", "owner": "ghostty-org",
"repo": "ghostty", "repo": "ghostty",
"rev": "08c9661683edc1e9e63d8e6abd469a68faaee575", "rev": "dd06d8a13b39af3239c9674188f27caaa3499c98",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -210,7 +211,7 @@
}, },
"grim-hyprland": { "grim-hyprland": {
"inputs": { "inputs": {
"nixpkgs": "nixpkgs_3", "nixpkgs": "nixpkgs_2",
"systems": "systems_2" "systems": "systems_2"
}, },
"locked": { "locked": {
@ -234,11 +235,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1764998300, "lastModified": 1765480374,
"narHash": "sha256-fZatn/KLfHLDXnF0wy7JxXqGaZmGDTVufT4o/AOlj44=", "narHash": "sha256-HlbvQAqLx7WqZFFQZ8nu5UUJAVlXiV/kqKbyueA8srw=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "27a6182347ccae90a88231ae0dc5dfa7d15815bb", "rev": "39cb677ed9e908e90478aa9fe5f3383dfc1a63f3",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -249,7 +250,7 @@
}, },
"hu-tao-cursor": { "hu-tao-cursor": {
"inputs": { "inputs": {
"nixpkgs": "nixpkgs_4" "nixpkgs": "nixpkgs_3"
}, },
"locked": { "locked": {
"lastModified": 1758768962, "lastModified": 1758768962,
@ -342,11 +343,11 @@
"xdph": "xdph" "xdph": "xdph"
}, },
"locked": { "locked": {
"lastModified": 1765024946, "lastModified": 1765543676,
"narHash": "sha256-GkPsL9anbbrmtWMP/O7W2+0WuktiK+4hOx5ziM+DQ3Y=", "narHash": "sha256-2qaLZ7kqerWXIZpICR/6lkR0J/EEwiS/uYkdhUXv8Sw=",
"owner": "hyprwm", "owner": "hyprwm",
"repo": "Hyprland", "repo": "Hyprland",
"rev": "f8d5aad1a1f61e1b6443c27394a38c8c54d39e9e", "rev": "69db0bcae640410b6c587cb0ffd0c89bc8166ff0",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -605,14 +606,14 @@
"nix-gaming": { "nix-gaming": {
"inputs": { "inputs": {
"flake-parts": "flake-parts", "flake-parts": "flake-parts",
"nixpkgs": "nixpkgs_5" "nixpkgs": "nixpkgs_4"
}, },
"locked": { "locked": {
"lastModified": 1764986018, "lastModified": 1765505604,
"narHash": "sha256-g0T9Jo24QTSdwSqxSCQcy0rpU6TujJsZdWrIeOOevYA=", "narHash": "sha256-ldyzNBEwP9qIXz087HGJ73OH8hp1YoPDgtK9aaii1PU=",
"owner": "fufexan", "owner": "fufexan",
"repo": "nix-gaming", "repo": "nix-gaming",
"rev": "00e02d9896160f4ab9d9a2fe0ec7c009952d67ba", "rev": "2597ac42bcf2b32253ab6acab70264fdbb2b102e",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -623,11 +624,11 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 315532800, "lastModified": 1763191728,
"narHash": "sha256-sV6pJNzFkiPc6j9Bi9JuHBnWdVhtKB/mHgVmMPvDFlk=", "narHash": "sha256-gI9PpaoX4/f28HkjcTbFVpFhtOxSDtOEdFaHZrdETe0=",
"rev": "82c2e0d6dde50b17ae366d2aa36f224dc19af469", "rev": "1d4c88323ac36805d09657d13a5273aea1b34f0c",
"type": "tarball", "type": "tarball",
"url": "https://releases.nixos.org/nixpkgs/nixpkgs-25.11pre877938.82c2e0d6dde5/nixexprs.tar.xz" "url": "https://releases.nixos.org/nixpkgs/nixpkgs-25.11pre896415.1d4c88323ac3/nixexprs.tar.xz"
}, },
"original": { "original": {
"type": "tarball", "type": "tarball",
@ -650,19 +651,6 @@
} }
}, },
"nixpkgs_2": { "nixpkgs_2": {
"locked": {
"lastModified": 1758360447,
"narHash": "sha256-XDY3A83bclygHDtesRoaRTafUd80Q30D/Daf9KSG6bs=",
"rev": "8eaee110344796db060382e15d3af0a9fc396e0e",
"type": "tarball",
"url": "https://releases.nixos.org/nixos/unstable/nixos-25.11pre864002.8eaee1103447/nixexprs.tar.xz"
},
"original": {
"type": "tarball",
"url": "https://channels.nixos.org/nixos-unstable/nixexprs.tar.xz"
}
},
"nixpkgs_3": {
"locked": { "locked": {
"lastModified": 1727802920, "lastModified": 1727802920,
"narHash": "sha256-HP89HZOT0ReIbI7IJZJQoJgxvB2Tn28V6XS3MNKnfLs=", "narHash": "sha256-HP89HZOT0ReIbI7IJZJQoJgxvB2Tn28V6XS3MNKnfLs=",
@ -678,7 +666,7 @@
"type": "github" "type": "github"
} }
}, },
"nixpkgs_4": { "nixpkgs_3": {
"locked": { "locked": {
"lastModified": 1758346548, "lastModified": 1758346548,
"narHash": "sha256-afXE7AJ7MY6wY1pg/Y6UPHNYPy5GtUKeBkrZZ/gC71E=", "narHash": "sha256-afXE7AJ7MY6wY1pg/Y6UPHNYPy5GtUKeBkrZZ/gC71E=",
@ -694,13 +682,13 @@
"type": "github" "type": "github"
} }
}, },
"nixpkgs_5": { "nixpkgs_4": {
"locked": { "locked": {
"lastModified": 1764384123, "lastModified": 1764947035,
"narHash": "sha256-UoliURDJFaOolycBZYrjzd9Cc66zULEyHqGFH3QHEq0=", "narHash": "sha256-EYHSjVM4Ox4lvCXUMiKKs2vETUSL5mx+J2FfutM7T9w=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "59b6c96beacc898566c9be1052ae806f3835f87d", "rev": "a672be65651c80d3f592a89b3945466584a22069",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -710,13 +698,13 @@
"type": "github" "type": "github"
} }
}, },
"nixpkgs_6": { "nixpkgs_5": {
"locked": { "locked": {
"lastModified": 1764831616, "lastModified": 1765311797,
"narHash": "sha256-OtzF5wBvO0jgW1WW1rQU9cMGx7zuvkF7CAVJ1ypzkxA=", "narHash": "sha256-mSD5Ob7a+T2RNjvPvOA1dkJHGVrNVl8ZOrAwBjKBDQo=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "c97c47f2bac4fa59e2cbdeba289686ae615f8ed4", "rev": "09eb77e94fa25202af8f3e81ddc7353d9970ac1b",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -786,6 +774,28 @@
} }
}, },
"quickshell": { "quickshell": {
"inputs": {
"nixpkgs": [
"dankMaterialShell",
"nixpkgs"
]
},
"locked": {
"lastModified": 1764663772,
"narHash": "sha256-sHqLmm0wAt3PC4vczJeBozI1/f4rv9yp3IjkClHDXDs=",
"ref": "refs/heads/master",
"rev": "26531fc46ef17e9365b03770edd3fb9206fcb460",
"revCount": 713,
"type": "git",
"url": "https://git.outfoxxed.me/quickshell/quickshell"
},
"original": {
"rev": "26531fc46ef17e9365b03770edd3fb9206fcb460",
"type": "git",
"url": "https://git.outfoxxed.me/quickshell/quickshell"
}
},
"quickshell_2": {
"inputs": { "inputs": {
"nixpkgs": [ "nixpkgs": [
"nixpkgs" "nixpkgs"
@ -805,22 +815,6 @@
"url": "https://git.outfoxxed.me/outfoxxed/quickshell" "url": "https://git.outfoxxed.me/outfoxxed/quickshell"
} }
}, },
"rollback": {
"locked": {
"lastModified": 1764836381,
"narHash": "sha256-8jemYbbW9EBttQKHep7Rj8kzXaxsrk/lACdXA2DN5Xk=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "ff06bd3398fb1bea6c937039ece7e7c8aa396ebf",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixos-25.05",
"repo": "nixpkgs",
"type": "github"
}
},
"root": { "root": {
"inputs": { "inputs": {
"dankMaterialShell": "dankMaterialShell", "dankMaterialShell": "dankMaterialShell",
@ -833,11 +827,10 @@
"hyprland": "hyprland", "hyprland": "hyprland",
"hyprland-dots": "hyprland-dots", "hyprland-dots": "hyprland-dots",
"nix-gaming": "nix-gaming", "nix-gaming": "nix-gaming",
"nixpkgs": "nixpkgs_6", "nixpkgs": "nixpkgs_5",
"nvim-dots": "nvim-dots", "nvim-dots": "nvim-dots",
"pinix": "pinix", "pinix": "pinix",
"quickshell": "quickshell", "quickshell": "quickshell_2",
"rollback": "rollback",
"unstable": "unstable" "unstable": "unstable"
} }
}, },
@ -888,11 +881,11 @@
}, },
"unstable": { "unstable": {
"locked": { "locked": {
"lastModified": 1764947035, "lastModified": 1765425892,
"narHash": "sha256-EYHSjVM4Ox4lvCXUMiKKs2vETUSL5mx+J2FfutM7T9w=", "narHash": "sha256-jlQpSkg2sK6IJVzTQBDyRxQZgKADC2HKMRfGCSgNMHo=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "a672be65651c80d3f592a89b3945466584a22069", "rev": "5d6bdbddb4695a62f0d00a3620b37a15275a5093",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -959,11 +952,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1760401936, "lastModified": 1763295135,
"narHash": "sha256-/zj5GYO5PKhBWGzbHbqT+ehY8EghuABdQ2WGfCwZpCQ=", "narHash": "sha256-sGv/NHCmEnJivguGwB5w8LRmVqr1P72OjS+NzcJsssE=",
"owner": "mitchellh", "owner": "mitchellh",
"repo": "zig-overlay", "repo": "zig-overlay",
"rev": "365085b6652259753b598d43b723858184980bbe", "rev": "64f8b42cfc615b2cf99144adf2b7728c7847c72a",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -974,7 +967,10 @@
}, },
"zon2nix": { "zon2nix": {
"inputs": { "inputs": {
"nixpkgs": "nixpkgs_2" "nixpkgs": [
"ghostty",
"nixpkgs"
]
}, },
"locked": { "locked": {
"lastModified": 1758405547, "lastModified": 1758405547,

View file

@ -74,11 +74,6 @@
url = "github:hyprwm/Hyprland"; url = "github:hyprwm/Hyprland";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
}; };
# 25.11 ships with nvidia 580 as stable while 25.05 has 570 as stable. this rollback exists for this reason
rollback = {
url = "github:NixOS/nixpkgs/nixos-25.05";
};
}; };
outputs = { outputs = {
@ -139,7 +134,7 @@
hostPlatform = system; hostPlatform = system;
overlays = [ overlays = [
(final: prev: { (final: prev: {
quickshell = unstablePkgs.quickshell; quickshell = inputs.quickshell.packages.${system}.default;
ghostty = inputs.ghostty.packages.${system}.default; ghostty = inputs.ghostty.packages.${system}.default;
hu-tao-animated-cursor = inputs.hu-tao-cursor.packages.${system}.default; hu-tao-animated-cursor = inputs.hu-tao-cursor.packages.${system}.default;
grim-hyprland = inputs.grim-hyprland.packages.${system}.default; grim-hyprland = inputs.grim-hyprland.packages.${system}.default;
@ -147,10 +142,6 @@
dmsCli = inputs.dankMaterialShell.packages.${system}.default; dmsCli = inputs.dankMaterialShell.packages.${system}.default;
dankMaterialShell = inputs.dankMaterialShell.packages.${system}.dankMaterialShell; dankMaterialShell = inputs.dankMaterialShell.packages.${system}.dankMaterialShell;
pinix = inputs.pinix.packages.${system}.default; pinix = inputs.pinix.packages.${system}.default;
nvidiaRollback = import inputs.rollback {
inherit system;
config.allowUnfree = true;
};
}) })
(final: prev: { (final: prev: {
inherit inherit

View file

@ -29,6 +29,7 @@
./modules/rgb.nix ./modules/rgb.nix
./modules/imagemagick.nix ./modules/imagemagick.nix
inputs.dankMaterialShell.homeModules.dankMaterialShell.default inputs.dankMaterialShell.homeModules.dankMaterialShell.default
./modules/viv.nix
]; ];
home.username = "${config.theme.user}"; home.username = "${config.theme.user}";

View file

@ -17,6 +17,8 @@
{path = "${config.home.homeDirectory}/nix/.secrets/.git-config";} {path = "${config.home.homeDirectory}/nix/.secrets/.git-config";}
]; ];
settings = { settings = {
user.name = "alsaiduq-lab";
user.email = "riiidge.racer@gmail.com";
credential.helper = "store --file=${config.home.homeDirectory}/nix/.secrets/.git-credentials"; credential.helper = "store --file=${config.home.homeDirectory}/nix/.secrets/.git-credentials";
}; };
}; };

View file

@ -12,6 +12,4 @@
cliphist cliphist
]; ];
home.sessionPath = ["${pkgs.quickshell}/bin"]; home.sessionPath = ["${pkgs.quickshell}/bin"];
programs.dankMaterialShell.enable = true;
} }

View file

@ -0,0 +1,5 @@
{pkgs, ...}: {
home.packages = with pkgs; [
vivify
];
}

View file

@ -8,24 +8,24 @@
[ (modulesPath + "/installer/scan/not-detected.nix") [ (modulesPath + "/installer/scan/not-detected.nix")
]; ];
boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "nvme" "usbhid" "usb_storage" "sd_mod" ]; boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "nvme" "usbhid" "usb_storage" "uas" "sd_mod" ];
boot.initrd.kernelModules = [ ]; boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-amd" ]; boot.kernelModules = [ "kvm-amd" ];
boot.extraModulePackages = [ ]; boot.extraModulePackages = [ ];
fileSystems."/" = fileSystems."/" =
{ device = "/dev/disk/by-uuid/569d5cab-49dd-4cdc-9307-972d2e48c90a"; { device = "/dev/disk/by-uuid/2feb61a9-08b6-490d-a838-2259d7ddee4f";
fsType = "ext4"; fsType = "ext4";
}; };
fileSystems."/boot" = fileSystems."/boot" =
{ device = "/dev/disk/by-uuid/2534-C883"; { device = "/dev/disk/by-uuid/DD80-2994";
fsType = "vfat"; fsType = "vfat";
options = [ "fmask=0077" "dmask=0077" ]; options = [ "fmask=0077" "dmask=0077" ];
}; };
swapDevices = swapDevices =
[ { device = "/dev/disk/by-uuid/2b9fb15a-3902-456d-b111-71baaedf3d71"; } [ { device = "/dev/disk/by-uuid/6a02b3ae-531f-4231-ad33-346740ae4b53"; }
]; ];
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking # Enables DHCP on each ethernet and wireless interface. In case of scripted networking

View file

@ -6,7 +6,7 @@
services.xserver.videoDrivers = ["nvidia"]; services.xserver.videoDrivers = ["nvidia"];
hardware.nvidia = { hardware.nvidia = {
package = pkgs.nvidiaRollback.linuxPackages.nvidiaPackages.stable; package = config.boot.kernelPackages.nvidiaPackages.beta;
open = true; open = true;
modesetting.enable = true; # must be true for Wayland modesetting.enable = true; # must be true for Wayland
powerManagement.enable = false; powerManagement.enable = false;