From 98bf26a1a6e328ea14b0273e9d76ffb443292f03 Mon Sep 17 00:00:00 2001 From: Anish L Date: Fri, 22 Apr 2022 23:06:08 +1000 Subject: [PATCH] IT WORKS!!! --- flake.nix | 4 ++-- install.sh | 4 ++++ profiles/server/default.nix | 4 +--- 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/flake.nix b/flake.nix index ce28dfaa..2598f977 100644 --- a/flake.nix +++ b/flake.nix @@ -117,8 +117,8 @@ }; suites = with profiles; rec { base = [ core users.root users.anish ]; - sealight = [ base ]; # matrix rsshub backup wireguard - mossnet = [ base ]; # shaarli wallabag nextcloud taskwarrior headphones + sealight = [ base server ]; # matrix rsshub backup wireguard + mossnet = [ base server ]; # shaarli wallabag nextcloud taskwarrior headphones cube = [ base site server ]; graphical = [ base bluetooth music sync wireguard wifi desktop ]; curve = [ graphical secrets ]; diff --git a/install.sh b/install.sh index 29b62639..2ddac5b9 100755 --- a/install.sh +++ b/install.sh @@ -166,3 +166,7 @@ cat > /mnt/etc/nixos/configuration.nix <<'endmsg' } endmsg + +cd /mnt +nixos-install --root /mnt +passwd diff --git a/profiles/server/default.nix b/profiles/server/default.nix index 002f83f0..a4f34080 100644 --- a/profiles/server/default.nix +++ b/profiles/server/default.nix @@ -1,8 +1,6 @@ { config, ... }: { - # Enable the OpenSSH daemon. services.openssh.enable = true; networking.firewall.allowedTCPPorts = [ 22 ]; - security.sudo.wheelNeedsPassword = false; - + security.sudo.wheelNeedsPassword = false; # needed for deploy-rs }