From 18d38769996f3a83ed4fd8324026e2322318702c Mon Sep 17 00:00:00 2001 From: smayzy Date: Wed, 18 Jun 2025 18:49:36 +0200 Subject: [PATCH] cleaning --- configuration.nix | 39 +++++++++++++-------------------------- 1 file changed, 13 insertions(+), 26 deletions(-) diff --git a/configuration.nix b/configuration.nix index 7032816..759de10 100644 --- a/configuration.nix +++ b/configuration.nix @@ -14,21 +14,19 @@ }; }; + system.stateVersion = "24.11"; + + nix.settings.experimental-features = [ "nix-command" "flakes" ]; + boot.loader.grub.enable = true; boot.loader.grub.efiSupport = true; boot.loader.grub.device = "nodev"; boot.loader.efi.canTouchEfiVariables = true; - nix.settings.experimental-features = [ "nix-command" "flakes" ]; - networking.hostName = "nixos"; - networking.networkmanager.enable = true; - time.timeZone = "Europe/Paris"; - i18n.defaultLocale = "en_US.UTF-8"; - i18n.extraLocaleSettings = { LC_ADDRESS = "fr_FR.UTF-8"; LC_IDENTIFICATION = "fr_FR.UTF-8"; @@ -41,6 +39,15 @@ LC_TIME = "fr_FR.UTF-8"; }; + users.users.smayzy = { + isNormalUser = true; + description = "smayzy"; + extraGroups = [ "networkmanager" "wheel" ]; + packages = with pkgs; []; + }; + + services.xserver.enable = true; + services.pulseaudio.enable = false; security.rtkit.enable = true; services.pipewire = { @@ -50,34 +57,16 @@ pulse.enable = true; }; - - services.xserver.enable = true; - - # Configure keymap in X11 services.xserver.xkb = { layout = "fr"; variant = ""; }; - - # Configure console keymap console.keyMap = "fr"; - # Define a user account. Don't forget to set a password with ‘passwd’. - users.users.smayzy = { - isNormalUser = true; - description = "smayzy"; - extraGroups = [ "networkmanager" "wheel" ]; - packages = with pkgs; []; - }; - - - services.desktopManager.plasma6.enable = true; services.displayManager.sddm.enable = true; services.displayManager.sddm.wayland.enable = true; - # List packages installed in system profile. To search, run: - # $ nix search wget environment.systemPackages = with pkgs; [ home-manager vim @@ -96,6 +85,4 @@ flake = "/home/smayzy/nix-config"; }; - system.stateVersion = "24.11"; - }