From 4db5ead22b147a5103817fa2cb1289dd01652b29 Mon Sep 17 00:00:00 2001 From: Tasia Iso Date: Sat, 5 Oct 2024 10:25:38 +0200 Subject: [PATCH] test --- hosts/vulpecula/configuration.nix | 17 +++++++++++++---- hosts/vulpecula/hardware-configuration.nix | 2 ++ 2 files changed, 15 insertions(+), 4 deletions(-) diff --git a/hosts/vulpecula/configuration.nix b/hosts/vulpecula/configuration.nix index edbcc2c..b4bf81c 100644 --- a/hosts/vulpecula/configuration.nix +++ b/hosts/vulpecula/configuration.nix @@ -39,8 +39,6 @@ in { }; }; - boot.loader.grub.device = "/dev/sda"; - users.users.tasia = { isNormalUser = true; description = "Tasia"; @@ -53,6 +51,17 @@ in { ]; }; + users.users.vulpecula = { + isNormalUser = true; + description = "vulpecula"; + extraGroups = ["networkmanager" "wheel" "dialout"]; + initialPassword = "correcthorsebatterystaple"; + openssh.authorizedKeys.keys = [ + sshKeys.tasia.yubi-primary + sshKeys.tasia.yubi-spare + ]; + }; + services.nginx = { enable = true; recommendedProxySettings = true; @@ -71,8 +80,8 @@ in { }; boot.tmp.cleanOnBoot = true; - zramSwap.enable = true; - networking.domain = ""; + # zramSwap.enable = true; + # networking.domain = ""; system.stateVersion = "24.05"; } diff --git a/hosts/vulpecula/hardware-configuration.nix b/hosts/vulpecula/hardware-configuration.nix index 93cc9e6..2d36160 100644 --- a/hosts/vulpecula/hardware-configuration.nix +++ b/hosts/vulpecula/hardware-configuration.nix @@ -31,5 +31,7 @@ networking.useDHCP = lib.mkDefault true; # networking.interfaces.ens18.useDHCP = lib.mkDefault true; + boot.loader.grub.device = "/dev/sda"; + nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; }