feat: add some misc apps

This commit is contained in:
Mohammad Rafiq 2025-03-17 18:32:59 +08:00
parent ad26eaee4b
commit 1d1e2110dc
No known key found for this signature in database
4 changed files with 6 additions and 6 deletions

View file

@ -7,7 +7,9 @@
home-manager,
...
} @ inputs: let
# args will later be used in outputs to inherit the flake and its inputs for use in modules.
args = {inherit self inputs;};
# mkSystem lets us repeat the same config for multiple systems, called later in outputs.
mkSystem = hostname:
nixpkgs.lib.nixosSystem {
specialArgs = args;

View file

@ -4,11 +4,7 @@
config,
...
}: {
# Should not be needed because we set modesetting.enable = true;
boot.kernelParams = [
"nvidia-drm.modeset=1"
"nvidia-drm.fbdev=1"
];
# Accept the license by default; needed for some packages.
nixpkgs.config.nvidia.acceptLicense = true;
services.xserver.videoDrivers = ["nvidia"];
environment.variables = {
@ -35,4 +31,5 @@
package = config.boot.kernelPackages.nvidiaPackages.latest;
};
};
boot.initrd.availableKernelModules = ["nvidia" "nvidia_modeset" "nvidia_uvm" "nvidia_drm"];
}

View file

@ -16,5 +16,4 @@
boot.plymouth = {
enable = true;
};
boot.initrd.availableKernelModules = ["nvidia" "nvidia_modeset" "nvidia_uvm" "nvidia_drm"];
}

View file

@ -5,6 +5,8 @@
aichat # duh
ripgrep
devenv
thefuck
bat
];
services = {