First work

This commit is contained in:
Florian RICHER 2024-05-27 22:23:32 +02:00
parent be2affebef
commit b86a8b50c7
20 changed files with 138 additions and 148 deletions

View file

@ -17,24 +17,6 @@
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
# Define a user account. Don't forget to set a password with passwd.
users.users.florian = {
isNormalUser = true;
description = "florian";
extraGroups = [ "networkmanager" "wheel" ];
};
home-manager.users.florian = {
home = {
username = "florian";
homeDirectory = "/home/florian";
stateVersion = "24.05";
};
programs.home-manager.enable = true;
nix.settings.experimental-features = [ "nix-command" "flakes" ];
};
networking.hostName = "nixos-laptop-perso"; # Define your hostname.
hardware.nvidia.prime = {
@ -50,5 +32,20 @@
nvidiaBusId = "PCI:1:0:0";
};
# customModules.gpuPassthrough.enable = true;
modules = {
desktop = {
plasma.enable = true;
};
system = {
bluetooth.enable = true;
gamingKernel.enable = true;
keymaps.layout = "us";
nvidia.enable = true;
pipewire.enable = true;
plymouth.enable = true;
printing.enable = true;
waydroid.enable = true;
};
};
}