diff options
Diffstat (limited to 'modules')
-rwxr-xr-x | modules/base-server.nix | 11 | ||||
-rwxr-xr-x | modules/base.nix | 12 |
2 files changed, 6 insertions, 17 deletions
diff --git a/modules/base-server.nix b/modules/base-server.nix index 492272b..f985b41 100755 --- a/modules/base-server.nix +++ b/modules/base-server.nix @@ -41,13 +41,6 @@ i18n.defaultLocale = "en_US.UTF-8"; services = { - openssh = { - enable = true; - #allow more logins in cases where i have many ssh keys on a system - extraConfig = '' - MaxAuthTries 32 - ''; - }; prometheus = { exporters = { node = { @@ -93,9 +86,5 @@ }; }; }; - security.sudo.wheelNeedsPassword = false; - nixpkgs.config.allowUnfree = true; - - system.stateVersion = "22.11"; # DO NOT EDIT! } diff --git a/modules/base.nix b/modules/base.nix index 089142f..72672e4 100755 --- a/modules/base.nix +++ b/modules/base.nix @@ -8,7 +8,7 @@ ]; networking = { - hostName = lib.mkDefault "Rory-nix-base"; + hostName = lib.mkDefault "Rory-nix-base"; firewall = { enable = false; # allowedTCPPorts = [ ... ]; @@ -29,9 +29,6 @@ }; }; - security.sudo.wheelNeedsPassword = false; - nixpkgs.config.allowUnfree = true; - sound.enable = lib.mkDefault true; hardware.pulseaudio.enable = lib.mkDefault true; @@ -47,7 +44,8 @@ #sshfs duf kitty.terminfo - vimPlugins.vim-nix + neovim +# vimPlugins.vim-nix ]; systemd.coredump.extraConfig = lib.mkDefault '' @@ -55,5 +53,7 @@ ''; nix.settings.experimental-features = [ "nix-command" "flakes" ]; + nixpkgs.config.allowUnfree = true; + security.sudo.wheelNeedsPassword = false; system.stateVersion = "22.11"; # DO NOT EDIT! -} \ No newline at end of file +} |