mirror of
https://github.com/starr-dusT/dotfiles.git
synced 2025-05-19 10:56:05 -07:00
Compare commits
No commits in common. "f9452398e8697d4a2c6e141ce3860cbe20f222c4" and "f92c6e6b5b2ae4eee38a5e2b73bd8ddff1c7c3ff" have entirely different histories.
f9452398e8
...
f92c6e6b5b
@ -5,9 +5,6 @@
|
|||||||
alias nu="cd ~/.local/share/chezmoi/provision && \
|
alias nu="cd ~/.local/share/chezmoi/provision && \
|
||||||
sudo nixos-rebuild switch --impure --flake .#$(hostname) && \
|
sudo nixos-rebuild switch --impure --flake .#$(hostname) && \
|
||||||
cd -"
|
cd -"
|
||||||
alias nb="cd ~/.local/share/chezmoi/provision && \
|
|
||||||
sudo nix run .#nixosConfigurations.wsl.config.system.build.tarballBuilder && \
|
|
||||||
cd -"
|
|
||||||
|
|
||||||
# sesh
|
# sesh
|
||||||
function s() {
|
function s() {
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{ lib, system, user, inputs, agenix, home-manager, nixos-wsl, ... }:
|
{ lib, system, user, inputs, agenix, home-manager, nixos-wsl, ... }:
|
||||||
{
|
{
|
||||||
inherit system;
|
inherit system;
|
||||||
specialArgs = { inherit user inputs nixos-wsl home-manager; };
|
specialArgs = { inherit user inputs nixos-wsl home-manger; };
|
||||||
modules = [
|
modules = [
|
||||||
../default # shared by all configs
|
../default # shared by all configs
|
||||||
./configuration.nix # wsl specific
|
./configuration.nix # wsl specific
|
||||||
|
@ -18,10 +18,7 @@ in {
|
|||||||
# Optionally apply chezmoi dotfiles with home-manager activation
|
# Optionally apply chezmoi dotfiles with home-manager activation
|
||||||
home-manager.users.${user} = lib.mkIf cfg.apply {
|
home-manager.users.${user} = lib.mkIf cfg.apply {
|
||||||
home.activation.chezmoi = home-manager.lib.hm.dag.entryAfter [ "installPackages" ] ''
|
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
|
run ${pkgs.chezmoi}/bin/chezmoi apply --force
|
||||||
PATH=$_saved_path
|
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
@ -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/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/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. |
|
| <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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user