{ config, pkgs, ... }: { imports = [ ./hardware-configuration.nix ]; nix.settings.experimental-features = "nix-command flakes"; system.autoUpgrade.enable = true; system.autoUpgrade.dates = "weekly"; nix.gc.automatic = true; nix.gc.dates = "daily"; nix.gc.options = "--delete-older-than 10d"; nix.settings.auto-optimise-store = true; boot.loader.systemd-boot.enable = true; boot.loader.efi.canTouchEfiVariables = true; boot.kernelPackages = pkgs.linuxPackages_latest; boot.initrd.luks.devices."luks-324ce23c-e630-42a1-8558-184e999053a5".device = "/dev/disk/by-uuid/324ce23c-e630-42a1-8558-184e999053a5"; networking.hostName = "shar"; networking.networkmanager.enable = true; time.timeZone = "Europe/Paris"; i18n.defaultLocale = "en_GB.UTF-8"; i18n.extraLocaleSettings = { LC_ADDRESS = "fr_FR.UTF-8"; LC_IDENTIFICATION = "fr_FR.UTF-8"; LC_MEASUREMENT = "fr_FR.UTF-8"; LC_MONETARY = "fr_FR.UTF-8"; LC_NAME = "fr_FR.UTF-8"; LC_NUMERIC = "fr_FR.UTF-8"; LC_PAPER = "fr_FR.UTF-8"; LC_TELEPHONE = "fr_FR.UTF-8"; LC_TIME = "fr_FR.UTF-8"; }; services.xserver.enable = true; services.displayManager.gdm.enable = true; services.desktopManager.gnome.enable = true; services.xserver.xkb = { layout = "fr"; variant = "ergol"; }; services.gnome.gnome-browser-connector.enable = true; services.printing.enable = true; services.pulseaudio.enable = false; security.rtkit.enable = true; services.pipewire = { enable = true; alsa.enable = true; alsa.support32Bit = true; pulse.enable = true; }; services.openssh.enable = true; console.keyMap = "fr"; users.users.hms = { isNormalUser = true; description = "hms"; extraGroups = [ "networkmanager" "wheel" ]; packages = [ ]; }; nixpkgs.config.allowUnfree = true; environment.systemPackages = with pkgs; [ helix wget ]; programs.gnupg.agent = { enable = true; enableSSHSupport = true; }; system.stateVersion = "25.11"; }