update nixpkgs + fixes
This commit is contained in:
parent
f719cc8149
commit
0794ab18f0
8 changed files with 34 additions and 23 deletions
|
|
@ -1,7 +1,30 @@
|
|||
{ ... }:
|
||||
# This is a NixOS module, not a home-manager module!
|
||||
{
|
||||
lib,
|
||||
inputs,
|
||||
config,
|
||||
options,
|
||||
...
|
||||
}:
|
||||
{
|
||||
imports = [
|
||||
./unison.nix
|
||||
./protonmail-bridge.nix
|
||||
inputs.home-manager.nixosModules.home-manager
|
||||
];
|
||||
|
||||
config = lib.mkIf config.desktop.enable {
|
||||
home-manager.users."hd" = lib.mkAliasDefinitions options.home;
|
||||
# install to /etc/profiles, not ~/.nix-profile
|
||||
home-manager.useUserPackages = true;
|
||||
# dont use home.nixpkgs
|
||||
home-manager.useGlobalPkgs = true;
|
||||
|
||||
home = {
|
||||
imports = [
|
||||
./unison.nix
|
||||
./protonmail-bridge.nix
|
||||
];
|
||||
|
||||
home.stateVersion = config.system.stateVersion;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue