enable home-manager
This commit is contained in:
10
flake.nix
10
flake.nix
@@ -6,6 +6,8 @@
|
||||
kde.url = "github:nix-community/kde2nix";
|
||||
nix-flatpak.url = "github:gmodena/nix-flatpak";
|
||||
# impermanence.url = "github:nix-community/impermanence";
|
||||
home-manager.url = "github:nix-community/home-manager";
|
||||
home-manager.inputs.nixpkgs.follows = "nixpkgs";
|
||||
lanzaboote = {
|
||||
url = "github:nix-community/lanzaboote/v0.3.0";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
@@ -13,7 +15,7 @@
|
||||
};
|
||||
|
||||
# outputs = { self, nixpkgs, impermanence, lanzaboote } @ inputs: {
|
||||
outputs = { self, nixpkgs, lanzaboote, kde, nix-flatpak } @ inputs: {
|
||||
outputs = { self, nixpkgs, lanzaboote, kde, nix-flatpak, home-manager } @ inputs: {
|
||||
nixosConfigurations = {
|
||||
"matt-nixos" = nixpkgs.lib.nixosSystem {
|
||||
system = "x86_64-linux";
|
||||
@@ -24,6 +26,12 @@
|
||||
nix-flatpak.nixosModules.nix-flatpak
|
||||
./configuration.nix
|
||||
# ./impermanence.nix
|
||||
home-manager.nixosModules.home-manager
|
||||
{
|
||||
home-manager.useGlobalPkgs = true;
|
||||
home-manager.useUserPackages = true;
|
||||
home-manager.users.matt = import ./home.nix;
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user