Compare commits
3
Commits
a161febd36
...
9183b17731
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9183b17731 | ||
|
|
97a2a5b52b | ||
|
|
4d0cc15291 |
@@ -8,7 +8,7 @@ let
|
|||||||
cfg = config.k8s.k9s;
|
cfg = config.k8s.k9s;
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
options.k8s.k9s.enable = lib.mkEnableOption "";
|
options.k8s.k9s.enable = lib.mkEnableOption "k9s";
|
||||||
|
|
||||||
config = lib.mkIf cfg.enable {
|
config = lib.mkIf cfg.enable {
|
||||||
programs.k9s = {
|
programs.k9s = {
|
||||||
|
|||||||
@@ -26,7 +26,6 @@ in
|
|||||||
inherit (meta) host;
|
inherit (meta) host;
|
||||||
|
|
||||||
hardware.facter.reportPath = ./facter.json;
|
hardware.facter.reportPath = ./facter.json;
|
||||||
home-manager.users.${config.host.username} = import ../../home/hosts/${config.host.name};
|
|
||||||
|
|
||||||
"ai-tools".enable = true;
|
"ai-tools".enable = true;
|
||||||
anki.enable = true;
|
anki.enable = true;
|
||||||
|
|||||||
@@ -25,7 +25,6 @@ in
|
|||||||
inherit (meta) host;
|
inherit (meta) host;
|
||||||
|
|
||||||
hardware.facter.reportPath = ./facter.json;
|
hardware.facter.reportPath = ./facter.json;
|
||||||
home-manager.users.${config.host.username} = import ../../home/hosts/${config.host.name};
|
|
||||||
|
|
||||||
"ai-tools".enable = true;
|
"ai-tools".enable = true;
|
||||||
anki.enable = true;
|
anki.enable = true;
|
||||||
|
|||||||
@@ -4,6 +4,6 @@
|
|||||||
tags = [ "lab" ];
|
tags = [ "lab" ];
|
||||||
deploy.autoRollback = true;
|
deploy.autoRollback = true;
|
||||||
host = {
|
host = {
|
||||||
username = "username";
|
username = "h";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
{
|
{
|
||||||
inputs,
|
inputs,
|
||||||
config,
|
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
let
|
let
|
||||||
@@ -17,7 +16,6 @@ in
|
|||||||
inherit (meta) host;
|
inherit (meta) host;
|
||||||
|
|
||||||
hardware.facter.reportPath = ./facter.json;
|
hardware.facter.reportPath = ./facter.json;
|
||||||
home-manager.users.${config.host.username} = import ../../home/hosts/vm;
|
|
||||||
|
|
||||||
"ai-tools".enable = true;
|
"ai-tools".enable = true;
|
||||||
anki.enable = true;
|
anki.enable = true;
|
||||||
|
|||||||
@@ -9,6 +9,7 @@
|
|||||||
|
|
||||||
let
|
let
|
||||||
inherit (inputs.nixpkgs) lib;
|
inherit (inputs.nixpkgs) lib;
|
||||||
|
homeDir = ../../home/hosts + "/${config.host.name}";
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
@@ -83,6 +84,9 @@ in
|
|||||||
host.username = lib.mkDefault config.host.username;
|
host.username = lib.mkDefault config.host.username;
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
users = lib.optionalAttrs (builtins.pathExists homeDir) {
|
||||||
|
${config.host.username} = import homeDir;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user