Compare commits

..

No commits in common. "f9452398e8697d4a2c6e141ce3860cbe20f222c4" and "f92c6e6b5b2ae4eee38a5e2b73bd8ddff1c7c3ff" have entirely different histories.

4 changed files with 6 additions and 7 deletions

View File

@ -5,9 +5,6 @@
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-manager; };
specialArgs = { inherit user inputs nixos-wsl home-manger; };
modules = [
../default # shared by all configs
./configuration.nix # wsl specific

View File

@ -18,10 +18,7 @@ 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,3 +19,8 @@ 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