added nvidia and plasma-manage

This commit is contained in:
Jakub Kropáček 2024-11-13 16:03:38 +01:00
parent 5b3358114a
commit f7527f57e7
3 changed files with 23 additions and 1 deletions

View file

@ -19,7 +19,9 @@ in
config = lib.mkIf cfg.enable { config = lib.mkIf cfg.enable {
programs.plasma = { programs.plasma = {
enable = true; enable = true;
# TODO: config workspace = {
theme = "breeze-dark";
};
}; };
}; };
} }

View file

@ -1,6 +1,7 @@
{ {
pkgs, pkgs,
inputs, inputs,
config,
... ...
}: }:
{ {
@ -15,6 +16,19 @@
boot.kernelPackages = pkgs.linuxPackages_latest; boot.kernelPackages = pkgs.linuxPackages_latest;
networking.hostName = "wenar-nix"; networking.hostName = "wenar-nix";
hardware.graphics.enable = true;
services.xserver.videoDrivers = [ "nvidia" ];
hardware.nvidia = {
modesetting.enable = true;
powerManagement.enable = false;
powerManagement.finegrained = false;
open = false;
nvidiaSettings = true;
package = config.boot.kernelPackages.nvidiaPackages.production;
};
# My own modules configuration # My own modules configuration
krop = { krop = {
audio = { audio = {

View file

@ -3,4 +3,10 @@
home.username = "krop"; home.username = "krop";
home.homeDirectory = "/home/krop"; home.homeDirectory = "/home/krop";
home.stateVersion = "24.05"; home.stateVersion = "24.05";
krop.hm = {
desktop.plasma = {
enable = true;
};
};
} }