mob next [ci-skip] [ci skip] [skip ci]

lastFile:modules/clan/personal-computer/default.nix
This commit is contained in:
2026-01-14 14:29:26 +07:00
parent 636a99b850
commit e089aa7589
4 changed files with 9 additions and 19 deletions

View File

@@ -11,7 +11,7 @@
name = "home-user"; name = "home-user";
input = "self"; input = "self";
}; };
roles.settings = { roles.default.settings = {
username = "emmie"; username = "emmie";
kbLayout = "us,th"; kbLayout = "us,th";
kbOptions = "grp:win_space_toggle,grp:alt_shift_toggle"; kbOptions = "grp:win_space_toggle,grp:alt_shift_toggle";

View File

@@ -2,8 +2,6 @@
{ {
imports = [ imports = [
self.nixosModules.common self.nixosModules.common
self.nixosModules.personalComputer
self.nixosModules."home:emmie"
]; ];
nixpkgs.hostPlatform = { nixpkgs.hostPlatform = {

View File

@@ -24,16 +24,10 @@
}; };
}; };
perInstance = perInstance =
{ { settings, ... }:
settings,
...
}:
{ {
nixosModule = nixosModule =
{ { inputs, ... }:
inputs,
...
}:
let let
username = settings.username; username = settings.username;
in in

View File

@@ -6,16 +6,14 @@
manifest.categories = [ "System" ]; manifest.categories = [ "System" ];
roles.default = { roles.default = {
perInstance = perInstance.nixosModule =
{ ... }: { ... }:
{ {
nixosModule = imports = [
{ inputs, lib, ... }: ./printing.nix
{ ./mutable-user.nix
imports = [ ./automatic-timezone.nix
(inputs.import-tree.initFilter (p: !lib.hasSuffix "default.nix" p) ./.) ];
];
};
}; };
}; };
} }