diff --git a/system-config/configuration/laptop/default.nix b/system-config/configuration/laptop/default.nix index 9a49380..6f29a2a 100644 --- a/system-config/configuration/laptop/default.nix +++ b/system-config/configuration/laptop/default.nix @@ -159,56 +159,16 @@ system.stateVersion = "23.05"; # Did you read the comment? - # Set your time zone. - time.timeZone = "America/Chicago"; - - # Select internationalisation properties. - i18n.defaultLocale = "en_US.UTF-8"; - - i18n.extraLocaleSettings = { - LC_ADDRESS = "en_US.UTF-8"; - LC_IDENTIFICATION = "en_US.UTF-8"; - LC_MEASUREMENT = "en_US.UTF-8"; - LC_MONETARY = "en_US.UTF-8"; - LC_NAME = "en_US.UTF-8"; - LC_NUMERIC = "en_US.UTF-8"; - LC_PAPER = "en_US.UTF-8"; - LC_TELEPHONE = "en_US.UTF-8"; - LC_TIME = "en_US.UTF-8"; - }; - networking = { - hostName = "laptop"; nameservers = [ "1.1.1.1" "1.0.0.1" ]; networkmanager.enable = true; - #firewall.allowedTCPPorts = [ 22 80 443 ]; - }; - - - users.users."nathan" = { - isNormalUser = true; - initialPassword = "7567"; - #hashedPasswordFile = config.sops.secrets."nathan/pass".path; - extraGroups = [ - "wheel" - "podman" - "docker" - "networkmanager" - ]; # Enable ‘sudo’ for the user. - openssh.authorizedKeys.keys = []; - }; - - nix = { - nixPath = [ "nixpkgs=${inputs.nixpkgs}" ]; - settings = { - experimental-features = [ "nix-command" "flakes" ]; - }; }; sops = { age.keyFile = "/home/nathan/.config/sops/age/keys.txt"; defaultSopsFile = ./secrets.yaml; defaultSopsFormat = "yaml"; + secrets."nathan/pass".neededForUsers = true; }; fonts.packages = with pkgs; [ nerd-fonts.fira-code ];