diff options
author | TheArcaneBrony <myrainbowdash949@gmail.com> | 2023-02-16 19:53:17 +0000 |
---|---|---|
committer | TheArcaneBrony <myrainbowdash949@gmail.com> | 2023-02-16 19:53:17 +0000 |
commit | 60c798ad30288bd4e0d117b02a50b98c549ea56e (patch) | |
tree | 3f16b1efe40b94f709595a82d45dbff5cd520816 /modules | |
parent | Update kernel (diff) | |
download | Rory-Open-Architecture-60c798ad30288bd4e0d117b02a50b98c549ea56e.tar.xz |
Add git subdomain
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 +} |