add working sample of homeage

This commit is contained in:
Pim Kunis 2023-10-13 16:24:11 +02:00
parent 583480b3e6
commit b4dd52e7e2
2 changed files with 11 additions and 4 deletions

View file

@ -14,21 +14,19 @@
};
};
outputs = { nixpkgs, home-manager, nur, ... }: {
outputs = { nixpkgs, home-manager, homeage, ... }: {
nixosConfigurations = {
pim = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
modules = [
./configuration.nix
# { nixpkgs.overlays = [ nur.overlay ]; }
# (args: home-manager.nixosModules.home-manager {
home-manager.nixosModules.home-manager {
# inherit (args) lib pkgs config utils;
home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true;
home-manager.users.pim = {
imports = [
./home/home.nix
homeage.homeManagerModules.homeage
];
};
}

View file

@ -45,4 +45,13 @@
};
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" ];
# };
# };
}