Move all files to nix-dendritic-example/
This commit is contained in:
parent
7f0d5e8ed1
commit
e96380d8c0
19 changed files with 0 additions and 0 deletions
28
nix-dendritic-example/modules/home-manager/nixos.nix
Normal file
28
nix-dendritic-example/modules/home-manager/nixos.nix
Normal file
|
@ -0,0 +1,28 @@
|
|||
{ config, inputs, ... }:
|
||||
|
||||
{
|
||||
flake.modules.nixos.pc = {
|
||||
imports = [ inputs.home-manager.nixosModules.home-manager ];
|
||||
|
||||
home-manager = {
|
||||
useGlobalPkgs = true;
|
||||
extraSpecialArgs.hasGlobalPkgs = true;
|
||||
|
||||
# https://github.com/nix-community/home-manager/issues/6770
|
||||
# useUserPackages = true;
|
||||
|
||||
users.${config.flake.meta.owner.username}.imports = [
|
||||
(
|
||||
{ osConfig, ... }:
|
||||
|
||||
{
|
||||
home.stateVersion = osConfig.system.stateVersion;
|
||||
}
|
||||
)
|
||||
|
||||
config.flake.modules.homeManager.base
|
||||
# config.flake.modules.homeManager.gui
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue