Compare commits

...

3 Commits

Author SHA1 Message Date
f9452398e8 alias for building wsl 2024-09-29 09:38:57 -07:00
65ad0a6470 remove TODO from readme 2024-09-29 09:24:55 -07:00
697c2897c2 fix path for git usage by chezmoi 2024-09-29 09:18:01 -07:00
4 changed files with 7 additions and 6 deletions

View File

@ -5,6 +5,9 @@
alias nu="cd ~/.local/share/chezmoi/provision && \
sudo nixos-rebuild switch --impure --flake .#$(hostname) && \
cd -"
alias nb="cd ~/.local/share/chezmoi/provision && \
sudo nix run .#nixosConfigurations.wsl.config.system.build.tarballBuilder && \
cd -"
# sesh
function s() {

View File

@ -1,7 +1,7 @@
{ lib, system, user, inputs, agenix, home-manager, nixos-wsl, ... }:
{
inherit system;
specialArgs = { inherit user inputs nixos-wsl home-manger; };
specialArgs = { inherit user inputs nixos-wsl home-manager; };
modules = [
../default # shared by all configs
./configuration.nix # wsl specific

View File

@ -18,7 +18,10 @@ in {
# Optionally apply chezmoi dotfiles with home-manager activation
home-manager.users.${user} = lib.mkIf cfg.apply {
home.activation.chezmoi = home-manager.lib.hm.dag.entryAfter [ "installPackages" ] ''
_saved_path=$PATH
PATH="${pkgs.git}/bin:$PATH"
run ${pkgs.chezmoi}/bin/chezmoi apply --force
PATH=$_saved_path
'';
};
};

View File

@ -19,8 +19,3 @@ for information on initial installation.
| <img src="./resources/img/torus.png" width="100"> | [Torus](./provision/hosts/torus/) | Home server | Primary home server for storage, hosting machine backups, and running services like Jellyfin. |
| <img src="./resources/img/bulwark.png" width="100"> | [Bulwark](./provision/hosts/bulwark/) | Steam Deck | NixOS based Steam Deck that can has my linux niceties and acts like a Steam Deck using the great [Jovian Nixos](https://github.com/Jovian-Experiments/Jovian-NixOS). |
| <img src="./resources/img/shivan.png" width="100"> | [Shivan](./provision/hosts/shivan/) | Personal Laptop | Personal (and very slow) laptop for basic mobile work. |
## TODO
- Add chezmoi deploy to nix provision (for wsl and normal machines)
- Figure out how to include agenix secrets with wsl