diff --git a/features/server/devserver.nix b/features/server/devserver.nix index e5f9d7c..00cac72 100644 --- a/features/server/devserver.nix +++ b/features/server/devserver.nix @@ -1,5 +1,6 @@ +# A server for (remote) development purposes. { pkgs, ... }: { environment.systemPackages = with pkgs; [ - nodejs-14_x # Need this for https://nixos.wiki/wiki/Vscode + nodejs-14_x # Need this for https://nixos.wiki/wiki/Vscode server ]; } diff --git a/features/server/harden.nix b/features/server/harden.nix index b5e09cd..3b87567 100644 --- a/features/server/harden.nix +++ b/features/server/harden.nix @@ -19,4 +19,5 @@ ]; }; }; + nix.allowedUsers = [ "root" "srid" ]; } diff --git a/flake.lock b/flake.lock index 602014c..ffb6e4d 100644 --- a/flake.lock +++ b/flake.lock @@ -57,11 +57,11 @@ "nixpkgs": "nixpkgs" }, "locked": { - "lastModified": 1630629767, - "narHash": "sha256-6dqbGxR/zTMmmW3zGUd7PY+f6lDGZOmNkkg5rpifCLI=", + "lastModified": 1630960838, + "narHash": "sha256-JWMNUbJ7Q57YKfP3QVr2Kk4sl0d4zZxZ93pymvsj+g0=", "owner": "srid", "repo": "ema", - "rev": "188d1faea09cae860c34eaa70df4e3f1bfa9cfa1", + "rev": "97aca66a3b5a4c1f2ac77c7474e97b74054929fb", "type": "github" }, "original": { @@ -134,11 +134,11 @@ "windicss": "windicss" }, "locked": { - "lastModified": 1630630048, - "narHash": "sha256-2A8h7iFltBcuhK1ghH9ivgpyQWlDvj7imPyl68iVjDE=", + "lastModified": 1630960993, + "narHash": "sha256-dDSWCY+3+7tG0ywX26Kw30mFm3hgYrORyQFIegU9jZ8=", "owner": "srid", "repo": "emanote", - "rev": "72f93973812662a9dfbbfd8b11f29e5b2f573d72", + "rev": "5b70dfa0cbadffc0312e0281b97bcfae422d9cf1", "type": "github" }, "original": { @@ -523,17 +523,17 @@ }, "nixpkgs": { "locked": { - "lastModified": 1630140382, - "narHash": "sha256-ntXepAHFlAEtaYIU5EzckRUODeeMgpu1u2Yug+4LFNc=", + "lastModified": 1630850248, + "narHash": "sha256-OzJi6Olf7mSVhGt3W7qOMVP5Qk1lH60zlHeCcITzfv0=", "owner": "nixos", "repo": "nixpkgs", - "rev": "08ef0f28e3a41424b92ba1d203de64257a9fca6a", + "rev": "23d5823337f4502dfa17e192d8c53a47cabcb6b4", "type": "github" }, "original": { "owner": "nixos", "repo": "nixpkgs", - "rev": "08ef0f28e3a41424b92ba1d203de64257a9fca6a", + "rev": "23d5823337f4502dfa17e192d8c53a47cabcb6b4", "type": "github" } }, diff --git a/hosts/ryzen9.nix b/hosts/ryzen9.nix index 95392f8..24a16d9 100644 --- a/hosts/ryzen9.nix +++ b/hosts/ryzen9.nix @@ -106,11 +106,9 @@ extraOptions = '' experimental-features = nix-command flakes ''; - allowedUsers = [ "root" "srid" ]; trustedUsers = [ "root" "srid" ]; }; - services.netdata.enable = true; programs = {