no flake error
This commit is contained in:
parent
c48f9a1fd5
commit
95c05ba9e4
11 changed files with 133 additions and 158 deletions
|
|
@ -1,7 +1,7 @@
|
|||
{ lib, config, inputs, ... }:
|
||||
|
||||
{
|
||||
imports = [
|
||||
imports = lib.optionals (inputs ? home-manager) [
|
||||
inputs.home-manager.nixosModules.home-manager
|
||||
];
|
||||
|
||||
|
|
@ -13,8 +13,8 @@
|
|||
# Pass inputs and outputs to home-manager modules
|
||||
extraSpecialArgs = { inherit inputs; };
|
||||
|
||||
# Configure home-manager for each user
|
||||
users = lib.genAttrs config.osbmModules.users (username: {
|
||||
# Configure home-manager for each user (excluding root)
|
||||
users = lib.genAttrs (builtins.filter (u: u != "root") config.osbmModules.users) (username: {
|
||||
home.stateVersion = lib.mkDefault "24.05";
|
||||
imports = [ ../../home-manager ];
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue