aboutsummaryrefslogtreecommitdiff
path: root/machines/nixos/x86_64-linux/bree.nix
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2025-12-13 15:19:21 -0800
committerFranck Cuny <franck@fcuny.net>2025-12-13 15:19:21 -0800
commit771039f64d44a60f9691582fe559e26b431bbbe8 (patch)
tree1f980dd57b0f3256825f04f101c81ae458a4b424 /machines/nixos/x86_64-linux/bree.nix
parentupdate builders configuration (diff)
downloadinfra-771039f64d44a60f9691582fe559e26b431bbbe8.tar.gz
remove abstractions for managing users
Diffstat (limited to '')
-rw-r--r--machines/nixos/x86_64-linux/bree.nix22
1 files changed, 8 insertions, 14 deletions
diff --git a/machines/nixos/x86_64-linux/bree.nix b/machines/nixos/x86_64-linux/bree.nix
index f91bf4f..9c9177d 100644
--- a/machines/nixos/x86_64-linux/bree.nix
+++ b/machines/nixos/x86_64-linux/bree.nix
@@ -1,9 +1,4 @@
-{
- lib,
- adminUser,
- config,
- ...
-}:
+{ lib, config, ... }:
{
imports = [
../../../profiles/cgroups.nix
@@ -12,6 +7,7 @@
../../../profiles/hardware/synology-vm.nix
../../../profiles/home-manager.nix
../../../profiles/server.nix
+ ../../../profiles/users/fcuny.nix
../../../profiles/wireguard.nix
];
@@ -19,14 +15,6 @@
networking.useDHCP = lib.mkDefault true;
systemd.network.wait-online.anyInterface = lib.mkDefault config.networking.useDHCP;
- home-manager = {
- users.${adminUser.name} = {
- imports = [
- ../../../home/profiles/minimal.nix
- ];
- };
- };
-
age.secrets.disk-unlock-key.file = ../../../secrets/bree/disk-unlock-key.age;
age.secrets.disk-passphrase.file = ../../../secrets/bree/disk-passphrase.age;
@@ -40,4 +28,10 @@
};
system.stateVersion = "23.11"; # Did you read the comment?
+
+ home-manager.users.fcuny = {
+ imports = [
+ ../../../home/profiles/minimal.nix
+ ];
+ };
}