add codespace home
This commit is contained in:
parent
d35639285f
commit
f327c0628a
2 changed files with 31 additions and 0 deletions
|
@ -165,6 +165,15 @@
|
||||||
inputs.nixvim.homeManagerModules.nixvim
|
inputs.nixvim.homeManagerModules.nixvim
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
"codespace@codespace" = home-manager.lib.homeManagerConfiguration {
|
||||||
|
pkgs = pkgsFor.x86_64-linux;
|
||||||
|
extraSpecialArgs = { inherit inputs outputs; };
|
||||||
|
modules = [
|
||||||
|
./home/yt/codespace.nix
|
||||||
|
inputs.nixvim.homeManagerModules.nixvim
|
||||||
|
];
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
22
home/yt/codespace.nix
Normal file
22
home/yt/codespace.nix
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
{
|
||||||
|
pkgs,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
{
|
||||||
|
imports = [
|
||||||
|
./common.nix
|
||||||
|
];
|
||||||
|
home = {
|
||||||
|
username = "codespace";
|
||||||
|
homeDirectory = "/home/codespace";
|
||||||
|
stateVersion = "24.05";
|
||||||
|
};
|
||||||
|
programs.home-manager.enable = true;
|
||||||
|
|
||||||
|
systemd.user.startServices = "sd-switch";
|
||||||
|
|
||||||
|
home.packages = with pkgs; [
|
||||||
|
foot.terminfo
|
||||||
|
attic-client
|
||||||
|
];
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue