575 update

This commit is contained in:
alsaiduq-lab 2025-12-18 22:08:09 -07:00
parent 09b1e0725f
commit 066286944c
7 changed files with 90 additions and 37 deletions

21
hosts/modules/flatpak.nix Normal file
View file

@ -0,0 +1,21 @@
{
config,
pkgs,
lib,
...
}: {
services.flatpak.enable = true;
xdg.portal = {
enable = true;
extraPortals = [pkgs.xdg-desktop-portal-gtk];
};
systemd.services.flatpak-repo = {
wantedBy = ["multi-user.target"];
path = [pkgs.flatpak];
script = ''
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
'';
};
}

View file

@ -7,7 +7,7 @@
inputs.dankMaterialShell.nixosModules.greeter
];
programs.dankMaterialShell.greeter = {
programs.dank-material-shell.greeter = {
enable = true;
compositor.name = "hyprland";
configHome = "/home/${config.theme.user}";

View file

@ -6,9 +6,16 @@
services.xserver.videoDrivers = ["nvidia"];
hardware.nvidia = {
package = config.boot.kernelPackages.nvidiaPackages.stable;
package = config.boot.kernelPackages.nvidiaPackages.mkDriver {
version = "575.64.05";
sha256_64bit = "sha256-hfK1D5EiYcGRegss9+H5dDr/0Aj9wPIJ9NVWP3dNUC0=";
sha256_aarch64 = "sha256-GRE9VEEosbY7TL4HPFoyo0Ac5jgBHsZg9sBKJ4BLhsA=";
openSha256 = "sha256-mcbMVEyRxNyRrohgwWNylu45vIqF+flKHnmt47R//KU=";
settingsSha256 = "sha256-o2zUnYFUQjHOcCrB0w/4L6xI1hVUXLAWgG2Y26BowBE=";
persistencedSha256 = "sha256-2g5z7Pu8u2EiAh5givP5Q1Y4zk4Cbb06W37rf768NFU=";
};
open = true;
modesetting.enable = true; # must be true for Wayland
modesetting.enable = true;
powerManagement.enable = false;
nvidiaSettings = true;
nvidiaPersistenced = true;