aboutsummaryrefslogtreecommitdiff
path: root/hosts
diff options
context:
space:
mode:
authorCaroline Larimore <caroline@larimo.re>2024-07-22 19:25:41 -0700
committerCaroline Larimore <caroline@larimo.re>2024-07-22 19:25:41 -0700
commite83e084c5968ac53af169e1e67e9bb2895a723aa (patch)
tree7cf898c4cfee9fcffe0540df70d393719000a2b7 /hosts
parentf7ccee6cbe35fbc8026d3f9d8403a08d9d9a1c48 (diff)
Enable home manager for c on copenhagen
Diffstat (limited to 'hosts')
-rw-r--r--hosts/copenhagen/configuration.nix7
-rw-r--r--hosts/copenhagen/home/c.nix23
2 files changed, 30 insertions, 0 deletions
diff --git a/hosts/copenhagen/configuration.nix b/hosts/copenhagen/configuration.nix
index 9f3b721..1335a66 100644
--- a/hosts/copenhagen/configuration.nix
+++ b/hosts/copenhagen/configuration.nix
@@ -48,6 +48,13 @@
};
};
+ home-manager = {
+ extraSpecialArgs = { inherit inputs; };
+ users = {
+ "c" = import ./home/c.nix;
+ };
+ };
+
roles = {
minecraft = {
enable = true;
diff --git a/hosts/copenhagen/home/c.nix b/hosts/copenhagen/home/c.nix
new file mode 100644
index 0000000..1190c0f
--- /dev/null
+++ b/hosts/copenhagen/home/c.nix
@@ -0,0 +1,23 @@
+{ lib, pkgs, inputs, config, ...}:
+
+{
+ imports = [
+ inputs.impermanence.nixosModules.home-manager.impermanence
+ ];
+
+ home.stateVersion = "23.11";
+
+ home.persistence."/persist/home/c" = {
+ directories = [
+ ".gnupg"
+ ".ssh"
+
+ ".local/bin"
+ ];
+ allowOther = true;
+ };
+
+ home.packages = with pkgs; [
+ cloc
+ ];
+}