From bc30869da959353a2eb9236c8bb317023895d64a Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Mon, 21 Jul 2025 08:02:43 -0700 Subject: import nix profile in the server profile --- nix/machines/nixos/x86_64-linux/vm-synology.nix | 16 +--------------- 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 -- cgit v1.2.3