diff options
| author | Franck Cuny <franck@fcuny.net> | 2025-07-21 08:02:43 -0700 |
|---|---|---|
| committer | Franck Cuny <franck@fcuny.net> | 2025-07-21 08:13:13 -0700 |
| commit | bc30869da959353a2eb9236c8bb317023895d64a (patch) | |
| tree | 9bcead639b123b89b869eca82a97c2e0c64862d7 | |
| parent | move nix configuration to its own profile (diff) | |
| download | infra-bc30869da959353a2eb9236c8bb317023895d64a.tar.gz | |
import nix profile in the server profile
| -rw-r--r-- | nix/machines/nixos/x86_64-linux/vm-synology.nix | 16 | ||||
| -rw-r--r-- | nix/profiles/server.nix | 5 |
2 files changed, 6 insertions, 15 deletions
diff --git a/nix/machines/nixos/x86_64-linux/vm-synology.nix b/nix/machines/nixos/x86_64-linux/vm-synology.nix index 02030fc..9896ebb 100644 --- a/nix/machines/nixos/x86_64-linux/vm-synology.nix +++ b/nix/machines/nixos/x86_64-linux/vm-synology.nix @@ -1,4 +1,4 @@ -{ self, pkgs, ... }: +{ self, ... }: { age = { secrets = { @@ -31,20 +31,6 @@ boot.loader.efi.canTouchEfiVariables = true; networking.hostName = "vm-synology"; - nix = { - package = pkgs.nixVersions.latest; - settings = { - trusted-users = [ - "@admin" - "fcuny" - ]; - experimental-features = [ - "nix-command" - "flakes" - ]; - }; - }; - # Define a user account. Don't forget to set a password with ‘passwd’. users.mutableUsers = false; diff --git a/nix/profiles/server.nix b/nix/profiles/server.nix index 30f186b..1588314 100644 --- a/nix/profiles/server.nix +++ b/nix/profiles/server.nix @@ -5,6 +5,11 @@ ... }: { + + imports = [ + ./nix.nix + ]; + time.timeZone = "America/Los_Angeles"; # Don't require password for sudo |
