aboutsummaryrefslogtreecommitdiff
path: root/nix
diff options
context:
space:
mode:
Diffstat (limited to 'nix')
-rw-r--r--nix/machines/nixos/x86_64-linux/vm-synology.nix16
-rw-r--r--nix/profiles/server.nix5
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