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" "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": { "nixgl": {
"inputs": { "inputs": {
"flake-utils": "flake-utils", "flake-utils": "flake-utils",
@ -75,6 +90,7 @@
"root": { "root": {
"inputs": { "inputs": {
"home-manager": "home-manager", "home-manager": "home-manager",
"impermanence": "impermanence",
"nixgl": "nixgl", "nixgl": "nixgl",
"nixpkgs": "nixpkgs" "nixpkgs": "nixpkgs"
} }

View File

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

View File

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