added kde-plasma

This commit is contained in:
Victor Ișan 2026-01-27 20:42:24 +01:00
parent aa2c0e0784
commit 9278a38d13
4 changed files with 30 additions and 1 deletions

View File

@ -37,6 +37,7 @@
modules = [ modules = [
./hosts/palantir.nix ./hosts/palantir.nix
./modules/base.nix ./modules/base.nix
./modules/plasma.nix
./modules/gaming.nix ./modules/gaming.nix
home-manager.nixosModules.home-manager home-manager.nixosModules.home-manager

View File

@ -18,7 +18,13 @@
users.users.${myUser} = { users.users.${myUser} = {
isNormalUser = true; isNormalUser = true;
extraGroups = [ "wheel" ]; extraGroups = [
"wheel"
"video"
"render"
"input"
];
shell = pkgs.zsh;
openssh.authorizedKeys.keys = [ openssh.authorizedKeys.keys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOiNyGO4RAxSdxvn2ZIBZ2Ze4iVVMrBNmu/V9JO70PoT victor@battleship" "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOiNyGO4RAxSdxvn2ZIBZ2Ze4iVVMrBNmu/V9JO70PoT victor@battleship"
]; ];

View File

@ -6,6 +6,8 @@
auto-optimise-store = true; auto-optimise-store = true;
}; };
programs.zsh.enable = true;
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
git git
curl curl

20
modules/plasma.nix Normal file
View File

@ -0,0 +1,20 @@
{ config, pkgs, lib, ... }:
{
services = {
xserver.enable = true;
desktopManager.plasma6.enable = true;
displayManager.sddm = {
enable = true;
wayland.enable = true;
};
};
# Nvidia
hardware.graphics.enable = true;
services.xserver.videoDrivers = [ "nvidia" ];
hardware.nvidia = {
modesetting = true;
package = config.boot.kernelPackages.nvidiaPackages.stable;
};
}