blob: af6a19337884b3436db3b745f22852a2da0a4f27 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
|
<h1 align="center">
<br>
Pegasus Config
<br>
</h1>
<h4 align="center">
A configuration for NixOS + i3<br>
An opinionated setup for programmers who don't believe in auto complete
</h4>
<p align="center">
<a href="#installation">Installation</a> •
<a href="#customization">Customization</a> •
<a href="#docs">Docs</a>
</p>
Look at showcase/ for images of the rice
## Installation
Adjust username, hostname and download destination in flake.nix according to your needs<br>
then
```
chmod +x install.sh
./install.sh
```
Then for any changes in nixos/ would require
```
chmod +x nix.sh
./nix.sh
```
For system update
```
nix flake update
./nix.sh
```
## Customization
You can use this project outside of NixOS as well, just by ignoring the nixos directory.<br>
But make sure you download all the dependencies that are used in nixos/desktop-environment.nix<br>
## Docs
### Features
- ly Display Manager for login
- i3 as desktop environment
- tmux for terminal sessions
- kitty as terminal
- i3lock for lock screen
- nvim
- tmux
- yazi for file exploring
### Keyboard shortcuts
Configure in i3/config
|Keybind|Description|
|-|-|
|Win + T|**Spawn Terminal** (kitty)|
|Win + Q|Kill active window|
|Win + Shift + L|Sign out|
|Win + L|Lock|
|Win + E|Spawn File Explorer (yazi)|
|Win + F|Make active window floating|
|Win + D|**Spawn App Menu** (rofi)|
|Ctrl + Shift + Escape|Spawn Task Manager (btop)|
|Win + arrow keys|Move focus of window|
|Win + [1-9]|Switch workspace|
|PrintSrc|Take a fullscreen screenshot and save it in ~/Pictures/Screenshots|
|Shift + PrintSrc|Take a partial screen screenshot and save it in ~/Pictures/Screenshots|
|Win + PrintSrc|Take a partial screen screenshot and copy it to clipboard|
### Fonts
Jetbrains Mono Nerd Font
### Programming Language setup
Configure in nixos/languages<br>
- Zig
- Elixir & Erlang
- C
- Go
- Javascript & Typescript
- Lua
- Python
- Rust
### Programming Tools
Configure in nixos/environment.nix<br>
- clang-tools
- android-tools
- Vim & Nvim
- git & git-lfs
- nmap
- lazygit
- fzf
### Applications
Configure in nixos/apps.nix<br>
- Dolphin
- Gimp
- Google Chrome
- Libreoffice
- Librewolf
- Localsend
- OBS Studio
- Obsidian
- VLC
- Wine
- Zen Browser
### Games
Configure in nixos/games<br>
- Minecraft (Prism Launcher)
- Steam
|