My NixOS configurations + dotfiles
at main 119 lines 4.1 kB view raw view rendered
1![](etc/rice_new.png) 2![](etc/rice_gentoo.png) 3 4# Keybind reference 5 6| Keybind | What it does | 7| --------- | -------------------- | 8| `SUPER+Q` | Terminal | 9| `SUPER+C` | Close current window | 10| `SUPER+E` | File Manager | 11| `SUPER+V` | Toggle Floating | 12| `SUPER+Q` | Terminal | 13| `SUPER+T` | App Launcher | 14| `SUPER+P` | Psuedo | 15| `SUPER+J` | Toggle Split | 16| `SUPER+F` | Fullscreen | 17 18| Keybind | What it does | 19| ------------------ | ------------------ | 20| `SUPER+RightArrow` | Move Focus (right) | 21| `SUPER+LeftArrow` | Move Focus (left) | 22| `SUPER+DownArrow` | Move Focus (down) | 23| `SUPER+UpArrow` | Move Focus (up) | 24 25| Keybind | What it does | 26| ------------------------ | ------------------ | 27| `SUPER+SHIFT+RightArrow` | Window width +100 | 28| `SUPER+SHIFT+LeftArrow` | Window width -100 | 29| `SUPER+SHIFT+DownArrow` | Window height +100 | 30| `SUPER+SHIFT+UpArrow` | Window height -100 | 31 32| Keybind | What it does | 33| ----------------------- | ----------------------- | 34| `SUPER+CTRL+RightArrow` | Swap window pos (right) | 35| `SUPER+CTRL+LeftArrow` | Swap window pos (left) | 36| `SUPER+CTRL+UpArrow` | Swap window pos (down) | 37| `SUPER+CTRL+DownArrow` | Swap window pos (up) | 38 39| Mouse Keybind | What it does | 40| ------------------ | -------------- | 41| `SUPER+MouseLeft` | Move window | 42| `SUPER+MouseRight` | Resize window | 43| `SUPER+ScrollUp` | Next workspace | 44| `SUPER+ScrollDown` | Prev workspace | 45 46| Keybind | What it does | 47| ------------------- | ---------------------------------------- | 48| `SUPER+[0-9]` | Switch to workspace X | 49| `SUPER+SHIFT+[0-9]` | Move active window to workspace X | 50| `SUPER+Z` | Special workspace | 51| `SUPER+SHIFT+Z` | Move current window to special Workspace | 52 53| Keybind | What it does | 54| --------------- | ---------------- | 55| `SUPER+SHIFT+B` | Reload Waybar | 56| `CTRL+ALT+DEL` | WLogout | 57| `FN+F5` | Prev music track | 58| `FN+F6` | Next music track | 59| `FN+F7` | Play/Pause music | 60 61| Keybind | What it does | 62| ------------------- | ---------------------------------------------------------------------------------------------------------------- | 63| `SUPER+SHIFT+ENTER` | Change wallpaper | 64| `SUPER+F1` | Hide waybar | 65| `SUPER+F2` | [Roblox](https://roblox.com) [Roblox](https://sober.vinegarhq.org) [Roblox](https://github.com/ocbwoy3/tuxstrap) | 66| `SUPER+Space` | Switch Keyboard Layout (English, Latvian) | 67 68## How to install NixOS 69 701. Install base NixOS from the commandline 71 72- Without UI 73- Use this disk configuration 74 75``` 76/dev/sda1 - 1G fat32 fmask=0022 dmask=0022 vfat 77 mounts to /boot 78 79# add compress=zstd 80 81/dev/sdb2 - 100% btrfs, with these subvolumes: 82 root -> / 83 [noatime] nix -> /nix 84 home -> /home 85 root -> /root 86``` 87 882. Create user named 'ocbwoy3' 89 903. Run this in order: 91 92```bash 93cd ~ 94nix-shell -p git 95``` 96 974. Run this inside the `nix-shell` 98 99```bash 100git clone git@tangled.sh:ocbwoy3.dev/nix 101cd config 102sudo nixos-rebuild switch --flake .#default --impure --cores 20 103``` 104 1051. Reboot, run this in your terminal: 106 107```bash 108mkdir -p /home/ocbwoy3/Pictures/Screenshots 109mkdir -p /home/ocbwoy3/Downloads 110mkdir -p /home/ocbwoy3/Desktop 111mkdir -p /home/ocbwoy3/Documents 112mkdir -p /home/ocbwoy3/Projects 113``` 114 1156. Add this to `/etc/resolv.conf` as root 116 117``` 118nameserver 1.1.1.1 119```