aboutsummaryrefslogtreecommitdiff
path: root/flake
diff options
context:
space:
mode:
Diffstat (limited to 'flake')
-rw-r--r--flake/hosts.nix29
1 files changed, 21 insertions, 8 deletions
diff --git a/flake/hosts.nix b/flake/hosts.nix
index 2739051..5d77415 100644
--- a/flake/hosts.nix
+++ b/flake/hosts.nix
@@ -154,6 +154,11 @@ let
pkgs.git
];
}
+ {
+ home-manager.users.${adminUser.name}.imports = [
+ "${self}/home/programs/bat.nix"
+ ];
+ }
]
++ defaultModules
++ [
@@ -164,6 +169,15 @@ let
);
}
) (mapHosts (mapSystems "${self}/machines/nixos"));
+
+ adminUser = {
+ name = "fcuny";
+ uid = 1000;
+ userinfo = {
+ email = "franck@fcuny.net";
+ fullName = "Franck Cuny";
+ };
+ };
in
{
flake = {
@@ -181,14 +195,7 @@ in
specialArgs = {
inherit inputs self;
- adminUser = {
- name = "fcuny";
- uid = 1000;
- userinfo = {
- email = "franck@fcuny.net";
- fullName = "Franck Cuny";
- };
- };
+ adminUser = adminUser;
};
};
@@ -200,6 +207,12 @@ in
imports = defaultModules ++ [
inputs.my-go-tools.nixosModules.default
inputs.home-manager.nixosModules.home-manager
+ {
+ home-manager.users.${adminUser.name}.imports = [
+ "${self}/home/programs/bat.nix"
+ { home.stateVersion = "25.05"; }
+ ];
+ }
];
};