Add impermanence for ship of harkinian's files.

This commit is contained in:
Tom Alexander 2025-02-13 20:10:59 -05:00
parent 48fa3c7436
commit cac15febfa
Signed by: talexander
GPG Key ID: D3A179C9A53C0EDE
3 changed files with 31 additions and 1 deletions

View File

@ -35,6 +35,21 @@
"type": "github"
}
},
"impermanence": {
"locked": {
"lastModified": 1737831083,
"narHash": "sha256-LJggUHbpyeDvNagTUrdhe/pRVp4pnS6wVKALS782gRI=",
"owner": "nix-community",
"repo": "impermanence",
"rev": "4b3e914cdf97a5b536a889e939fb2fd2b043a170",
"type": "github"
},
"original": {
"owner": "nix-community",
"repo": "impermanence",
"type": "github"
}
},
"nixgl": {
"inputs": {
"flake-utils": "flake-utils",
@ -75,6 +90,7 @@
"root": {
"inputs": {
"home-manager": "home-manager",
"impermanence": "impermanence",
"nixgl": "nixgl",
"nixpkgs": "nixpkgs"
}

View File

@ -9,12 +9,16 @@
url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs";
};
impermanence = {
url = "github:nix-community/impermanence";
};
};
outputs =
{
nixpkgs,
nixgl,
home-manager,
impermanence,
...
}:
let
@ -33,9 +37,10 @@
extraSpecialArgs = { inherit nixgl; };
modules = [
{ nixpkgs.overlays = [ nixgl.overlay ]; }
impermanence.homeManagerModules.impermanence
./hosts/deck
./home.nix
{ nixpkgs.overlays = [ nixgl.overlay ]; }
];
};
};

View File

@ -28,6 +28,15 @@
];
# TODO perhaps install ~/.local/share/soh/shipofharkinian.json
home.persistence."/home/deck/.persist" = {
directories = [
{
directory = ".local/share/soh";
method = "symlink";
}
];
};
})
]
);