add working sample of homeage
This commit is contained in:
parent
583480b3e6
commit
b4dd52e7e2
2 changed files with 11 additions and 4 deletions
|
@ -14,21 +14,19 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = { nixpkgs, home-manager, nur, ... }: {
|
outputs = { nixpkgs, home-manager, homeage, ... }: {
|
||||||
nixosConfigurations = {
|
nixosConfigurations = {
|
||||||
pim = nixpkgs.lib.nixosSystem {
|
pim = nixpkgs.lib.nixosSystem {
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
modules = [
|
modules = [
|
||||||
./configuration.nix
|
./configuration.nix
|
||||||
# { nixpkgs.overlays = [ nur.overlay ]; }
|
|
||||||
# (args: home-manager.nixosModules.home-manager {
|
|
||||||
home-manager.nixosModules.home-manager {
|
home-manager.nixosModules.home-manager {
|
||||||
# inherit (args) lib pkgs config utils;
|
|
||||||
home-manager.useGlobalPkgs = true;
|
home-manager.useGlobalPkgs = true;
|
||||||
home-manager.useUserPackages = true;
|
home-manager.useUserPackages = true;
|
||||||
home-manager.users.pim = {
|
home-manager.users.pim = {
|
||||||
imports = [
|
imports = [
|
||||||
./home/home.nix
|
./home/home.nix
|
||||||
|
homeage.homeManagerModules.homeage
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -45,4 +45,13 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
xdg.userDirs.enable = true;
|
xdg.userDirs.enable = true;
|
||||||
|
|
||||||
|
# homeage = {
|
||||||
|
# identityPaths = [ "/home/pim/Downloads/rage/homeage-test/identity.txt" ];
|
||||||
|
# installationType = "systemd";
|
||||||
|
# file."helloworld" = {
|
||||||
|
# source = ./homeage-test/source.txt.age;
|
||||||
|
# symlinks = [ "/home/pim/Downloads/rage/homeage-test/result2.txt" ];
|
||||||
|
# };
|
||||||
|
# };
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue