Update
This commit is contained in:
parent
f29e68ef63
commit
54eb13bc40
@ -2,6 +2,8 @@
|
||||
|
||||
## Nix/NixOs shortcuts
|
||||
|
||||
The `hostname` variable in `hosts/yourhost/variables.nix` should be also the name of the `nixosConfiguration` in `flake.nix` file.
|
||||
|
||||
- `nixy-rebuild`
|
||||
- `nixy-update`
|
||||
- `nixy-gc` # garbage collection
|
||||
|
13
docs/TODO.md
13
docs/TODO.md
@ -2,28 +2,37 @@
|
||||
|
||||
feel free to contribute <3 ([CONTRIBUTING.md](CONTRIBUTING.md))
|
||||
|
||||
- [ ] Nixy
|
||||
- [ ] Nixy script v2 (with nixosConfiguration's name variable)
|
||||
- [ ] Installation script
|
||||
- [ ] Themes
|
||||
- [ ] Upload new wallpapers
|
||||
- [ ] MacOS theme
|
||||
|
||||
- [ ] Hyprland
|
||||
- [ ] Make hyprcursor work
|
||||
- [ ] Animations based on app name
|
||||
|
||||
- [ ] Homepage (web) v2
|
||||
- [ ] Different link on web/mobile (so it can open ios/android apps)
|
||||
- [ ] Manifest & favicon
|
||||
|
||||
- [ ] Nixvim
|
||||
- [ ] Nerdfont pluggins to search and paste in the code
|
||||
- [ ] Telescope shortcut for file content
|
||||
- [ ] Markdown snippets
|
||||
- [ ] Make whichkey better
|
||||
|
||||
- [ ] Backup system for some folders ($home/dev, $home/pictures, ...)
|
||||
- [ ] Exclude file pattern (nodes modules, ...)
|
||||
|
||||
- [ ] Nextcloud exclude file pattern (nodes modules, ...)
|
||||
|
||||
- [ ] Automount USB Key (And notify-send when it's done)
|
||||
- [ ] Usb security for laptop & server, variable in variables.nix, disable for guest
|
||||
|
||||
- [ ] Server
|
||||
- [ ] Bitcoin-git
|
||||
- [ ] server fetch
|
||||
- [ ] Remote push
|
||||
- [ ] Ntfy auth file
|
||||
- [ ] Fix adguard
|
||||
- [ ] Variable hostConfiguration name
|
||||
|
@ -12,5 +12,6 @@
|
||||
./compress
|
||||
./misc
|
||||
./tofi
|
||||
./remote-rebuild
|
||||
];
|
||||
}
|
||||
|
@ -51,11 +51,11 @@ let
|
||||
'';
|
||||
|
||||
nixy-rebuild = pkgs.writeShellScriptBin "nixy-rebuild" ''
|
||||
sudo nixos-rebuild switch --flake ${config.var.configDirectory}#nixy
|
||||
sudo nixos-rebuild switch --flake ${config.var.configDirectory}#${config.var.hostname}
|
||||
'';
|
||||
|
||||
nixy-upgrade = pkgs.writeShellScriptBin "nixy-upgrade" ''
|
||||
sudo nixos-rebuild switch --upgrade --flake ${config.var.configDirectory}#nixy
|
||||
sudo nixos-rebuild switch --upgrade --flake ${config.var.configDirectory}#${config.var.hostname}
|
||||
'';
|
||||
|
||||
nixy-update = pkgs.writeShellScriptBin "nixy-update" ''
|
||||
|
9
home/scripts/remote-rebuild/default.nix
Normal file
9
home/scripts/remote-rebuild/default.nix
Normal file
@ -0,0 +1,9 @@
|
||||
{ pkgs, config, ... }:
|
||||
|
||||
let
|
||||
|
||||
remote-rebuild = pkgs.writeShellScriptBin "remote-rebuild" ''
|
||||
ssh jack -C "cd /home/hadi/.config/nixos && git pull && nixy-rebuild"
|
||||
'';
|
||||
|
||||
in { home.packages = with pkgs; [ remote-rebuild ]; }
|
@ -28,6 +28,6 @@
|
||||
obsidian = true;
|
||||
tailscale = true;
|
||||
|
||||
theme = import ../themes/nixy.nix; # select your theme here
|
||||
theme = import ../themes/catppuccin.nix; # select your theme here
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user