aboutsummaryrefslogtreecommitdiff
path: root/machines/nixos/x86_64-linux/vm-synology.nix
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2025-07-21 12:41:24 -0700
committerFranck Cuny <franck@fcuny.net>2025-07-21 12:41:24 -0700
commit0689a8c9eebcb347afee425d9c6551618079d55a (patch)
treea6d533cccc307a2ace18f238225c152b718b7c1a /machines/nixos/x86_64-linux/vm-synology.nix
parentmake the configuration more specific (diff)
downloadinfra-0689a8c9eebcb347afee425d9c6551618079d55a.tar.gz
install minimal home-manager profile on the VM
Diffstat (limited to 'machines/nixos/x86_64-linux/vm-synology.nix')
-rw-r--r--machines/nixos/x86_64-linux/vm-synology.nix16
1 files changed, 15 insertions, 1 deletions
diff --git a/machines/nixos/x86_64-linux/vm-synology.nix b/machines/nixos/x86_64-linux/vm-synology.nix
index 9896ebb..3c51bb1 100644
--- a/machines/nixos/x86_64-linux/vm-synology.nix
+++ b/machines/nixos/x86_64-linux/vm-synology.nix
@@ -1,4 +1,8 @@
-{ self, ... }:
+{
+ adminUser,
+ self,
+ ...
+}:
{
age = {
secrets = {
@@ -43,6 +47,16 @@
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINBkozy+X96u5ciX766bJ/AyQ3xm1tXZTIr5+4PVFZFi"
];
+ home-manager.users.${adminUser.name} = {
+ home.stateVersion = "25.05";
+ home.username = "${adminUser.name}";
+ home.homeDirectory = "/Users/${adminUser.name}";
+ imports = [
+ ../../../users/profiles/minimal.nix
+ ];
+ inherit (adminUser) userinfo;
+ };
+
# This value determines the NixOS release from which the default
# settings for stateful data, like file locations and database versions
# on your system were taken. It‘s perfectly fine and recommended to leave