diff options
| author | Preston Pan <ret2pop@gmail.com> | 2025-09-07 20:48:46 -0700 |
|---|---|---|
| committer | Preston Pan <ret2pop@gmail.com> | 2025-09-07 20:48:46 -0700 |
| commit | 5b8d09f2d7ebb7a1670c695af5761353d5b76d7e (patch) | |
| tree | 7cd2d1d4a30012e325c38d5bda65e83e6a48b5d6 /nix/modules/home/user.nix | |
| parent | 5146b2fa654b469eaf425345797d58f0126de4b9 (diff) | |
create drive abstractions and entry points for disko
Diffstat (limited to 'nix/modules/home/user.nix')
| -rw-r--r-- | nix/modules/home/user.nix | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/nix/modules/home/user.nix b/nix/modules/home/user.nix index 1e88b75..12bba2e 100644 --- a/nix/modules/home/user.nix +++ b/nix/modules/home/user.nix @@ -25,7 +25,7 @@ packages = with pkgs; (if config.monorepo.profiles.graphics.enable then [ # wikipedia - kiwix kiwix-tools + # kiwix kiwix-tools # passwords age sops @@ -37,7 +37,7 @@ graphviz jq # Apps - octaveFull + # octaveFull vesktop grim swww vim telegram-desktop # Sound/media @@ -65,14 +65,13 @@ (writeShellScriptBin "remote-build" '' #!/bin/bash -cd ~/monorepo/nix -nixos-rebuild --use-remote-sudo --target-host "$1" switch --flake .#spontaneity +nixos-rebuild --sudo --ask-sudo-password --target-host "$1" switch --flake $HOME/monorepo/nix#spontaneity '' ) (writeShellScriptBin "install-vps" '' #!/bin/bash -nix run github:nix-community/nixos-anywhere -- --generate-hardware-config nixos-generate-config ./systems/spontaneity/hardware-configuration.nix --flake .#spontaneity --target-host "$1" +nix run github:nix-community/nixos-anywhere -- --generate-hardware-config nixos-generate-config $HOME/monorepo/nix/systems/spontaneity/hardware-configuration.nix --flake $HOME/monorepo/nix#spontaneity --target-host "$1" '') ] else [ pfetch |
