mirror of
https://git.sr.ht/~roxwize/.dotfiles
synced 2025-01-30 22:53:37 +00:00
~
This commit is contained in:
parent
c8697a67ca
commit
544b57af9c
5 changed files with 39 additions and 4 deletions
23
Justfile
Normal file
23
Justfile
Normal file
|
@ -0,0 +1,23 @@
|
|||
default:
|
||||
@just --list
|
||||
|
||||
rebuild host operation:
|
||||
@cd nixos/ && sudo nixos-rebuild {{operation}} --flake .#{{host}} && cd ..
|
||||
|
||||
switch host:
|
||||
@just rebuild {{host}} switch
|
||||
|
||||
clean:
|
||||
sudo nix-env --profile /nix/var/nix/profiles/system --delete-generations old
|
||||
nix-collect-garbage -d
|
||||
nix store optimise
|
||||
|
||||
push:
|
||||
git status
|
||||
@git add .
|
||||
@git commit -m "~"
|
||||
git push
|
||||
|
||||
# run `switch` on default host
|
||||
sd:
|
||||
@just switch qemu
|
12
README.md
12
README.md
|
@ -6,10 +6,16 @@ this is rae's nixOS config meow
|
|||
|
||||
# installation
|
||||
|
||||
extract it into your home directory as `~/.dotfiles/` ALTHough in hindsight this is a suuuuper shitty place to put the config files so it may change in the futur...
|
||||
theoretically:
|
||||
|
||||
And Then You Must `ln -s ~/.dotfiles/nixos/hosts/[host]/configuration.nix` into your `/etc/nixos/`...
|
||||
```sh
|
||||
git clone https://github.com/roxwize/dotfiles
|
||||
cd dotfiles/nixos
|
||||
sudo nixos-rebuild switch --flake '.#[hostname]'
|
||||
```
|
||||
|
||||
# openbox hotkeys
|
||||
# usage
|
||||
|
||||
## openbox hotkeys
|
||||
|
||||
I Dont Remember
|
||||
|
|
3
TODO
3
TODO
|
@ -9,4 +9,5 @@
|
|||
+- [ ] Stylix may help with this
|
||||
[ ] Replace absolute paths (i.e. in openbox autostart file) with substituted
|
||||
| paths generated by Nix (see substituteAllInPlace)
|
||||
[ ] Consider using flakes
|
||||
[x] Consider using flakes
|
||||
[ ] Use just?
|
||||
|
|
|
@ -32,6 +32,7 @@
|
|||
defaultEditor = true;
|
||||
vimAlias = true;
|
||||
plugins = with pkgs.vimPlugins; [
|
||||
vim-just
|
||||
vim-wakatime
|
||||
];
|
||||
extraLuaConfig = ''
|
||||
|
|
|
@ -17,6 +17,10 @@
|
|||
xclip
|
||||
yt-dlp
|
||||
zellij
|
||||
# development
|
||||
just
|
||||
## language servers
|
||||
nixd
|
||||
# text editors
|
||||
neovim
|
||||
vscodium
|
||||
|
|
Loading…
Reference in a new issue