Files
nix/README.md
2025-11-19 22:01:25 +02:00

120 lines
4.0 KiB
Markdown

![](etc/rice_new.png)
![](etc/rice_gentoo.png)
# Keybind reference
| Keybind | What it does |
| --------- | -------------------- |
| `SUPER+Q` | Terminal |
| `SUPER+C` | Close current window |
| `SUPER+E` | File Manager |
| `SUPER+V` | Toggle Floating |
| `SUPER+Q` | Terminal |
| `SUPER+T` | App Launcher |
| `SUPER+P` | Psuedo |
| `SUPER+J` | Toggle Split |
| `SUPER+F` | Fullscreen |
| Keybind | What it does |
| ------------------ | ------------------ |
| `SUPER+RightArrow` | Move Focus (right) |
| `SUPER+LeftArrow` | Move Focus (left) |
| `SUPER+DownArrow` | Move Focus (down) |
| `SUPER+UpArrow` | Move Focus (up) |
| Keybind | What it does |
| ------------------------ | ------------------ |
| `SUPER+SHIFT+RightArrow` | Window width +100 |
| `SUPER+SHIFT+LeftArrow` | Window width -100 |
| `SUPER+SHIFT+DownArrow` | Window height +100 |
| `SUPER+SHIFT+UpArrow` | Window height -100 |
| Keybind | What it does |
| ----------------------- | ----------------------- |
| `SUPER+CTRL+RightArrow` | Swap window pos (right) |
| `SUPER+CTRL+LeftArrow` | Swap window pos (left) |
| `SUPER+CTRL+UpArrow` | Swap window pos (down) |
| `SUPER+CTRL+DownArrow` | Swap window pos (up) |
| Mouse Keybind | What it does |
| ------------------ | -------------- |
| `SUPER+MouseLeft` | Move window |
| `SUPER+MouseRight` | Resize window |
| `SUPER+ScrollUp` | Next workspace |
| `SUPER+ScrollDown` | Prev workspace |
| Keybind | What it does |
| ------------------- | ---------------------------------------- |
| `SUPER+[0-9]` | Switch to workspace X |
| `SUPER+SHIFT+[0-9]` | Move active window to workspace X |
| `SUPER+Z` | Special workspace |
| `SUPER+SHIFT+Z` | Move current window to special Workspace |
| Keybind | What it does |
| --------------- | ---------------- |
| `SUPER+SHIFT+B` | Reload Waybar |
| `CTRL+ALT+DEL` | WLogout |
| `FN+F5` | Prev music track |
| `FN+F6` | Next music track |
| `FN+F7` | Play/Pause music |
| Keybind | What it does |
| ------------------- | ---------------------------------------------------------------------------------------------------------------- |
| `SUPER+SHIFT+ENTER` | Change wallpaper |
| `SUPER+F1` | Hide waybar |
| `SUPER+F2` | [Roblox](https://roblox.com) [Roblox](https://sober.vinegarhq.org) [Roblox](https://github.com/ocbwoy3/tuxstrap) |
| `SUPER+Space` | Switch Keyboard Layout (English, Latvian) |
## How to install NixOS
1. Install base NixOS from the commandline
- Without UI
- Use this disk configuration
```
/dev/sda1 - 1G fat32 fmask=0022 dmask=0022 vfat
mounts to /boot
# add compress=zstd
/dev/sdb2 - 100% btrfs, with these subvolumes:
root -> /
[noatime] nix -> /nix
home -> /home
root -> /root
```
2. Create user named 'ocbwoy3'
3. Run this in order:
```bash
cd ~
nix-shell -p git
```
4. Run this inside the `nix-shell`
```bash
git clone git@tangled.sh:ocbwoy3.dev/nix
cd config
sudo nixos-rebuild switch --flake .#default --impure --cores 20
```
1. Reboot, run this in your terminal:
```bash
mkdir -p /home/ocbwoy3/Pictures/Screenshots
mkdir -p /home/ocbwoy3/Downloads
mkdir -p /home/ocbwoy3/Desktop
mkdir -p /home/ocbwoy3/Documents
mkdir -p /home/ocbwoy3/Projects
```
6. Add this to `/etc/resolv.conf` as root
```
nameserver 1.1.1.1
```