diff options
Diffstat (limited to 'hosts')
| -rw-r--r-- | hosts/desktop/configuration.nix | 22 | ||||
| -rw-r--r-- | hosts/desktop/wooting.nix | 9 | ||||
| -rw-r--r-- | hosts/vps/configuration.nix | 17 |
3 files changed, 33 insertions, 15 deletions
diff --git a/hosts/desktop/configuration.nix b/hosts/desktop/configuration.nix index 9cee9a7..d35102f 100644 --- a/hosts/desktop/configuration.nix +++ b/hosts/desktop/configuration.nix @@ -1,10 +1,12 @@ -{ config, pkgs, ... }: +{ + pkgs, + ... +}: { - imports = - [ - ./hardware-configuration.nix - ]; + imports = [ + ./hardware-configuration.nix + ]; # Bootloader. boot.loader.systemd-boot.enable = true; @@ -63,7 +65,11 @@ users.users.schererleander = { isNormalUser = true; description = "schererleander"; - extraGroups = [ "networkmanager" "wheel" "video" "input" ]; + extraGroups = [ + "networkmanager" + "wheel" + "video" + "input" ]; }; @@ -81,8 +87,8 @@ services.openssh.enable = true; programs.gnupg.agent = { - enable = true; - enableSSHSupport = true; + enable = true; + enableSSHSupport = true; }; system.stateVersion = "25.05"; diff --git a/hosts/desktop/wooting.nix b/hosts/desktop/wooting.nix index e6217cd..3f446ba 100644 --- a/hosts/desktop/wooting.nix +++ b/hosts/desktop/wooting.nix @@ -1,4 +1,9 @@ -{ config, lib, pkgs, ... }: +{ + config, + lib, + pkgs, + ... +}: { options.wooting.enable = lib.mkEnableOption "Enable Wooting udev rules"; @@ -27,4 +32,4 @@ wootility ]; }; -}
\ No newline at end of file +} diff --git a/hosts/vps/configuration.nix b/hosts/vps/configuration.nix index b60f695..7a928a9 100644 --- a/hosts/vps/configuration.nix +++ b/hosts/vps/configuration.nix @@ -1,4 +1,4 @@ -{ config, pkgs, ... }: +{ pkgs, ... }: { imports = [ @@ -35,7 +35,7 @@ neovim htop ]; - + system.autoUpgrade = { enable = true; allowReboot = true; @@ -89,7 +89,7 @@ }; }; virtualHosts."cloud.schererleander.de" = { - sslCertificate = "/etc/ssl/certs/schererleander.fullchain.pem"; + sslCertificate = "/etc/ssl/certs/schererleander.fullchain.pem"; sslCertificateKey = "/etc/ssl/private/schererleander.key"; forceSSL = true; enableACME = true; @@ -115,9 +115,16 @@ }; }; - networking.firewall.allowedTCPPorts = [ 80 443 8693 ]; + networking.firewall.allowedTCPPorts = [ + 80 + 443 + 8693 + ]; - nix.settings.experimental-features = [ "nix-command" "flakes" ]; + nix.settings.experimental-features = [ + "nix-command" + "flakes" + ]; nixpkgs.config.allowUnfree = true; system.stateVersion = "25.05"; } |
