Continue refactoring

This commit is contained in:
Florian RICHER 2024-05-25 15:16:08 +02:00
parent 34c8b954e5
commit edcbfaf379
9 changed files with 95 additions and 68 deletions

View file

@ -7,18 +7,7 @@
{
imports =
[
../../modules/linux_gaming.nix
../../modules/system.nix
../../modules/network.nix
../../modules/nvidia.nix
../../modules/plasma.nix
../../modules/keymaps/us.nix
../../modules/bluetooth.nix
../../modules/pipewire.nix
../../modules/plymouth.nix
../../modules/waydroid.nix
../../modules # Import optional configuration
../../modules
# Include the results of the hardware scan.
./hardware-configuration.nix
@ -28,5 +17,23 @@
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-desktop-perso"; # Define your hostname.
}