Compare commits
195 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9b31f3be8d | ||
|
|
24d0f22f8e | ||
|
|
13cf7cd494 | ||
|
|
65c430318f | ||
|
|
b4e6f9d48c | ||
|
|
a024023c43 | ||
|
|
6edf2cd0b9 | ||
|
|
d2b3e6b430 | ||
|
|
b5476da7ef | ||
|
|
9c1afd279c | ||
|
|
f998316b9e | ||
|
|
fea1eade7f | ||
|
|
2517219f4c | ||
|
|
c5d95b14ea | ||
|
|
0a7befb23b | ||
|
|
41116fb2b5 | ||
|
|
cf2f5f2f9b | ||
|
|
35ba84724f | ||
|
|
2151fc6f90 | ||
|
|
45ed8258ca | ||
|
|
ffc95dcd1b | ||
|
|
2c68166067 | ||
|
|
ae83c7497a | ||
|
|
03c675cf62 | ||
|
|
a4d8670563 | ||
|
|
0114b629e6 | ||
|
|
7f4280af72 | ||
|
|
e7b4080c2a | ||
|
|
c541832066 | ||
|
|
8b57bffcd6 | ||
|
|
7a4e3ad1a3 | ||
|
|
7a2c2c6201 | ||
|
|
a8c0fdb670 | ||
|
|
5ce310fe6d | ||
|
|
89818e9ee2 | ||
|
|
d943b85cc9 | ||
|
|
8eaa78bf4b | ||
|
|
82d6c29f21 | ||
|
|
72a8aa16bb | ||
|
|
5c9b799afe | ||
|
|
eb584dac56 | ||
|
|
2fd610a09c | ||
|
|
8eb88f474a | ||
|
|
f73291c269 | ||
|
|
e93e5807f9 | ||
|
|
6d0a2e186b | ||
|
|
c2a700ef3a | ||
|
|
7b0deaf9c1 | ||
|
|
98d1ccb2c0 | ||
|
|
e6f46e1788 | ||
|
|
e6c2becccb | ||
|
|
cfc9f99c83 | ||
|
|
3c43b277b7 | ||
|
|
64f789e52a | ||
|
|
9ab4dae87b | ||
|
|
f2b742e470 | ||
|
|
a3f44fa53c | ||
|
|
91d06ef6a4 | ||
|
|
b9df9861fc | ||
|
|
049e2a9214 | ||
|
|
78bb7ff465 | ||
|
|
8e04a559b9 | ||
|
|
aa3f3e2269 | ||
|
|
bcc505f5dd | ||
|
|
f0617924b0 | ||
|
|
14c33a8191 | ||
|
|
fcd92d0155 | ||
|
|
9d73c644a7 | ||
|
|
c5c0fdc7cc | ||
|
|
42d7b8b820 | ||
|
|
2983dd6270 | ||
|
|
7d684153a9 | ||
|
|
bc26eb05a7 | ||
|
|
ec38767570 | ||
|
|
5340cfeb84 | ||
|
|
734e310f28 | ||
|
|
e388cc7556 | ||
|
|
0263e08415 | ||
|
|
65f8fcc926 | ||
|
|
59a3c1d4de | ||
|
|
206d4d7433 | ||
|
|
8c8833b26e | ||
|
|
392a3e4998 | ||
|
|
76a423a964 | ||
|
|
63c19a0c61 | ||
|
|
f3f4689cc8 | ||
|
|
2050efbfbf | ||
|
|
8d5734b739 | ||
|
|
f23897d7d8 | ||
|
|
22b00bf301 | ||
|
|
76355d3ca1 | ||
|
|
14b29a6588 | ||
|
|
5eafcf5b76 | ||
|
|
9c43d22eb1 | ||
|
|
06428958dd | ||
|
|
0d84783032 | ||
|
|
25af8d6213 | ||
|
|
e3549ce9e5 | ||
|
|
1d859e5c13 | ||
|
|
4ef84d1f8d | ||
|
|
ed791eb748 | ||
|
|
5c6acc2028 | ||
|
|
a9dc177a34 | ||
|
|
ef32063715 | ||
|
|
bdaa52dedc | ||
|
|
c5d7ba76c7 | ||
|
|
358e8c9158 | ||
|
|
d1dd841da8 | ||
|
|
8137ebfd99 | ||
|
|
cc45eda3ef | ||
|
|
8415d92264 | ||
|
|
17d95716b6 | ||
|
|
6db2fc373d | ||
|
|
ebbf404c68 | ||
|
|
9fc328f675 | ||
|
|
ba489aaea3 | ||
|
|
67ec1dd41f | ||
|
|
ae50fc36d6 | ||
|
|
f401067dd9 | ||
|
|
a02bee95de | ||
|
|
ec7b2a2fe9 | ||
|
|
2a40427cd6 | ||
|
|
eb42d3e4d1 | ||
|
|
03f4715693 | ||
|
|
c35dfb8017 | ||
|
|
7bdacd9ed5 | ||
|
|
c8ca22f308 | ||
|
|
13b147932e | ||
|
|
29b6dc17c0 | ||
|
|
8ff1df4333 | ||
|
|
af0241f1eb | ||
|
|
3719cc90be | ||
|
|
396297d6f7 | ||
|
|
cb4b5741d7 | ||
|
|
da000e60bd | ||
|
|
c4a38e7691 | ||
|
|
8972cd081b | ||
|
|
b930a7e9f7 | ||
|
|
85a7fc8ca7 | ||
|
|
869a442843 | ||
|
|
49b6d81216 | ||
|
|
21d84fd39d | ||
|
|
2a12db0133 | ||
|
|
9c5118264c | ||
|
|
3a8df54936 | ||
|
|
a3c8ad5efb | ||
|
|
b38a1ccef8 | ||
|
|
321bb0bd16 | ||
|
|
6c96796584 | ||
|
|
c6bc2ba192 | ||
|
|
c5f8e0f7a2 | ||
|
|
9ff0e4cbe4 | ||
|
|
4c0a61ccad | ||
|
|
8ddabcee34 | ||
|
|
ccef91e0ed | ||
|
|
f9057b2983 | ||
|
|
5e276e88f8 | ||
|
|
6c4428b4ef | ||
|
|
fd32e06cd2 | ||
|
|
1a4615a781 | ||
|
|
3823561a0a | ||
|
|
b667a65f31 | ||
|
|
88df4c8d42 | ||
|
|
8082c06548 | ||
|
|
21bf90efc0 | ||
|
|
6d22f2d409 | ||
|
|
ffa788dd4e | ||
|
|
79a045e3bb | ||
|
|
2fb8a97b71 | ||
|
|
26065f3699 | ||
|
|
4f2ba52404 | ||
|
|
be23ff67aa | ||
|
|
ff79cbf502 | ||
|
|
8b8f3fa54b | ||
|
|
1f2bb4c33a | ||
|
|
9d458b7e04 | ||
|
|
dedf840131 | ||
|
|
7dc2c69292 | ||
|
|
def86d31a4 | ||
|
|
3038f62405 | ||
|
|
fe01b971cf | ||
|
|
918c865202 | ||
|
|
6e30f6cd4e | ||
|
|
ff73c05ba6 | ||
|
|
dbf520b556 | ||
|
|
fc046db74b | ||
|
|
96bae83dd1 | ||
|
|
aae802193c | ||
|
|
8dc316d6a4 | ||
|
|
ad86356f9a | ||
|
|
007ef7304b | ||
|
|
019a6deaf4 | ||
|
|
7da96ad2c7 | ||
|
|
7ebc1ba322 | ||
|
|
c5e9cb9c32 |
@@ -5,3 +5,7 @@ creation_rules:
|
|||||||
key_groups:
|
key_groups:
|
||||||
- age:
|
- age:
|
||||||
- *primary
|
- *primary
|
||||||
|
- path_regex: secrets/server.yaml$
|
||||||
|
key_groups:
|
||||||
|
- age:
|
||||||
|
- *primary
|
||||||
|
|||||||
166
README.md
@@ -1,87 +1,87 @@
|
|||||||
[//]: # (Title: Nixy)
|
[//]: # (Title: Nixy)
|
||||||
[//]: # (Description: Nixy is a NixOS configuration with home-manager, secrets and custom theming all in one place. It's a simple way to manage your system configuration and dotfiles.)
|
[//]: # (Description: Nixy is a Hyprland NixOS configuration with home-manager, secrets and custom theming all in one place. It's a simple way to manage your system configuration and dotfiles.)
|
||||||
[//]: # (Author: Hadi)
|
[//]: # (Author: Hadi)
|
||||||
[//]: # (Date: 06/17/24)
|
[//]: # (Date: 06/25/24)
|
||||||
|
[//]: # (Version: v2.0.0)
|
||||||
<div align="center">
|
|
||||||
<img src="https://image.nostr.build/70ebe2b5183879d8c0ffa682cd0089e030ad01909678b242ed86449517eac3a5.png" width="100px" />
|
<div align="center">
|
||||||
</div>
|
<img src="https://raw.githubusercontent.com/anotherhadi/nixy/main/docs/src/logo.png" width="100px" />
|
||||||
|
</div>
|
||||||
<br><br>
|
|
||||||
|
<br>
|
||||||
<div align="center">
|
|
||||||
<a href="https://github.com/anotherhadi/nixy">
|
# Nixy
|
||||||
<img src="https://img.shields.io/static/v1.svg?style=for-the-badge&label=Version&message=2.0.0&colorA=040409&colorB=a158ff&logo=githubactions&logoColor=a158ff&"/>
|
|
||||||
</a>
|
<br>
|
||||||
<a href="https://github.com/anotherhadi/nixy/stargazers">
|
<div align="center">
|
||||||
<img src="https://img.shields.io/github/stars/anotherhadi/nixy?color=a158ff&labelColor=040409&style=for-the-badge&logo=starship&logoColor=a158ff">
|
<a href="https://github.com/anotherhadi/nixy">
|
||||||
</a>
|
<img src="https://img.shields.io/static/v1.svg?style=for-the-badge&label=Version&message=v2.0.0&colorA=181825&colorB=89b4fa&logo=githubactions&logoColor=89b4fa"/>
|
||||||
<a href="https://github.com/anotherhadi/nixy/">
|
</a>
|
||||||
<img src="https://img.shields.io/github/repo-size/anotherhadi/nixy?color=a158ff&labelColor=040409&style=for-the-badge&logo=github&logoColor=a158ff">
|
<a href="https://github.com/anotherhadi/nixy/stargazers">
|
||||||
</a>
|
<img src="https://img.shields.io/github/stars/anotherhadi/nixy?color=89b4fa&labelColor=181825&style=for-the-badge&logo=starship&logoColor=89b4fa">
|
||||||
<a href="https://nixos.org">
|
</a>
|
||||||
<img src="https://img.shields.io/badge/NixOS-unstable-blue.svg?style=for-the-badge&labelColor=040409&logo=NixOS&logoColor=a158ff&color=a158ff">
|
<a href="https://github.com/anotherhadi/nixy/">
|
||||||
</a>
|
<img src="https://img.shields.io/github/repo-size/anotherhadi/nixy?color=89b4fa&labelColor=181825&style=for-the-badge&logo=github&logoColor=89b4fa">
|
||||||
<a href="https://github.com/anotherhadi/nixy/blob/main/LICENSE">
|
</a>
|
||||||
<img src="https://img.shields.io/static/v1.svg?style=for-the-badge&label=License&message=MIT&colorA=040409&colorB=a158ff&logo=unlicense&logoColor=a158ff&"/>
|
<a href="https://nixos.org">
|
||||||
</a>
|
<img src="https://img.shields.io/badge/NixOS-unstable-blue.svg?style=for-the-badge&labelColor=181825&logo=NixOS&logoColor=89b4fa&color=89b4fa">
|
||||||
</div>
|
</a>
|
||||||
|
<a href="https://github.com/anotherhadi/nixy/blob/main/LICENSE">
|
||||||
<br><br>
|
<img src="https://img.shields.io/static/v1.svg?style=for-the-badge&label=License&message=MIT&colorA=181825&colorB=89b4fa&logo=unlicense&logoColor=89b4fa"/>
|
||||||
|
</a>
|
||||||
<div align="center">
|
</div>
|
||||||
<img src="https://image.nostr.build/aaf8cf0f3b9784c817f8cf328f19222db2e1886dfb89ae97de83ffa101d437b4.png" width="600px" />
|
<br>
|
||||||
</div>
|
|
||||||
|
**Nixy** is a **Hyprland** NixOS configuration with **home-manager**, **secrets**, and **custom theming** all in one place.
|
||||||
# Nixy
|
It's a simple way to manage your system configuration and dotfiles.
|
||||||
|
|
||||||
**Nixy** is a NixOS configuration with home-manager, secrets and custom theming all in one place.
|
## Table of Content
|
||||||
It's a simple way to manage your system configuration and dotfiles.
|
|
||||||
|
|
||||||
## Table of Content
|
|
||||||
|
|
||||||
- [Nixy](#nixy)
|
|
||||||
- [Table of Content](#table-of-content)
|
- [Table of Content](#table-of-content)
|
||||||
- [Gallery](#gallery)
|
- [Gallery](#gallery)
|
||||||
- [Architecture](#architecture)
|
- [Architecture](#architecture)
|
||||||
- [Installation](#installation)
|
- [Installation](#installation)
|
||||||
- [Documentation](#documentation)
|
- [Documentation](#documentation)
|
||||||
|
|
||||||
## Gallery
|
## Gallery
|
||||||
|
|
||||||

|

|
||||||

|

|
||||||

|

|
||||||
|
|
||||||
## Architecture
|
## Architecture
|
||||||
|
|
||||||
- 🏠 `home` are the dotfiles and configuration files for the user
|
- 🏠 `home` are the dotfiles and configuration files for the user
|
||||||
- 💻 `hosts` are the system configuration files
|
- 💻 `hosts` are the system configuration files
|
||||||
- `laptop` is mine
|
- 'laptop' is my configuration for my laptop with Nvidia
|
||||||
- `guest` is a template that you can copy and modify for your own system
|
- 'server' is for my Nixos server (w/nextcloud, nginx, vaultwarden, ... look `hosts/server`)
|
||||||
- `themes` contains all the themes available (see [THEMES.md](docs/THEMES.md))
|
- 'guest' is a *template* that you can copy and modify for *your own system*
|
||||||
- `shared` are some nix files that you can import (nvidia, prime, fonts, ...)
|
- 'themes' contains all the *themes* available *(see [THEMES.md](docs/THEMES.md))*
|
||||||
- 🤫 `secrets` are the secrets files encrypted with sops
|
- 'modules' are some nix modules that you can import (Nvidia, prime, fonts, ...)
|
||||||
|
- 🤫 `secrets` are the secrets files encrypted with sops-nix
|
||||||
## Installation
|
|
||||||
|
## Installation
|
||||||
```sh
|
|
||||||
git clone https://github.com/anotherhadi/nixy ~/.config/nixos
|
```sh
|
||||||
```
|
git clone https://github.com/anotherhadi/nixy ~/.config/nixos
|
||||||
|
```
|
||||||
- Change the username in the flake.nix file
|
|
||||||
- import the guest configuration instead of the `hosts/laptop` one
|
- Copy the `hosts/guest` folder, rename it to your system name, and change the variables inside the `variables.nix` file
|
||||||
- import your hardware-configuration.nix into the `hosts/guest` folder
|
- Add your `hardware-configuration.nix` to your new host's folder
|
||||||
|
- Add your 'nixosConfigurations' inside `flake.nix` (You can edit the "yourhostname" one and change the lines containing '# CHANGEME')
|
||||||
```sh
|
|
||||||
sudo nixos-rebuild switch --flake ~/.config/nixos#nixy
|
> [!NOTE]
|
||||||
```
|
> When you add new files, don't forget to run `git add .` to add them to the git repository
|
||||||
|
|
||||||
## Documentation
|
```sh
|
||||||
|
sudo nixos-rebuild switch --flake ~/.config/nixos#yourhostname
|
||||||
- [THEMES.md](docs/THEMES.md): How themes work and how to create your own
|
```
|
||||||
- [APPS.md](docs/APPS.md): Which apps are installed
|
|
||||||
- [SCRIPTS.md](docs/SCRIPTS.md): Scripts that are available
|
## Documentation
|
||||||
- [TODO.md](docs/TODO.md): What's next (feel free to contribute)
|
|
||||||
- [CONTRIBUTING.md](docs/CONTRIBUTING.md): How to contribute
|
- [THEMES.md](docs/THEMES.md): How themes work and how to create your own
|
||||||
- [LICENSE](LICENSE): MIT License
|
- [APPS.md](docs/APPS.md): Which apps are installed
|
||||||
|
- [SCRIPTS.md](docs/SCRIPTS.md): Scripts that are available
|
||||||
|
- [TODO.md](docs/TODO.md): What's next (feel free to contribute)
|
||||||
|
- [CONTRIBUTING.md](docs/CONTRIBUTING.md): How to contribute
|
||||||
|
- [LICENSE](LICENSE): MIT Licensey
|
||||||
|
|||||||
32
docs/APPS.md
@@ -1,8 +1,14 @@
|
|||||||
# APPS
|
# Apps and services
|
||||||
|
|
||||||
*non-exhaustive list*
|
*non-exhaustive lists*
|
||||||
|
|
||||||
| Category | Software |
|
## Laptop
|
||||||
|
|
||||||
|
The laptop configuration is used by a Omen 16 laptop w/ nvidia and an amd gpu running NixOS.
|
||||||
|
The configurations files can be found in the `hosts/laptop` directory.
|
||||||
|
|
||||||
|
|
||||||
|
| Category | Name |
|
||||||
|----------------|---------------|
|
|----------------|---------------|
|
||||||
| WM | Hyprland |
|
| WM | Hyprland |
|
||||||
| | hyprlock |
|
| | hyprlock |
|
||||||
@@ -30,4 +36,22 @@
|
|||||||
| Misc | lazygit |
|
| Misc | lazygit |
|
||||||
| | neofetch |
|
| | neofetch |
|
||||||
| | cava |
|
| | cava |
|
||||||
| | ... |
|
| See [hosts/laptop](../hosts/laptop/)... | |
|
||||||
|
|
||||||
|
## Server
|
||||||
|
|
||||||
|
The server configuration is used by a home server running NixOS.
|
||||||
|
The configurations files can be found in the `hosts/server` directory.
|
||||||
|
I mainly use it for self hosting websites and services such as Nextcloud, Vaultwarden, ...
|
||||||
|
I exposed some services to the internet using a reverse proxy (Nginx) and cloudflare-dyndns, others are accessed through a tailscale network
|
||||||
|
|
||||||
|
### Apps
|
||||||
|
|
||||||
|
- Nextcloud
|
||||||
|
- Vaultwarden
|
||||||
|
- Adguard Home
|
||||||
|
- Unifi Controler
|
||||||
|
- Uptime Kuma
|
||||||
|
- "Jackflix"
|
||||||
|
- Jellyfin, Transmission, *arr
|
||||||
|
- See [hosts/server](../hosts/server/)...
|
||||||
|
|||||||
@@ -6,5 +6,8 @@ The process is straight-forward.
|
|||||||
|
|
||||||
- Read [How to get faster PR reviews](https://github.com/kubernetes/community/blob/master/contributors/guide/pull-requests.md#best-practices-for-faster-reviews) by Kubernetes (but skip step 0 and 1)
|
- Read [How to get faster PR reviews](https://github.com/kubernetes/community/blob/master/contributors/guide/pull-requests.md#best-practices-for-faster-reviews) by Kubernetes (but skip step 0 and 1)
|
||||||
- Fork Nixy [git repository](https://github.com/anotherhadi/nixy).
|
- Fork Nixy [git repository](https://github.com/anotherhadi/nixy).
|
||||||
- Write your changes (new theme, bug fixes, ...).
|
- Write your changes (new theme, bug fixes, task in todo, ...).
|
||||||
- Create a Pull Request against the main branch of Nixy.
|
- Create a Pull Request against the main branch of Nixy.
|
||||||
|
|
||||||
|
> [!WARNING]
|
||||||
|
> Don't push your host's files, secrets, or home configuration
|
||||||
|
|||||||
@@ -1,12 +1,18 @@
|
|||||||
# Scripts
|
# Scripts
|
||||||
|
|
||||||
|
Scripts are located in the `home/scripts` folder. Home-manager add those in the path.
|
||||||
|
|
||||||
## Nix/NixOs shortcuts
|
## Nix/NixOs shortcuts
|
||||||
|
|
||||||
- `nixy-edit`
|
> [!TIP]
|
||||||
- `nixy-rebuild`
|
> The `hostname` variable in `hosts/yourhost/variables.nix` should be also the name of the `nixosConfiguration` in `flake.nix` file.
|
||||||
- `nixy-update`
|
|
||||||
- `nixy-gc` # garbage collection
|
- `nixy` # UI
|
||||||
- `nixy-cb` # clean boot menu
|
- `nixy rebuild`
|
||||||
|
- `nixy update`
|
||||||
|
- `nixy upgrade`
|
||||||
|
- `nixy gc` # garbage collection
|
||||||
|
- `nixy cb` # clean boot menu
|
||||||
|
|
||||||
## Brightness control
|
## Brightness control
|
||||||
|
|
||||||
@@ -20,7 +26,7 @@
|
|||||||
- `sound-down`
|
- `sound-down`
|
||||||
- `sound-toggle`
|
- `sound-toggle`
|
||||||
- `sound-output`
|
- `sound-output`
|
||||||
- `sound-change <up/down/mute> <increment>`
|
- `sound-change [up/down/mute] <increment>`
|
||||||
|
|
||||||
## Caffeine
|
## Caffeine
|
||||||
|
|
||||||
@@ -45,7 +51,7 @@ It will copy the selected icon to the clipboard.
|
|||||||
|
|
||||||
## Compress/Extract
|
## Compress/Extract
|
||||||
|
|
||||||
Some shortcut to compress and extract files.
|
Some shortcuts to compress and extract files.
|
||||||
|
|
||||||
- `compress` ...
|
- `compress` ...
|
||||||
- `extract` ...
|
- `extract` ...
|
||||||
|
|||||||
@@ -1,13 +1,14 @@
|
|||||||
# Themes
|
# Themes
|
||||||
|
|
||||||
Themes are defined in `hosts/themes`. Those themes define the colors, fonts, icons, etc, used by Hyprland and the apps installed.
|
Themes are defined in `hosts/themes`. Those themes define the colors, fonts, icons, etc, used by Hyprland and the apps/programs installed.
|
||||||
You can change the selected theme by changing the import statement at the top of your host's variables file.
|
You can change the selected theme by changing the import statement of your host's variables.nix file.
|
||||||
|
|
||||||
*To apply the theme to duckduckgo, follow the instructions in `$HOME/.duckduckgo-colorscheme.js`.*
|
> [!TIP]
|
||||||
|
> To apply the theme to Duckduckgo, follow the instructions in `$HOME/.duckduckgo-colorscheme.js`
|
||||||
|
|
||||||
## Create your own theme
|
## Create your theme
|
||||||
|
|
||||||
Create a copy of one of the existing theme and change the variables.
|
Create a copy of one of the existing themes and change the variables.
|
||||||
Wallpapers are loaded from the `home/wallpapers` folder.
|
Wallpapers are loaded from the `home/wallpapers` folder.
|
||||||
|
|
||||||
## Gallery
|
## Gallery
|
||||||
|
|||||||
52
docs/TODO.md
@@ -1,10 +1,42 @@
|
|||||||
# Todolist
|
# Todolist
|
||||||
|
|
||||||
- [ ] Installation script
|
feel free to contribute <3 ([CONTRIBUTING.md](CONTRIBUTING.md))
|
||||||
- [ ] Themes
|
|
||||||
- [ ] MacOS theme
|
- [ ] Nixy
|
||||||
- [ ] Make hyprcursor work
|
- [ ] Installation script ([install.sh](./scripts/install.sh) to test on a fresh install)
|
||||||
- [ ] Nixvim
|
- [ ] Variables-template with defaults
|
||||||
- [ ] Telescope shortcut for file content
|
- [ ] Themes
|
||||||
- [ ] Markdown snippets
|
- [ ] Upload new wallpapers
|
||||||
- [ ] Make whichkey better
|
- [ ] MacOS theme
|
||||||
|
- [ ] GithubFetch: Neofetch like, github calendar in the terminal
|
||||||
|
- [ ] Write a hyprland shortcuts markdown file (Parse the hyprland settings conf)
|
||||||
|
- [ ] Tofi (Wofi but terminal based)
|
||||||
|
|
||||||
|
- [ ] Waybar
|
||||||
|
- [ ] Caffeine status
|
||||||
|
- [ ] Night-shift status
|
||||||
|
|
||||||
|
- [ ] Hyprland
|
||||||
|
- [ ] Make hyprcursor work
|
||||||
|
- [ ] Animations based on app name
|
||||||
|
- [ ] Wofi: popin
|
||||||
|
- [ ] Wlogout: fade in
|
||||||
|
- [ ] Fix screenshots
|
||||||
|
|
||||||
|
- [ ] Nixvim
|
||||||
|
- [ ] Telescope: find with file content
|
||||||
|
- [ ] Markdown snippets
|
||||||
|
- [ ] Whichkey: Description for keybindings
|
||||||
|
- [ ] Spelling
|
||||||
|
|
||||||
|
- [ ] Backup system for some folders ($home/dev, $home/pictures, ...)
|
||||||
|
- [ ] Exclude file pattern (nodes modules, ...)
|
||||||
|
- [ ] Auto backup when a specific usb key is plugged
|
||||||
|
|
||||||
|
- [ ] Usb security for laptop & server, variable in variables.nix, disable for guest
|
||||||
|
|
||||||
|
- [ ] Server
|
||||||
|
- [ ] Bitcoin-git
|
||||||
|
- [ ] ServerFetch: Neofetch like, but for server: CPU, RAM, Disk, Network, Uptime, status (check with uptime kuma API)
|
||||||
|
- [ ] Ntfy auth file
|
||||||
|
- [ ] Launch transmission-openvpn on boot (see hosts/server/modules/jackflix/transmission.nix)
|
||||||
|
|||||||
@@ -4,6 +4,16 @@
|
|||||||
|
|
||||||
[[ -d "./docs" ]] || (echo "Folder ./docs not found" && exit 1)
|
[[ -d "./docs" ]] || (echo "Folder ./docs not found" && exit 1)
|
||||||
|
|
||||||
|
# Main images
|
||||||
|
for file in ./docs/src/*.png; do
|
||||||
|
optipng "$file"
|
||||||
|
done
|
||||||
|
|
||||||
|
# Theme's images
|
||||||
for file in ./docs/src/*/*.png; do
|
for file in ./docs/src/*/*.png; do
|
||||||
optipng "$file"
|
optipng "$file"
|
||||||
done
|
done
|
||||||
|
|
||||||
|
for file in ./home/wallpapers/*.png; do
|
||||||
|
optipng "$file"
|
||||||
|
done
|
||||||
@@ -24,6 +24,6 @@ variables=$(echo "$variables" | sed 's/112569860+anotherhadi@users.noreply.githu
|
|||||||
variables=$(echo "$variables" | sed 's/hadi/your_username/')
|
variables=$(echo "$variables" | sed 's/hadi/your_username/')
|
||||||
variables=$(echo "$variables" | sed 's/Hadi/your_username/')
|
variables=$(echo "$variables" | sed 's/Hadi/your_username/')
|
||||||
variables=$(echo "$variables" | sed 's/sops = true/sops = false/')
|
variables=$(echo "$variables" | sed 's/sops = true/sops = false/')
|
||||||
variables=$(echo "$variables" | sed 's/nextcloud = true/nextcloud = false/')
|
|
||||||
variables=$(echo "$variables" | sed 's/obsidian = true/obsidian = false/')
|
variables=$(echo "$variables" | sed 's/obsidian = true/obsidian = false/')
|
||||||
|
variables=$(echo "$variables" | sed 's/tailscale = true/tailscale = false/')
|
||||||
echo "$variables" >"$GUEST_CONFIG/variables.nix"
|
echo "$variables" >"$GUEST_CONFIG/variables.nix"
|
||||||
|
|||||||
@@ -8,7 +8,16 @@ README_FILE="./README.md"
|
|||||||
|
|
||||||
header=$(cat "./docs/src/header.md")
|
header=$(cat "./docs/src/header.md")
|
||||||
table_of_content=$(~/go/bin/md-table-of-contents ./docs/src/README_template.md)
|
table_of_content=$(~/go/bin/md-table-of-contents ./docs/src/README_template.md)
|
||||||
|
version=$(git describe --tags --abbrev=0)
|
||||||
readme_content=$(cat "./docs/src/README_template.md")
|
readme_content=$(cat "./docs/src/README_template.md")
|
||||||
|
|
||||||
echo "${header//\{date\}/$(date '+%D')}" >"$README_FILE"
|
header=${header//\{date\}/$(date '+%D')}
|
||||||
echo "${readme_content//\{md_table_of_content\}/$table_of_content}" >>"$README_FILE"
|
header=${header//\{primarycolor\}/89b4fa}
|
||||||
|
header=${header//\{backgroundcolor\}/181825}
|
||||||
|
header=${header//\{version\}/$version}
|
||||||
|
readme_content=${readme_content//\{md_table_of_content\}/$table_of_content}
|
||||||
|
|
||||||
|
echo "$header" >"$README_FILE"
|
||||||
|
echo "$readme_content" >>"$README_FILE"
|
||||||
|
sed 's/\r//' "$README_FILE" >"/tmp/readme.md"
|
||||||
|
mv "/tmp/readme.md" "$README_FILE"
|
||||||
|
|||||||
21
docs/scripts/get_keybindings.sh
Normal file
@@ -0,0 +1,21 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
[[ -f "./home/system/hyprland/default.nix" ]] || (echo "File ./home/system/hyprland/default.nix not found" && exit 1)
|
||||||
|
|
||||||
|
config=$( cat "./home/system/hyprland/default.nix")
|
||||||
|
|
||||||
|
# get text between
|
||||||
|
# bind = [
|
||||||
|
# and next ]
|
||||||
|
|
||||||
|
# Example:
|
||||||
|
# "$mod, E, exec, ${pkgs.xfce.thunar}/bin/thunar" # Description
|
||||||
|
# Steps:
|
||||||
|
# We should remove the ""
|
||||||
|
# $mod replace by Super key
|
||||||
|
# $shiftMod replace by "Super Shift"
|
||||||
|
# Concat with key
|
||||||
|
# Remove , exec,
|
||||||
|
# Remove variables and /bin/ if present
|
||||||
|
|
||||||
|
# Create a markdown table with everything
|
||||||
@@ -1,10 +1,78 @@
|
|||||||
# installation script...
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
# check if on nixos
|
# https://github.com/anotherhadi/nixy
|
||||||
# check if ./hosts exist
|
# Installation script: Should be run on fresh nixos install.
|
||||||
# check if gum is installed (dependencie)
|
|
||||||
# save path
|
printf "\n\e[0;92m- \e[0m\e[1;77mNixy's Installation Script\e[0;96m [anotherhadi/nixy]\e[0m"
|
||||||
# remove .git
|
|
||||||
# git init and initial commit
|
# Check if we're on the good directory
|
||||||
# create custom configuration
|
[[ -f "./docs/scripts/install.sh" ]] || (
|
||||||
# save it to ./hosts
|
printf "\n\e[0;91mx \e[0m\e[1;77mNot in the project root directory\e[0m"
|
||||||
|
exit 1
|
||||||
|
)
|
||||||
|
DIR=$PWD
|
||||||
|
|
||||||
|
# Create a new configuration
|
||||||
|
read -rp $'\n\e[0;92m+\e[0m\e[1;77m Username: \e[0;96m' username
|
||||||
|
read -rp $'\n\e[0;92m+\e[0m\e[1;77m Hostname: \e[0;96m' hostname
|
||||||
|
|
||||||
|
HOST_DIR="./hosts/$hostname"
|
||||||
|
mkdir "$HOST_DIR"
|
||||||
|
|
||||||
|
nixos-generate-config --show-hardware-config >"$HOST_DIR/hardware-configuration.nix"
|
||||||
|
|
||||||
|
printf "\n\e[0;92m? \e[0m\e[1;77mInstall Nvidia drivers?\e[0;96m [y/N]\e[0m"
|
||||||
|
read -r yn
|
||||||
|
yn=$(echo "$yn" | tr '[:upper:]' '[:lower:]')
|
||||||
|
if [[ $yn == "y" || $yn == "yes" ]]; then
|
||||||
|
nvidia=true
|
||||||
|
else
|
||||||
|
nvidia=false
|
||||||
|
fi
|
||||||
|
|
||||||
|
printf "\n\e[0;92m? \e[0m\e[1;77mInstall prime?\e[0;96m [y/N]\e[0m"
|
||||||
|
read -r yn
|
||||||
|
yn=$(echo "$yn" | tr '[:upper:]' '[:lower:]')
|
||||||
|
if [[ $yn == "y" || $yn == "yes" ]]; then
|
||||||
|
prime=true
|
||||||
|
else
|
||||||
|
prime=false
|
||||||
|
fi
|
||||||
|
|
||||||
|
cp "$LAPTOP_CONFIG/configuration.nix" "$HOST_DIR/configuration.nix"
|
||||||
|
cp "$LAPTOP_CONFIG/variables.nix" "$HOST_DIR/variables.nix"
|
||||||
|
|
||||||
|
config=$(cat "$LAPTOP_CONFIG/configuration.nix")
|
||||||
|
if [[ $nvidia == false ]]; then
|
||||||
|
config=$(echo "$config" | sed 's/..\/shared\/nvidia/# ..\/shared\/nvidia/')
|
||||||
|
fi
|
||||||
|
if [[ $prime == false ]]; then
|
||||||
|
config=$(echo "$config" | sed 's/..\/shared\/prime/# ..\/shared\/prime/')
|
||||||
|
fi
|
||||||
|
echo "$config" >"$HOST_DIR/configuration.nix"
|
||||||
|
|
||||||
|
variables=$(cat "$LAPTOP_CONFIG/variables.nix")
|
||||||
|
variables=$(echo "$variables" | sed 's/112569860+anotherhadi@users.noreply.github.com/your_email/')
|
||||||
|
variables=$(echo "$variables" | sed "s/hadi/$username/")
|
||||||
|
variables=$(echo "$variables" | sed "s/nixy/$hostname/") # FIXME: Host name can be mixed with themes
|
||||||
|
variables=$(echo "$variables" | sed "s/Hadi/$username/")
|
||||||
|
variables=$(echo "$variables" | sed 's/sops = true/sops = false/')
|
||||||
|
variables=$(echo "$variables" | sed 's/obsidian = true/obsidian = false/')
|
||||||
|
variables=$(echo "$variables" | sed 's/tailscale = true/tailscale = false/')
|
||||||
|
echo "$variables" >"$HOST_DIR/variables.nix"
|
||||||
|
|
||||||
|
# Add it to the git index
|
||||||
|
git add .
|
||||||
|
|
||||||
|
printf "\n\e[0;92m+ \e[0m\e[1;77mHost added!\e[0m"
|
||||||
|
|
||||||
|
# REBUILD
|
||||||
|
|
||||||
|
printf "\n\e[0;92m? \e[0m\e[1;77mDo you want to rebuild?\e[0;96m [y/N]\e[0m"
|
||||||
|
read -r yn
|
||||||
|
yn=$(echo "$yn" | tr '[:upper:]' '[:lower:]')
|
||||||
|
if [[ $yn == "y" || $yn == "yes" ]]; then
|
||||||
|
sudo nixos-rebuild switch --flake "$DIR"#"$hostname"
|
||||||
|
fi
|
||||||
|
|
||||||
|
printf "\n\e[0;92m✓ \e[0m\e[1;77mDone!\e[0m"
|
||||||
|
|||||||
@@ -1,7 +1,5 @@
|
|||||||
|
|
||||||
# Nixy
|
**Nixy** is a **Hyprland** NixOS configuration with **home-manager**, **secrets**, and **custom theming** all in one place.
|
||||||
|
|
||||||
**Nixy** is a NixOS configuration with home-manager, secrets and custom theming all in one place.
|
|
||||||
It's a simple way to manage your system configuration and dotfiles.
|
It's a simple way to manage your system configuration and dotfiles.
|
||||||
|
|
||||||
## Table of Content
|
## Table of Content
|
||||||
@@ -10,19 +8,20 @@ It's a simple way to manage your system configuration and dotfiles.
|
|||||||
|
|
||||||
## Gallery
|
## Gallery
|
||||||
|
|
||||||

|

|
||||||

|

|
||||||

|

|
||||||
|
|
||||||
## Architecture
|
## Architecture
|
||||||
|
|
||||||
- 🏠 `home` are the dotfiles and configuration files for the user
|
- 🏠 `home` are the dotfiles and configuration files for the user
|
||||||
- 💻 `hosts` are the system configuration files
|
- 💻 `hosts` are the system configuration files
|
||||||
- `laptop` is mine
|
- 'laptop' is my configuration for my laptop with Nvidia
|
||||||
- `guest` is a template that you can copy and modify for your own system
|
- 'server' is for my homeserver (w/nextcloud, nginx, vaultwarden, ... look `hosts/server`)
|
||||||
- `themes` contains all the themes available (see [THEMES.md](docs/THEMES.md))
|
- 'guest' is a *template* that you can copy and modify for *your own system*
|
||||||
- `shared` are some nix files that you can import (nvidia, prime, fonts, ...)
|
- 'themes' contains all the *themes* available *(see [THEMES.md](docs/THEMES.md))*
|
||||||
- 🤫 `secrets` are the secrets files encrypted with sops
|
- 'modules' are some nix modules that you can import (Nvidia, prime, fonts, ...)
|
||||||
|
- 🤫 `secrets` are the secrets files encrypted with sops-nix
|
||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
@@ -30,12 +29,15 @@ It's a simple way to manage your system configuration and dotfiles.
|
|||||||
git clone https://github.com/anotherhadi/nixy ~/.config/nixos
|
git clone https://github.com/anotherhadi/nixy ~/.config/nixos
|
||||||
```
|
```
|
||||||
|
|
||||||
- Change the username in the flake.nix file
|
- Copy the `hosts/guest` folder, rename it to your system name, and change the variables inside the `variables.nix` file
|
||||||
- import the guest configuration instead of the `hosts/laptop` one
|
- Add your `hardware-configuration.nix` to your new host's folder
|
||||||
- import your hardware-configuration.nix into the `hosts/guest` folder
|
- Add your 'nixosConfigurations' inside `flake.nix` (You can edit the "yourhostname" one and change the lines containing '# CHANGEME')
|
||||||
|
|
||||||
|
> [!NOTE]
|
||||||
|
> When you add new files, don't forget to run `git add .` to add them to the git repository
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
sudo nixos-rebuild switch --flake ~/.config/nixos#nixy
|
sudo nixos-rebuild switch --flake ~/.config/nixos#yourhostname
|
||||||
```
|
```
|
||||||
|
|
||||||
## Documentation
|
## Documentation
|
||||||
@@ -45,4 +47,4 @@ sudo nixos-rebuild switch --flake ~/.config/nixos#nixy
|
|||||||
- [SCRIPTS.md](docs/SCRIPTS.md): Scripts that are available
|
- [SCRIPTS.md](docs/SCRIPTS.md): Scripts that are available
|
||||||
- [TODO.md](docs/TODO.md): What's next (feel free to contribute)
|
- [TODO.md](docs/TODO.md): What's next (feel free to contribute)
|
||||||
- [CONTRIBUTING.md](docs/CONTRIBUTING.md): How to contribute
|
- [CONTRIBUTING.md](docs/CONTRIBUTING.md): How to contribute
|
||||||
- [LICENSE](LICENSE): MIT License
|
- [LICENSE](LICENSE): MIT Licensey
|
||||||
|
|||||||
@@ -1,34 +1,33 @@
|
|||||||
[//]: # (Title: Nixy)
|
[//]: # (Title: Nixy)
|
||||||
[//]: # (Description: Nixy is a NixOS configuration with home-manager, secrets and custom theming all in one place. It's a simple way to manage your system configuration and dotfiles.)
|
[//]: # (Description: Nixy is a Hyprland NixOS configuration with home-manager, secrets and custom theming all in one place. It's a simple way to manage your system configuration and dotfiles.)
|
||||||
[//]: # (Author: Hadi)
|
[//]: # (Author: Hadi)
|
||||||
[//]: # (Date: {date})
|
[//]: # (Date: {date})
|
||||||
|
[//]: # (Version: {version})
|
||||||
|
|
||||||
<div align="center">
|
<div align="center">
|
||||||
<img src="https://image.nostr.build/70ebe2b5183879d8c0ffa682cd0089e030ad01909678b242ed86449517eac3a5.png" width="100px" />
|
<img src="https://raw.githubusercontent.com/anotherhadi/nixy/main/docs/src/logo.png" width="100px" />
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<br><br>
|
<br>
|
||||||
|
|
||||||
|
# Nixy
|
||||||
|
|
||||||
|
<br>
|
||||||
<div align="center">
|
<div align="center">
|
||||||
<a href="https://github.com/anotherhadi/nixy">
|
<a href="https://github.com/anotherhadi/nixy">
|
||||||
<img src="https://img.shields.io/static/v1.svg?style=for-the-badge&label=Version&message=2.0.0&colorA=040409&colorB=a158ff&logo=githubactions&logoColor=a158ff&"/>
|
<img src="https://img.shields.io/static/v1.svg?style=for-the-badge&label=Version&message={version}&colorA={backgroundcolor}&colorB={primarycolor}&logo=githubactions&logoColor={primarycolor}"/>
|
||||||
</a>
|
</a>
|
||||||
<a href="https://github.com/anotherhadi/nixy/stargazers">
|
<a href="https://github.com/anotherhadi/nixy/stargazers">
|
||||||
<img src="https://img.shields.io/github/stars/anotherhadi/nixy?color=a158ff&labelColor=040409&style=for-the-badge&logo=starship&logoColor=a158ff">
|
<img src="https://img.shields.io/github/stars/anotherhadi/nixy?color={primarycolor}&labelColor={backgroundcolor}&style=for-the-badge&logo=starship&logoColor={primarycolor}">
|
||||||
</a>
|
</a>
|
||||||
<a href="https://github.com/anotherhadi/nixy/">
|
<a href="https://github.com/anotherhadi/nixy/">
|
||||||
<img src="https://img.shields.io/github/repo-size/anotherhadi/nixy?color=a158ff&labelColor=040409&style=for-the-badge&logo=github&logoColor=a158ff">
|
<img src="https://img.shields.io/github/repo-size/anotherhadi/nixy?color={primarycolor}&labelColor={backgroundcolor}&style=for-the-badge&logo=github&logoColor={primarycolor}">
|
||||||
</a>
|
</a>
|
||||||
<a href="https://nixos.org">
|
<a href="https://nixos.org">
|
||||||
<img src="https://img.shields.io/badge/NixOS-unstable-blue.svg?style=for-the-badge&labelColor=040409&logo=NixOS&logoColor=a158ff&color=a158ff">
|
<img src="https://img.shields.io/badge/NixOS-unstable-blue.svg?style=for-the-badge&labelColor={backgroundcolor}&logo=NixOS&logoColor={primarycolor}&color={primarycolor}">
|
||||||
</a>
|
</a>
|
||||||
<a href="https://github.com/anotherhadi/nixy/blob/main/LICENSE">
|
<a href="https://github.com/anotherhadi/nixy/blob/main/LICENSE">
|
||||||
<img src="https://img.shields.io/static/v1.svg?style=for-the-badge&label=License&message=MIT&colorA=040409&colorB=a158ff&logo=unlicense&logoColor=a158ff&"/>
|
<img src="https://img.shields.io/static/v1.svg?style=for-the-badge&label=License&message=MIT&colorA={backgroundcolor}&colorB={primarycolor}&logo=unlicense&logoColor={primarycolor}"/>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
|
<br>
|
||||||
<br><br>
|
|
||||||
|
|
||||||
<div align="center">
|
|
||||||
<img src="https://image.nostr.build/aaf8cf0f3b9784c817f8cf328f19222db2e1886dfb89ae97de83ffa101d437b4.png" width="600px" />
|
|
||||||
</div>
|
|
||||||
|
|||||||
BIN
docs/src/large.png
Normal file
|
After Width: | Height: | Size: 5.8 KiB |
BIN
docs/src/logo.png
Normal file
|
After Width: | Height: | Size: 1.7 KiB |
116
flake.lock
generated
@@ -165,11 +165,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1717664902,
|
"lastModified": 1718879355,
|
||||||
"narHash": "sha256-7XfBuLULizXjXfBYy/VV+SpYMHreNRHk9nKMsm1bgb4=",
|
"narHash": "sha256-RTyqP4fBX2MdhNuMP+fnR3lIwbdtXhyj7w7fwtvgspc=",
|
||||||
"owner": "cachix",
|
"owner": "cachix",
|
||||||
"repo": "git-hooks.nix",
|
"repo": "git-hooks.nix",
|
||||||
"rev": "cc4d466cb1254af050ff7bdf47f6d404a7c646d1",
|
"rev": "8cd35b9496d21a6c55164d8547d9d5280162b07a",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -207,11 +207,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1718243258,
|
"lastModified": 1719180626,
|
||||||
"narHash": "sha256-abBpj2VU8p6qlRzTU8o22q68MmOaZ4v8zZ4UlYl5YRU=",
|
"narHash": "sha256-vZAzm5KQpR6RGple1dzmSJw5kPivES2heCFM+ZWkt0I=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "home-manager",
|
"repo": "home-manager",
|
||||||
"rev": "8d5e27b4807d25308dfe369d5a923d87e7dbfda3",
|
"rev": "6b1f90a8ff92e81638ae6eb48cd62349c3e387bb",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -228,11 +228,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1718141734,
|
"lastModified": 1719037157,
|
||||||
"narHash": "sha256-cA+6l8ZCZ7MXGijVuY/1f55+wF/RT4PlTR9+g4bx86w=",
|
"narHash": "sha256-aOKd8+mhBsLQChCu1mn/W5ww79ta5cXVE59aJFrifM8=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "home-manager",
|
"repo": "home-manager",
|
||||||
"rev": "892f76bd0aa09a0f7f73eb41834b8a904b6d0fad",
|
"rev": "cd886711998fe5d9ff7979fdd4b4cbd17b1f1511",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -257,11 +257,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1717181720,
|
"lastModified": 1718450675,
|
||||||
"narHash": "sha256-yv+QZWsusu/NWjydkxixHC2g+tIJ9v+xkE2EiVpJj6g=",
|
"narHash": "sha256-jpsns6buS4bK+1sF8sL8AaixAiCRjA+nldTKvcwmvUs=",
|
||||||
"owner": "hyprwm",
|
"owner": "hyprwm",
|
||||||
"repo": "hyprcursor",
|
"repo": "hyprcursor",
|
||||||
"rev": "9e27a2c2ceb1e0b85bd55b0afefad196056fe87c",
|
"rev": "66d5b46ff94efbfa6fa3d1d1b66735f1779c34a6",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -281,11 +281,11 @@
|
|||||||
"xdph": "xdph"
|
"xdph": "xdph"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1718359900,
|
"lastModified": 1719338642,
|
||||||
"narHash": "sha256-eVf70Ps7O8R3DEEfSMW54V07kxkRv5IaWMxSa77hMu4=",
|
"narHash": "sha256-oy2IpTiMTof5rUqdmUMYzn6Xugc8kTh629soVCyC3L4=",
|
||||||
"ref": "refs/heads/main",
|
"ref": "refs/heads/main",
|
||||||
"rev": "b2590b58c51094424a9651d8df37dfab838b5bbb",
|
"rev": "95782de966ec9e182d49b2f032b74a1101f423e8",
|
||||||
"revCount": 4824,
|
"revCount": 4889,
|
||||||
"submodules": true,
|
"submodules": true,
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/hyprwm/Hyprland"
|
"url": "https://github.com/hyprwm/Hyprland"
|
||||||
@@ -310,11 +310,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1691753796,
|
"lastModified": 1714869498,
|
||||||
"narHash": "sha256-zOEwiWoXk3j3+EoF3ySUJmberFewWlagvewDRuWYAso=",
|
"narHash": "sha256-vbLVOWvQqo4n1yvkg/Q70VTlPbMmTiCQfNTgcWDCfJM=",
|
||||||
"owner": "hyprwm",
|
"owner": "hyprwm",
|
||||||
"repo": "hyprland-protocols",
|
"repo": "hyprland-protocols",
|
||||||
"rev": "0c2ce70625cb30aef199cb388f99e19a61a6ce03",
|
"rev": "e06482e0e611130cd1929f75e8c1cf679e57d161",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -364,11 +364,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1717881334,
|
"lastModified": 1719316102,
|
||||||
"narHash": "sha256-a0inRgJhPL6v9v7RPM/rx1kbXdfe3xJA1c9z0ZkYnh4=",
|
"narHash": "sha256-dmRz128j/lJmMuTYeCYPfSBRHHQO3VeH4PbmoyAhHzw=",
|
||||||
"owner": "hyprwm",
|
"owner": "hyprwm",
|
||||||
"repo": "hyprutils",
|
"repo": "hyprutils",
|
||||||
"rev": "0693f9398ab693d89c9a0aa3b3d062dd61b7a60e",
|
"rev": "1f6bbec5954f623ff8d68e567bddcce97cd2f085",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -389,11 +389,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1717784906,
|
"lastModified": 1719067853,
|
||||||
"narHash": "sha256-YxmfxHfWed1fosaa7fC1u7XoKp1anEZU+7Lh/ojRKoM=",
|
"narHash": "sha256-mAnZG/eQy72Fp1ImGtqCgUrDumnR1rMZv2E/zgP4U74=",
|
||||||
"owner": "hyprwm",
|
"owner": "hyprwm",
|
||||||
"repo": "hyprwayland-scanner",
|
"repo": "hyprwayland-scanner",
|
||||||
"rev": "0f30f9eca6e404130988554accbb64d1c9ec877d",
|
"rev": "914f083741e694092ee60a39d31f693d0a6dc734",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -410,11 +410,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1717976995,
|
"lastModified": 1719128254,
|
||||||
"narHash": "sha256-u3HBinyIyUvL1+N816bODpJmSQdgn0Mbb8BprFw7kqo=",
|
"narHash": "sha256-I7jMpq0CAOZA/i70+HDQO/ulLttyQu/K70cSESiMX7A=",
|
||||||
"owner": "lnl7",
|
"owner": "lnl7",
|
||||||
"repo": "nix-darwin",
|
"repo": "nix-darwin",
|
||||||
"rev": "315aa649ba307704db0b16c92f097a08a65ec955",
|
"rev": "50581970f37f06a4719001735828519925ef8310",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -425,11 +425,11 @@
|
|||||||
},
|
},
|
||||||
"nixos-hardware": {
|
"nixos-hardware": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1718349360,
|
"lastModified": 1719322773,
|
||||||
"narHash": "sha256-SuPne4BMqh9/IkKIAG47Cu5qfmntAaqlHdX1yuFoDO0=",
|
"narHash": "sha256-BqPxtFwXrpJQDh65NOIHX99pz2rtIMshG9Mt2xnnc5c=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixos-hardware",
|
"repo": "nixos-hardware",
|
||||||
"rev": "ae5c8dcc4d0182d07d75df2dc97112de822cb9d6",
|
"rev": "caabc425565bbd5c8640630b0bf6974961a49242",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -457,11 +457,11 @@
|
|||||||
},
|
},
|
||||||
"nixpkgs-stable": {
|
"nixpkgs-stable": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1717880976,
|
"lastModified": 1719099622,
|
||||||
"narHash": "sha256-BRvSCsKtDUr83NEtbGfHLUOdDK0Cgbezj2PtcHnz+sQ=",
|
"narHash": "sha256-YzJECAxFt+U5LPYf/pCwW/e1iUd2PF21WITHY9B/BAs=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "4913a7c3d8b8d00cb9476a6bd730ff57777f740c",
|
"rev": "5e8e3b89adbd0be63192f6e645e0a54080004924",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -473,11 +473,11 @@
|
|||||||
},
|
},
|
||||||
"nixpkgs_2": {
|
"nixpkgs_2": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1717974879,
|
"lastModified": 1719075281,
|
||||||
"narHash": "sha256-GTO3C88+5DX171F/gVS3Qga/hOs/eRMxPFpiHq2t+D8=",
|
"narHash": "sha256-CyyxvOwFf12I91PBWz43iGT1kjsf5oi6ax7CrvaMyAo=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "c7b821ba2e1e635ba5a76d299af62821cbcb09f3",
|
"rev": "a71e967ef3694799d0c418c98332f7ff4cc5f6af",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -489,11 +489,11 @@
|
|||||||
},
|
},
|
||||||
"nixpkgs_3": {
|
"nixpkgs_3": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1718160348,
|
"lastModified": 1719254875,
|
||||||
"narHash": "sha256-9YrUjdztqi4Gz8n3mBuqvCkMo4ojrA6nASwyIKWMpus=",
|
"narHash": "sha256-ECni+IkwXjusHsm9Sexdtq8weAq/yUyt1TWIemXt3Ko=",
|
||||||
"owner": "nixos",
|
"owner": "nixos",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "57d6973abba7ea108bac64ae7629e7431e0199b6",
|
"rev": "2893f56de08021cffd9b6b6dfc70fd9ccd51eb60",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -533,11 +533,11 @@
|
|||||||
"treefmt-nix": "treefmt-nix"
|
"treefmt-nix": "treefmt-nix"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1718358971,
|
"lastModified": 1719334058,
|
||||||
"narHash": "sha256-8REGUp3RB2/3Q3Ibu00onhj1HyLh/Z8oRU6D3/EQ08w=",
|
"narHash": "sha256-5uhWaoHhUYEPNC42NVW+srBgldwQKQE6dvW45rg0K3Q=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "nixvim",
|
"repo": "nixvim",
|
||||||
"rev": "e51b8b9b5c91aa49981d78c4aa1ac08a50150103",
|
"rev": "76a8790764ec983ca0659c952c4b6924c4e9bf1a",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -548,11 +548,11 @@
|
|||||||
},
|
},
|
||||||
"nur": {
|
"nur": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1718354773,
|
"lastModified": 1719337524,
|
||||||
"narHash": "sha256-p0pjm5l6LOYoEzSMLZv0QSE4vgGwfhkCz7VN58IUjzc=",
|
"narHash": "sha256-bYp4//+XM+J1Y23sW6VjXAiCHUdq3aqgXue/tVeCxLw=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "NUR",
|
"repo": "NUR",
|
||||||
"rev": "2fe75ecfd4dd1d2063fcc31ccb5db6d9f2b6b33c",
|
"rev": "37ae43594731d4d801f53dffe465006421c7c292",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -562,11 +562,11 @@
|
|||||||
},
|
},
|
||||||
"nurpkgs": {
|
"nurpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1718354773,
|
"lastModified": 1719337524,
|
||||||
"narHash": "sha256-p0pjm5l6LOYoEzSMLZv0QSE4vgGwfhkCz7VN58IUjzc=",
|
"narHash": "sha256-bYp4//+XM+J1Y23sW6VjXAiCHUdq3aqgXue/tVeCxLw=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "NUR",
|
"repo": "NUR",
|
||||||
"rev": "2fe75ecfd4dd1d2063fcc31ccb5db6d9f2b6b33c",
|
"rev": "37ae43594731d4d801f53dffe465006421c7c292",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -657,11 +657,11 @@
|
|||||||
"nixpkgs-stable": "nixpkgs-stable"
|
"nixpkgs-stable": "nixpkgs-stable"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1718137936,
|
"lastModified": 1719268571,
|
||||||
"narHash": "sha256-psA+1Q5fPaK6yI3vzlLINNtb6EeXj111zQWnZYyJS9c=",
|
"narHash": "sha256-pcUk2Fg5vPXLUEnFI97qaB8hto/IToRfqskFqsjvjb8=",
|
||||||
"owner": "Mic92",
|
"owner": "Mic92",
|
||||||
"repo": "sops-nix",
|
"repo": "sops-nix",
|
||||||
"rev": "c279dec105dd53df13a5e57525da97905cc0f0d6",
|
"rev": "c2ea1186c0cbfa4d06d406ae50f3e4b085ddc9b3",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -757,11 +757,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1718139168,
|
"lastModified": 1718522839,
|
||||||
"narHash": "sha256-1TZQcdETNdJMcfwwoshVeCjwWfrPtkSQ8y8wFX3it7k=",
|
"narHash": "sha256-ULzoKzEaBOiLRtjeY3YoGFJMwWSKRYOic6VNw2UyTls=",
|
||||||
"owner": "numtide",
|
"owner": "numtide",
|
||||||
"repo": "treefmt-nix",
|
"repo": "treefmt-nix",
|
||||||
"rev": "1cb529bffa880746a1d0ec4e0f5076876af931f1",
|
"rev": "68eb1dc333ce82d0ab0c0357363ea17c31ea1f81",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -787,11 +787,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1717918856,
|
"lastModified": 1718619174,
|
||||||
"narHash": "sha256-I38bmPLqamvOfVSArd1hhZtkVRAYBK38fOHZCU1P9Qg=",
|
"narHash": "sha256-FWW68AVYmB91ZDQnhLMBNCUUTCjb1ZpO2k2KIytHtkA=",
|
||||||
"owner": "hyprwm",
|
"owner": "hyprwm",
|
||||||
"repo": "xdg-desktop-portal-hyprland",
|
"repo": "xdg-desktop-portal-hyprland",
|
||||||
"rev": "72907822c19afc0983c69d59d299204381623725",
|
"rev": "c7894aa54f9a7dbd16df5cd24d420c8af22d5623",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|||||||
40
flake.nix
@@ -41,7 +41,45 @@
|
|||||||
home-manager = {
|
home-manager = {
|
||||||
useGlobalPkgs = true;
|
useGlobalPkgs = true;
|
||||||
useUserPackages = true;
|
useUserPackages = true;
|
||||||
users."hadi" = import ./home/laptop.nix; # CHANGE ME
|
users."hadi" = import ./home/laptop.nix;
|
||||||
|
extraSpecialArgs = { inherit inputs; };
|
||||||
|
};
|
||||||
|
}
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
|
jack = nixpkgs.lib.nixosSystem {
|
||||||
|
system = "x86_64-linux";
|
||||||
|
modules = [
|
||||||
|
inputs.sops-nix.nixosModules.sops
|
||||||
|
./hosts/server/configuration.nix
|
||||||
|
inputs.home-manager.nixosModules.home-manager
|
||||||
|
{
|
||||||
|
nixpkgs.overlays = [ nur.overlay ];
|
||||||
|
_module.args = { inherit inputs; };
|
||||||
|
home-manager = {
|
||||||
|
useGlobalPkgs = true;
|
||||||
|
useUserPackages = true;
|
||||||
|
users."hadi" = import ./home/server.nix;
|
||||||
|
extraSpecialArgs = { inherit inputs; };
|
||||||
|
};
|
||||||
|
}
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
|
yourhostname = nixpkgs.lib.nixosSystem { # CHANGEME
|
||||||
|
system = "x86_64-linux";
|
||||||
|
modules = [
|
||||||
|
./hosts/yourhostname/configuration.nix # CHANGEME
|
||||||
|
inputs.home-manager.nixosModules.home-manager
|
||||||
|
{
|
||||||
|
nixpkgs.overlays = [ nur.overlay ];
|
||||||
|
_module.args = { inherit inputs; };
|
||||||
|
home-manager = {
|
||||||
|
useGlobalPkgs = true;
|
||||||
|
useUserPackages = true;
|
||||||
|
users."yourusername" = import # CHANGEME
|
||||||
|
./home/laptop.nix; # you can also create a new ./home/yourhostname.nix
|
||||||
extraSpecialArgs = { inherit inputs; };
|
extraSpecialArgs = { inherit inputs; };
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,29 +1,34 @@
|
|||||||
{ pkgs, config, ... }: {
|
{ pkgs, config, ... }: {
|
||||||
|
|
||||||
imports = [
|
imports = [
|
||||||
../hosts/laptop/variables.nix
|
../hosts/laptop/variables.nix # CHANGEME, replace with your host
|
||||||
|
|
||||||
# Programs
|
# Programs
|
||||||
./programs/btop
|
./programs/btop
|
||||||
./programs/cava
|
./programs/cava
|
||||||
./programs/kitty
|
./programs/kitty
|
||||||
|
./programs/nextcloud
|
||||||
./programs/nvim
|
./programs/nvim
|
||||||
./programs/qutebrowser
|
./programs/qutebrowser
|
||||||
./programs/spicetify
|
./programs/spicetify
|
||||||
|
./programs/zathura
|
||||||
|
./programs/shell
|
||||||
|
./programs/git
|
||||||
|
|
||||||
# Scripts
|
# Scripts
|
||||||
./scripts # All scripts
|
./scripts # All scripts
|
||||||
|
|
||||||
# System
|
# System (Desktop environment like stuff)
|
||||||
./system/dunst
|
./system/dunst
|
||||||
./system/git
|
|
||||||
./system/gtk
|
./system/gtk
|
||||||
./system/hyprland
|
./system/hyprland
|
||||||
./system/shell
|
|
||||||
./system/sops/laptop.nix
|
|
||||||
./system/waybar
|
./system/waybar
|
||||||
./system/wlogout
|
./system/wlogout
|
||||||
./system/wofi
|
./system/wofi
|
||||||
|
./system/mime
|
||||||
|
./system/udiskie
|
||||||
|
|
||||||
|
./system/sops/laptop.nix # You should probably remove this line
|
||||||
];
|
];
|
||||||
|
|
||||||
home = {
|
home = {
|
||||||
@@ -38,6 +43,8 @@
|
|||||||
xfce.thunar
|
xfce.thunar
|
||||||
bitwarden
|
bitwarden
|
||||||
vlc
|
vlc
|
||||||
|
nextcloud-client
|
||||||
|
tailscale
|
||||||
|
|
||||||
# Dev
|
# Dev
|
||||||
go
|
go
|
||||||
@@ -45,6 +52,10 @@
|
|||||||
nodejs
|
nodejs
|
||||||
python3
|
python3
|
||||||
jq
|
jq
|
||||||
|
git-ignore
|
||||||
|
nurl
|
||||||
|
prefetch-npm-deps
|
||||||
|
figlet
|
||||||
|
|
||||||
# Utils
|
# Utils
|
||||||
fd
|
fd
|
||||||
@@ -62,6 +73,8 @@
|
|||||||
wireguard-tools
|
wireguard-tools
|
||||||
bitwarden-cli
|
bitwarden-cli
|
||||||
optipng
|
optipng
|
||||||
|
pfetch
|
||||||
|
usbutils
|
||||||
|
|
||||||
# Just cool
|
# Just cool
|
||||||
peaclock
|
peaclock
|
||||||
|
|||||||
6
home/programs/nextcloud/default.nix
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
{
|
||||||
|
services.nextcloud-client = {
|
||||||
|
enable = true;
|
||||||
|
startInBackground = true;
|
||||||
|
};
|
||||||
|
}
|
||||||
@@ -24,6 +24,7 @@
|
|||||||
./plugins/tmux-navigator.nix
|
./plugins/tmux-navigator.nix
|
||||||
./plugins/noice.nix
|
./plugins/noice.nix
|
||||||
./plugins/obsidian.nix
|
./plugins/obsidian.nix
|
||||||
|
./plugins/image.nix
|
||||||
./options.nix
|
./options.nix
|
||||||
./colorscheme.nix
|
./colorscheme.nix
|
||||||
];
|
];
|
||||||
|
|||||||
1
home/programs/nvim/plugins/image.nix
Normal file
@@ -0,0 +1 @@
|
|||||||
|
{ programs.nixvim.plugins.image = { enable = true; }; }
|
||||||
@@ -1,6 +1,79 @@
|
|||||||
{ config, ... }: {
|
{ pkgs, config, ... }:
|
||||||
|
let
|
||||||
|
settings = ''
|
||||||
|
{
|
||||||
|
"config": {
|
||||||
|
"title" : "Welcome Home",
|
||||||
|
"openLinksInNewTab": false,
|
||||||
|
"locale": "fr-FR",
|
||||||
|
"colors": {
|
||||||
|
"primary": "#${config.var.theme.colors.accent}",
|
||||||
|
"background": "#${config.var.theme.colors.bg}",
|
||||||
|
"foreground": "#${config.var.theme.colors.fg}",
|
||||||
|
"muted": "#${config.var.theme.colors.c8}"
|
||||||
|
},
|
||||||
|
"folders": [
|
||||||
|
{
|
||||||
|
"name": "Bookmarks",
|
||||||
|
"links": [
|
||||||
|
{"title": "MyNixOs", "url": "https://mynixos.com", "icon": ""},
|
||||||
|
{"title": "Github", "url": "https://github.com", "icon": ""},
|
||||||
|
{"title": "Proton", "url": "https://mail.proton.me/u/0/inbox", "icon": ""},
|
||||||
|
{"title": "Cloudflare One", "url": "https://one.dash.cloudflare.com/", "icon": ""},
|
||||||
|
{"title": "Chat GPT", "url": "https://chat.openai.com/", "icon": ""},
|
||||||
|
{"title": "Nixvim", "url": "https://nix-community.github.io/nixvim/", "icon": ""},
|
||||||
|
{"title": "Hyprland Wiki", "url": "https://wiki.hyprland.org/", "icon": ""},
|
||||||
|
{"title": "Nerdfont", "url": "https://www.nerdfonts.com/cheat-sheet", "icon": ""},
|
||||||
|
{"title": "Youtube", "url": "https://youtube.com", "icon": ""},
|
||||||
|
{"title": "Server", "url": "https://home.anotherhadi.com", "icon": ""}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Work",
|
||||||
|
"links": [
|
||||||
|
{"title": "Outlook", "url": "https://outlook.office.com/mail/", "icon": ""},
|
||||||
|
{"title": "Office", "url": "https://www.office.com/?auth=2", "icon": ""},
|
||||||
|
{"title": "Teams", "url": "https://teams.microsoft.com/_", "icon": ""}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
'';
|
||||||
|
|
||||||
imports = [ ./duckduckgo-colorscheme.nix ./homepage ];
|
homepage = pkgs.buildNpmPackage {
|
||||||
|
pname = "homepage";
|
||||||
|
version = "0.0.0";
|
||||||
|
|
||||||
|
src = pkgs.fetchFromGitHub {
|
||||||
|
owner = "anotherhadi";
|
||||||
|
repo = "homepage";
|
||||||
|
rev = "40286c5e03bcfb9993cce354b4f12c00a1b4966d";
|
||||||
|
hash = "sha256-zlJ/bzFWE64HpUCxiRT5E9wrjVVwSTSgIOrifWKxphU=";
|
||||||
|
};
|
||||||
|
|
||||||
|
# npmDepsHash = lib.fakeHash;
|
||||||
|
npmDepsHash = "sha256-bG+CHTq2Rst3JMxsjAC81KhK+G7WwsTVD1eyP87g0z4=";
|
||||||
|
|
||||||
|
buildPhase = ''
|
||||||
|
npm install
|
||||||
|
cp ${
|
||||||
|
pkgs.writeText "src/routes/config.json" settings
|
||||||
|
} src/routes/config.json
|
||||||
|
npm run build
|
||||||
|
mkdir $out
|
||||||
|
mv build $out
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
description = "homepage";
|
||||||
|
homepage = "https://github.com/anotherhadi/homepage";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
in {
|
||||||
|
|
||||||
|
imports = [ ./duckduckgo-colorscheme.nix ];
|
||||||
|
|
||||||
programs.qutebrowser = {
|
programs.qutebrowser = {
|
||||||
enable = true;
|
enable = true;
|
||||||
@@ -18,8 +91,9 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
quickmarks = {
|
quickmarks = {
|
||||||
home = "${config.var.homeDirectory}/.config/startpage/index.html";
|
home = "${homepage}/build/index.html";
|
||||||
server = "${config.var.homeDirectory}/.config/serverpage/index.html";
|
server = "https://home.anotherhadi.com";
|
||||||
|
jack = "https://home.anotherhadi.com";
|
||||||
mynixos = "https://mynixos.com";
|
mynixos = "https://mynixos.com";
|
||||||
github = "https://github.com";
|
github = "https://github.com";
|
||||||
outlook = "https://outlook.office.com/mail/";
|
outlook = "https://outlook.office.com/mail/";
|
||||||
@@ -38,10 +112,8 @@
|
|||||||
|
|
||||||
settings = {
|
settings = {
|
||||||
url = {
|
url = {
|
||||||
default_page =
|
default_page = "${homepage}/build/index.html";
|
||||||
"${config.var.homeDirectory}/.config/startpage/index.html";
|
start_pages = [ "${homepage}/build/index.html" ];
|
||||||
start_pages =
|
|
||||||
[ "${config.var.homeDirectory}/.config/startpage/index.html" ];
|
|
||||||
};
|
};
|
||||||
|
|
||||||
colors = {
|
colors = {
|
||||||
@@ -184,8 +256,8 @@
|
|||||||
|
|
||||||
keyBindings = {
|
keyBindings = {
|
||||||
normal = {
|
normal = {
|
||||||
"gh" = "open ${config.var.homeDirectory}/.config/startpage/index.html";
|
"gh" = "open ${homepage}/build/index.html";
|
||||||
"gs" = "open ${config.var.homeDirectory}/.config/serverpage/index.html";
|
"gs" = "open https://home.anotherhadi.com";
|
||||||
|
|
||||||
" p" = "tab-move -";
|
" p" = "tab-move -";
|
||||||
" n" = "tab-move +";
|
" n" = "tab-move +";
|
||||||
|
|||||||
@@ -1,297 +0,0 @@
|
|||||||
{ config, ... }:
|
|
||||||
let
|
|
||||||
bookmarks = ''
|
|
||||||
Bookmarks: [
|
|
||||||
{text: "MyNixOs", url: "https://mynixos.com", icon: ""},
|
|
||||||
{text: "Github", url: "https://github.com", icon: ""},
|
|
||||||
{text: "Proton", url: "https://mail.proton.me/u/0/inbox", icon: ""},
|
|
||||||
{text: "Cloudflare One", url: "https://one.dash.cloudflare.com/", icon: ""},
|
|
||||||
{text: "Chat GPT", url: "https://chat.openai.com/", icon: ""},
|
|
||||||
{text: "Nixvim", url: "https://nix-community.github.io/nixvim/", icon: ""},
|
|
||||||
{text: "Hyprland Wiki", url: "https://wiki.hyprland.org/", icon: ""},
|
|
||||||
{text: "Nerdfont", url: "https://www.nerdfonts.com/cheat-sheet", icon: ""},
|
|
||||||
{text: "Youtube", url: "https://youtube.com", icon: ""},
|
|
||||||
],
|
|
||||||
Home: [
|
|
||||||
{text: "Casa", url: "http://192.168.2.16:8081/#/", icon: ""},
|
|
||||||
{text: "Plex", url: "http://192.168.2.16:32400", icon: ""},
|
|
||||||
{text: "Nextcloud", url: "http://192.168.2.16:10081", icon: ""},
|
|
||||||
],
|
|
||||||
Work: [
|
|
||||||
{text: "Outlook", url: "https://outlook.office.com/mail/", icon: ""},
|
|
||||||
{text: "Office", url: "https://www.office.com/?auth=2", icon: ""},
|
|
||||||
{text: "Teams", url: "https://teams.microsoft.com/_", icon: ""},
|
|
||||||
],
|
|
||||||
'';
|
|
||||||
in {
|
|
||||||
|
|
||||||
xdg.configFile."startpage/index.html".text = ''
|
|
||||||
<!DOCTYPE html>
|
|
||||||
<html lang="en">
|
|
||||||
|
|
||||||
<head>
|
|
||||||
<meta charset="UTF-8">
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
||||||
<title>Homepage</title>
|
|
||||||
<style>
|
|
||||||
h1,
|
|
||||||
h2,
|
|
||||||
h3,
|
|
||||||
p {
|
|
||||||
margin: 0;
|
|
||||||
padding: 0;
|
|
||||||
font-family: '${config.var.theme.font}', sans-serif;
|
|
||||||
}
|
|
||||||
|
|
||||||
.w-screen {
|
|
||||||
width: 100vw;
|
|
||||||
}
|
|
||||||
|
|
||||||
.overflow-hidden {
|
|
||||||
overflow: hidden;
|
|
||||||
}
|
|
||||||
|
|
||||||
.max-w-7xl {
|
|
||||||
max-width: 80rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
.mx-auto {
|
|
||||||
margin-left: auto;
|
|
||||||
margin-right: auto;
|
|
||||||
}
|
|
||||||
|
|
||||||
.justify-between {
|
|
||||||
justify-content: space-between;
|
|
||||||
}
|
|
||||||
|
|
||||||
.items-center {
|
|
||||||
align-items: center;
|
|
||||||
}
|
|
||||||
|
|
||||||
.py-12 {
|
|
||||||
padding-top: 3rem;
|
|
||||||
padding-bottom: 3rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
.px-2 {
|
|
||||||
padding-left: 0.5rem;
|
|
||||||
padding-right: 0.5rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
.text-5xl {
|
|
||||||
font-size: 3rem;
|
|
||||||
line-height: 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
.font-bold {
|
|
||||||
font-weight: 700;
|
|
||||||
}
|
|
||||||
|
|
||||||
.mb-4 {
|
|
||||||
margin-bottom: 1rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
.flex {
|
|
||||||
display: flex;
|
|
||||||
}
|
|
||||||
|
|
||||||
.flex-wrap {
|
|
||||||
flex-wrap: wrap;
|
|
||||||
}
|
|
||||||
|
|
||||||
.flex-col {
|
|
||||||
flex-direction: column;
|
|
||||||
}
|
|
||||||
|
|
||||||
.flex-grow {
|
|
||||||
flex-grow: 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
.gap-5 {
|
|
||||||
gap: 1.25rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
.gap-05 {
|
|
||||||
gap: 0.125rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
.justify-start {
|
|
||||||
justify-content: flex-start;
|
|
||||||
}
|
|
||||||
|
|
||||||
.items-start {
|
|
||||||
align-items: flex-start;
|
|
||||||
}
|
|
||||||
|
|
||||||
.hover\:opacity-60:hover {
|
|
||||||
opacity: 0.6;
|
|
||||||
}
|
|
||||||
|
|
||||||
.pb-10 {
|
|
||||||
padding-bottom: 2.5rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
.p-10 {
|
|
||||||
padding: 2.5rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
.text-xl {
|
|
||||||
font-size: 1.25rem;
|
|
||||||
line-height: 1.75rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
.text-lg {
|
|
||||||
font-size: 1.125rem;
|
|
||||||
line-height: 1.75rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
.text-sm {
|
|
||||||
font-size: 0.875rem;
|
|
||||||
line-height: 1.25rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
.text-4xl {
|
|
||||||
font-size: 2.25rem;
|
|
||||||
line-height: 2.5rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
.px-5 {
|
|
||||||
padding-left: 1.25rem;
|
|
||||||
padding-right: 1.25rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
.py-2 {
|
|
||||||
padding-top: 0.5rem;
|
|
||||||
padding-bottom: 0.5rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
a {
|
|
||||||
text-decoration: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
a, a:visited, a:hover, a:active {
|
|
||||||
color: inherit;
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
</head>
|
|
||||||
|
|
||||||
<body class="w-screen" style="background-color: #${config.var.theme.colors.bg}; color: #${config.var.theme.colors.fg};">
|
|
||||||
<div class="max-w-7xl mx-auto p-10">
|
|
||||||
<div class="w-full flex justify-between" id="date-time">
|
|
||||||
<p class="text-xl"></p>
|
|
||||||
<p class="text-xl"></p>
|
|
||||||
</div>
|
|
||||||
<div class="w-full py-12 px-2" id="greeting">
|
|
||||||
<h1 class="text-5xl font-bold mb-4" style="color: #${config.var.theme.colors.accent};"></h1>
|
|
||||||
</div>
|
|
||||||
<div id="link-list" class="flex gap-5 flex-col justify-start items-start"></div>
|
|
||||||
</div>
|
|
||||||
<script defer>
|
|
||||||
const linkLists = {
|
|
||||||
${bookmarks}
|
|
||||||
};
|
|
||||||
|
|
||||||
function getDomainFromUrl(url) {
|
|
||||||
let domain = url.replace(/(^\w+:|^)\/\//, "");
|
|
||||||
domain = domain.split('/')[0];
|
|
||||||
return domain;
|
|
||||||
}
|
|
||||||
|
|
||||||
const linkListContainer = document.getElementById('link-list');
|
|
||||||
|
|
||||||
for (const key in linkLists) {
|
|
||||||
if (Object.hasOwnProperty.call(linkLists, key)) {
|
|
||||||
const linkList = linkLists[key];
|
|
||||||
const title = document.createElement('h2');
|
|
||||||
title.textContent = key.charAt(0).toUpperCase() + key.slice(1);
|
|
||||||
title.className = "text-3xl font-bold"
|
|
||||||
linkListContainer.appendChild(title);
|
|
||||||
|
|
||||||
const list = document.createElement('div');
|
|
||||||
list.className = 'flex flex-wrap gap-5 justify-start';
|
|
||||||
linkList.forEach(link => {
|
|
||||||
const anchor = document.createElement('a');
|
|
||||||
anchor.href = link.url;
|
|
||||||
anchor.className = "px-5 py-2 hover:opacity-60 flex-grow"
|
|
||||||
|
|
||||||
const div = document.createElement('div');
|
|
||||||
div.className = 'flex flex-row gap-5 items-center';
|
|
||||||
|
|
||||||
let icon = document.createElement('p');
|
|
||||||
icon.textContent = link.icon || "";
|
|
||||||
icon.className = "text-4xl";
|
|
||||||
div.appendChild(icon);
|
|
||||||
|
|
||||||
const divNameUrl = document.createElement('div');
|
|
||||||
divNameUrl.className = 'flex flex-col gap-05';
|
|
||||||
|
|
||||||
const name = document.createElement('p');
|
|
||||||
name.textContent = link.text;
|
|
||||||
name.className = 'text-lg font-medium';
|
|
||||||
|
|
||||||
const url = document.createElement('p');
|
|
||||||
url.textContent = link.url;
|
|
||||||
url.className = 'text-sm';
|
|
||||||
url.style = "color: #${config.var.theme.colors.fgalt};"
|
|
||||||
|
|
||||||
divNameUrl.appendChild(name);
|
|
||||||
divNameUrl.appendChild(url);
|
|
||||||
div.appendChild(divNameUrl);
|
|
||||||
anchor.appendChild(div);
|
|
||||||
list.appendChild(anchor);
|
|
||||||
});
|
|
||||||
|
|
||||||
linkListContainer.appendChild(list);
|
|
||||||
const spacer = document.createElement('div');
|
|
||||||
spacer.className = "pb-10"
|
|
||||||
linkListContainer.appendChild(spacer);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
function updateDateTime() {
|
|
||||||
const dateTimeContainer = document.getElementById('date-time');
|
|
||||||
const currentDate = new Date();
|
|
||||||
const dateOptions = {weekday: 'long', year: 'numeric', month: 'long', day: 'numeric'};
|
|
||||||
const timeOptions = {hour: '2-digit', minute: '2-digit'};
|
|
||||||
const formattedDate = currentDate.toLocaleDateString('en-US', dateOptions);
|
|
||||||
const formattedTime = currentDate.toLocaleTimeString('en-US', timeOptions);
|
|
||||||
const dateParagraph = dateTimeContainer.querySelector('p:nth-child(1)');
|
|
||||||
const timeParagraph = dateTimeContainer.querySelector('p:nth-child(2)');
|
|
||||||
dateParagraph.textContent = formattedDate;
|
|
||||||
timeParagraph.textContent = formattedTime;
|
|
||||||
}
|
|
||||||
|
|
||||||
updateDateTime();
|
|
||||||
setInterval(updateDateTime, 60000);
|
|
||||||
|
|
||||||
function updateGreeting() {
|
|
||||||
const greetingContainer = document.getElementById('greeting');
|
|
||||||
const currentDate = new Date();
|
|
||||||
const currentHour = currentDate.getHours();
|
|
||||||
let greetingText;
|
|
||||||
|
|
||||||
if (currentHour < 2) {
|
|
||||||
greetingText = "Good night! ";
|
|
||||||
} else if (currentHour < 5) {
|
|
||||||
greetingText = "Hello, night owl! ";
|
|
||||||
} else if (currentHour < 12) {
|
|
||||||
greetingText = "Good morning! ";
|
|
||||||
} else if (currentHour < 17) {
|
|
||||||
greetingText = "Good afternoon! ️";
|
|
||||||
} else if (currentHour < 20) {
|
|
||||||
greetingText = "Good evening! ";
|
|
||||||
} else {
|
|
||||||
greetingText = "Good night! ";
|
|
||||||
}
|
|
||||||
|
|
||||||
const greetingHeader = greetingContainer.querySelector('h1');
|
|
||||||
greetingHeader.textContent = greetingText;
|
|
||||||
}
|
|
||||||
|
|
||||||
updateGreeting();
|
|
||||||
</script>
|
|
||||||
</body>
|
|
||||||
|
|
||||||
</html>
|
|
||||||
'';
|
|
||||||
}
|
|
||||||
@@ -6,6 +6,7 @@
|
|||||||
./zoxide.nix
|
./zoxide.nix
|
||||||
./tmux.nix
|
./tmux.nix
|
||||||
./lazygit.nix
|
./lazygit.nix
|
||||||
|
./eza.nix
|
||||||
./fetch
|
./fetch
|
||||||
./lf
|
./lf
|
||||||
];
|
];
|
||||||
13
home/programs/shell/eza.nix
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
{
|
||||||
|
programs.eza = {
|
||||||
|
enable = true;
|
||||||
|
icons = true;
|
||||||
|
|
||||||
|
extraOptions = [
|
||||||
|
"--group-directories-first"
|
||||||
|
"--no-quotes"
|
||||||
|
"--git-ignore"
|
||||||
|
"--icons=always"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
}
|
||||||
@@ -12,6 +12,7 @@
|
|||||||
bind-key j select-pane -D
|
bind-key j select-pane -D
|
||||||
bind-key k select-pane -U
|
bind-key k select-pane -U
|
||||||
bind-key l select-pane -R
|
bind-key l select-pane -R
|
||||||
|
set -gq allow-passthrough on
|
||||||
'';
|
'';
|
||||||
|
|
||||||
plugins = with pkgs; [
|
plugins = with pkgs; [
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
{ pkgs, lib, config, ... }: {
|
{ pkgs, lib, config, ... }: {
|
||||||
|
|
||||||
home.packages = with pkgs; [ eza bat ripgrep tldr ];
|
home.packages = with pkgs; [ bat ripgrep tldr ];
|
||||||
|
|
||||||
programs.zsh = {
|
programs.zsh = {
|
||||||
enable = true;
|
enable = true;
|
||||||
@@ -15,6 +15,8 @@
|
|||||||
pkgs.neofetch + "/bin/neofetch"
|
pkgs.neofetch + "/bin/neofetch"
|
||||||
else if config.var.theme.fetch == "nerdfetch" then
|
else if config.var.theme.fetch == "nerdfetch" then
|
||||||
"nerdfetch"
|
"nerdfetch"
|
||||||
|
else if config.var.theme.fetch == "pfetch" then
|
||||||
|
"echo; ${pkgs.pfetch}/bin/pfetch"
|
||||||
else
|
else
|
||||||
""}
|
""}
|
||||||
'';
|
'';
|
||||||
@@ -33,19 +35,22 @@
|
|||||||
|
|
||||||
shellAliases = {
|
shellAliases = {
|
||||||
vim = "nvim";
|
vim = "nvim";
|
||||||
|
vi = "nvim";
|
||||||
v = "nvim";
|
v = "nvim";
|
||||||
c = "clear";
|
c = "clear";
|
||||||
clera = "clear";
|
clera = "clear";
|
||||||
celar = "clear";
|
celar = "clear";
|
||||||
e = "exit";
|
e = "exit";
|
||||||
cd = "z";
|
cd = "z";
|
||||||
ls = "${pkgs.eza}/bin/eza --icons=always";
|
ls = "eza --icons=always --no-quotes";
|
||||||
tree = "${pkgs.eza}/bin/eza --icons=always --tree";
|
tree = "eza --icons=always --tree --no-quotes";
|
||||||
sl = "ls";
|
sl = "ls";
|
||||||
open = "${pkgs.xdg_utils}/bin/xdg-open";
|
open = "${pkgs.xdg_utils}/bin/xdg-open";
|
||||||
icat = "${pkgs.kitty}/bin/kitty +kitten icat";
|
icat = "${pkgs.kitty}/bin/kitty +kitten icat";
|
||||||
note = "vim ~/Nextcloud/obsidian";
|
note = "vim ~/Nextcloud/obsidian";
|
||||||
obs = "vim ~/Nextcloud/obsidian";
|
obs = "vim ~/Nextcloud/obsidian";
|
||||||
|
wireguard-import = "nmcli connection import type wireguard file";
|
||||||
|
vault = "nvim $HOME/nextcloud/Notes/";
|
||||||
|
|
||||||
# git
|
# git
|
||||||
ga = "git add";
|
ga = "git add";
|
||||||
17
home/programs/zathura/default.nix
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
# PDF viewer
|
||||||
|
{
|
||||||
|
programs.zathura = {
|
||||||
|
enable = true;
|
||||||
|
|
||||||
|
options = {
|
||||||
|
guioptions = "v";
|
||||||
|
adjust-open = "width";
|
||||||
|
statusbar-basename = true;
|
||||||
|
render-loading = false;
|
||||||
|
scroll-step = 120;
|
||||||
|
|
||||||
|
# highlight-color = ");
|
||||||
|
# highlight-active-color = mkForce (rgba "base0D");
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
@@ -1,16 +1,11 @@
|
|||||||
{ pkgs, ... }:
|
{ pkgs, ... }:
|
||||||
|
|
||||||
let
|
let
|
||||||
notify-system = pkgs.writeShellScriptBin "notify-system" ''
|
battery-watch = pkgs.writeShellScriptBin "battery-watch" ''
|
||||||
function minute() {
|
while true;do
|
||||||
while true;do
|
battery-plugged &
|
||||||
battery-plugged &
|
battery-level &
|
||||||
battery-level &
|
sleep 60
|
||||||
sleep 60
|
done
|
||||||
done
|
|
||||||
}
|
|
||||||
|
|
||||||
minute
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
battery-plugged = pkgs.writeShellScriptBin "battery-plugged" ''
|
battery-plugged = pkgs.writeShellScriptBin "battery-plugged" ''
|
||||||
@@ -18,9 +13,9 @@ let
|
|||||||
OLD_BATTERY_STATUS=$(cat /tmp/old_battery_status 2>/dev/null || echo "Unknown")
|
OLD_BATTERY_STATUS=$(cat /tmp/old_battery_status 2>/dev/null || echo "Unknown")
|
||||||
if [[ $BATTERY_STATUS != $OLD_BATTERY_STATUS && $OLD_BATTERY_STATUS != "Unknown" ]]; then
|
if [[ $BATTERY_STATUS != $OLD_BATTERY_STATUS && $OLD_BATTERY_STATUS != "Unknown" ]]; then
|
||||||
if [[ $BATTERY_STATUS == "Discharging" ]]; then
|
if [[ $BATTERY_STATUS == "Discharging" ]]; then
|
||||||
${pkgs.libnotify}/bin/notify-send " " "Battery is unplugged"
|
notif "battery" " Battery is unplugged"
|
||||||
else
|
else
|
||||||
${pkgs.libnotify}/bin/notify-send " " "Battery is plugged in"
|
notif "battery" " Battery is plugged in"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
echo $BATTERY_STATUS > /tmp/old_battery_status
|
echo $BATTERY_STATUS > /tmp/old_battery_status
|
||||||
@@ -30,14 +25,12 @@ let
|
|||||||
BATTERY_LEVEL=$(cat /sys/class/power_supply/BAT*/capacity | head -n1)
|
BATTERY_LEVEL=$(cat /sys/class/power_supply/BAT*/capacity | head -n1)
|
||||||
BATTERY_STATUS=$(cat /sys/class/power_supply/BAT*/status | head -n1)
|
BATTERY_STATUS=$(cat /sys/class/power_supply/BAT*/status | head -n1)
|
||||||
if [[ $BATTERY_LEVEL -le 20 ]] && [[ $BATTERY_STATUS == "Discharging" ]]; then
|
if [[ $BATTERY_LEVEL -le 20 ]] && [[ $BATTERY_STATUS == "Discharging" ]]; then
|
||||||
${pkgs.libnotify}/bin/notify-send " Low battery" "Battery level is $BATTERY_LEVEL%"
|
notif "battery" " Low battery" "Battery level is $BATTERY_LEVEL%"
|
||||||
elif [[ $BATTERY_LEVEL -le 10 ]] && [[ $BATTERY_STATUS == "Discharging" ]]; then
|
elif [[ $BATTERY_LEVEL -le 10 ]] && [[ $BATTERY_STATUS == "Discharging" ]]; then
|
||||||
${pkgs.libnotify}/bin/notify-send --urgency=critical " Very low battery" "Battery level is $BATTERY_LEVEL%"
|
notif "battery" " Very low battery" "Battery level is $BATTERY_LEVEL%"
|
||||||
elif [[ $BATTERY_LEVEL -eq 100 ]] && [[ $BATTERY_STATUS -ne "Discharging" ]]; then
|
# elif [[ $BATTERY_LEVEL -eq 100 ]] && [[ $BATTERY_STATUS -ne "Discharging" ]]; then
|
||||||
${pkgs.libnotify}/bin/notify-send " Fully charged"
|
# notif "battery" " Fully charged"
|
||||||
fi
|
fi
|
||||||
'';
|
'';
|
||||||
|
|
||||||
in {
|
in { home.packages = [ battery-watch battery-plugged battery-level ]; }
|
||||||
home.packages = with pkgs; [ notify-system battery-plugged battery-level ];
|
|
||||||
}
|
|
||||||
@@ -13,9 +13,7 @@ let
|
|||||||
|
|
||||||
message=" Brightness: $brightness_level%"
|
message=" Brightness: $brightness_level%"
|
||||||
|
|
||||||
${pkgs.libnotify}/bin/notify-send "$message" \
|
notif "brightness" "$message" "extraargs=-h int:value:$brightness_level"
|
||||||
-h int:value:"$brightness_level" \
|
|
||||||
--replace-id="$(cat "/tmp/nixy-notification" 2>/dev/null || echo 0)" --print-id > "/tmp/nixy-notification"
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
brightness-up = pkgs.writeShellScriptBin "brightness-up" ''
|
brightness-up = pkgs.writeShellScriptBin "brightness-up" ''
|
||||||
@@ -26,10 +24,4 @@ let
|
|||||||
brightness-change down ${increments}
|
brightness-change down ${increments}
|
||||||
'';
|
'';
|
||||||
|
|
||||||
in {
|
in { home.packages = [ brightness-change brightness-up brightness-down ]; }
|
||||||
home.packages = with pkgs; [
|
|
||||||
brightness-change
|
|
||||||
brightness-up
|
|
||||||
brightness-down
|
|
||||||
];
|
|
||||||
}
|
|
||||||
|
|||||||
@@ -1,7 +1,5 @@
|
|||||||
{ pkgs, config, ... }:
|
{ pkgs, ... }:
|
||||||
let
|
let
|
||||||
homedir = config.home.homeDirectory;
|
|
||||||
|
|
||||||
caffeine-status = pkgs.writeShellScriptBin "caffeine-status" ''
|
caffeine-status = pkgs.writeShellScriptBin "caffeine-status" ''
|
||||||
[[ -f /tmp/caffeine ]] && echo "active" || echo "inactive"
|
[[ -f /tmp/caffeine ]] && echo "active" || echo "inactive"
|
||||||
'';
|
'';
|
||||||
@@ -16,8 +14,7 @@ let
|
|||||||
pkill hypridle
|
pkill hypridle
|
||||||
message=" Caffeine Activated"
|
message=" Caffeine Activated"
|
||||||
fi
|
fi
|
||||||
${pkgs.libnotify}/bin/notify-send "$message" \
|
notif "caffeine" "$message"
|
||||||
--replace-id="$(cat "/tmp/nixy-notification" 2>/dev/null || echo 0)" --print-id > "/tmp/nixy-notification"
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
in { home.packages = with pkgs; [ caffeine-status caffeine ]; }
|
in { home.packages = [ caffeine-status caffeine ]; }
|
||||||
|
|||||||
@@ -11,6 +11,7 @@ let
|
|||||||
echo "Wrong number of arguments..."
|
echo "Wrong number of arguments..."
|
||||||
fi
|
fi
|
||||||
'';
|
'';
|
||||||
|
|
||||||
extract = pkgs.writeShellScriptBin "extract" ''
|
extract = pkgs.writeShellScriptBin "extract" ''
|
||||||
for i in "$@" ; do
|
for i in "$@" ; do
|
||||||
tar -xvzf $i
|
tar -xvzf $i
|
||||||
@@ -18,4 +19,4 @@ let
|
|||||||
done
|
done
|
||||||
'';
|
'';
|
||||||
|
|
||||||
in { home.packages = with pkgs; [ compress extract ]; }
|
in { home.packages = [ compress extract ]; }
|
||||||
|
|||||||
@@ -8,8 +8,10 @@
|
|||||||
./screenshot
|
./screenshot
|
||||||
./startup
|
./startup
|
||||||
./nerdfont_fzf
|
./nerdfont_fzf
|
||||||
./system
|
./notification
|
||||||
|
./battery
|
||||||
./compress
|
./compress
|
||||||
./misc
|
./misc
|
||||||
|
./tofi
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,8 +1,6 @@
|
|||||||
{ pkgs, config, ... }:
|
{ pkgs, ... }:
|
||||||
|
|
||||||
let
|
let
|
||||||
homedir = config.home.homeDirectory;
|
|
||||||
|
|
||||||
menu = pkgs.writeShellScriptBin "menu" ''
|
menu = pkgs.writeShellScriptBin "menu" ''
|
||||||
if pgrep wofi; then
|
if pgrep wofi; then
|
||||||
pkill wofi
|
pkill wofi
|
||||||
@@ -19,12 +17,8 @@ let
|
|||||||
fi
|
fi
|
||||||
'';
|
'';
|
||||||
|
|
||||||
wireguard-import = pkgs.writeShellScriptBin "wireguard-import" ''
|
lock = pkgs.writeShellScriptBin "lock" ''
|
||||||
nmcli connection import type wireguard file "$1"
|
${pkgs.hyprlock}/bin/hyprlock
|
||||||
'';
|
'';
|
||||||
|
|
||||||
vault = pkgs.writeShellScriptBin "vault" ''
|
in { home.packages = [ menu powermenu lock ]; }
|
||||||
nvim $HOME/Nextcloud/obsidian
|
|
||||||
'';
|
|
||||||
|
|
||||||
in { home.packages = with pkgs; [ menu wireguard-import powermenu vault ]; }
|
|
||||||
|
|||||||
@@ -26,10 +26,9 @@ let
|
|||||||
'';
|
'';
|
||||||
|
|
||||||
in {
|
in {
|
||||||
home.packages = with pkgs; [ nerdfont-fzf nerdfont-fzf-fetch nerdfont-popup ];
|
home.packages = [ nerdfont-fzf nerdfont-fzf-fetch nerdfont-popup ];
|
||||||
|
|
||||||
xdg.configFile."nerdfont_glyphnames.json" = {
|
xdg.configFile."nerdfont_glyphnames.json" = {
|
||||||
source = ./nerdfont_glyphnames.json;
|
source = ./nerdfont_glyphnames.json;
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,20 +1,34 @@
|
|||||||
{ pkgs, config, ... }:
|
{ pkgs, ... }:
|
||||||
|
|
||||||
let
|
let
|
||||||
homedir = config.home.homeDirectory;
|
|
||||||
default = "4000";
|
default = "4000";
|
||||||
|
|
||||||
night-shift-on = pkgs.writeShellScriptBin "night-shift-on" ''
|
night-shift-on = pkgs.writeShellScriptBin "night-shift-on" ''
|
||||||
${pkgs.hyprland}/bin/hyprctl dispatch exec "${pkgs.wlsunset}/bin/wlsunset -t ${default}"
|
${pkgs.hyprland}/bin/hyprctl dispatch exec "${pkgs.wlsunset}/bin/wlsunset -t ${default}"
|
||||||
message=" Night-Shift Activated"
|
message=" Night-Shift Activated"
|
||||||
${pkgs.libnotify}/bin/notify-send "$message" \
|
notif "night-shift" "$message"
|
||||||
--replace-id="$(cat "/tmp/nixy-notification" 2>/dev/null || echo 0)" --print-id > "/tmp/nixy-notification"
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
night-shift-off = pkgs.writeShellScriptBin "night-shift-off" ''
|
night-shift-off = pkgs.writeShellScriptBin "night-shift-off" ''
|
||||||
pkill wlsunset
|
pkill wlsunset
|
||||||
message=" Night-Shift Deactivated"
|
message=" Night-Shift Deactivated"
|
||||||
${pkgs.libnotify}/bin/notify-send "$message" \
|
notif "night-shift" "$message"
|
||||||
--replace-id="$(cat "/tmp/nixy-notification" 2>/dev/null || echo 0)" --print-id > "/tmp/nixy-notification"
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
in { home.packages = with pkgs; [ night-shift-on night-shift-off ]; }
|
night-shift-toggle = pkgs.writeShellScriptBin "night-shift-toggle" ''
|
||||||
|
if pgrep wlsunset; then
|
||||||
|
night-shift-off
|
||||||
|
else
|
||||||
|
night-shift-on
|
||||||
|
fi
|
||||||
|
'';
|
||||||
|
|
||||||
|
night-shift-status = pkgs.writeShellScriptBin "night-shift-status" ''
|
||||||
|
if pgrep wlsunset; then
|
||||||
|
echo "1"
|
||||||
|
else
|
||||||
|
echo "0"
|
||||||
|
fi
|
||||||
|
'';
|
||||||
|
|
||||||
|
in { home.packages = [ night-shift-on night-shift-off night-shift-toggle night-shift-status ]; }
|
||||||
|
|||||||
@@ -1,32 +1,60 @@
|
|||||||
{ pkgs, config, ... }:
|
{ pkgs, config, ... }:
|
||||||
|
|
||||||
let
|
let
|
||||||
nixy-rebuild = pkgs.writeShellScriptBin "nixy-rebuild" ''
|
|
||||||
sudo nixos-rebuild switch --flake ${config.var.configDirectory}#nixy
|
|
||||||
'';
|
|
||||||
|
|
||||||
nixy-upgrade = pkgs.writeShellScriptBin "nixy-upgrade" ''
|
nixy = pkgs.writeShellScriptBin "nixy" ''
|
||||||
sudo nixos-rebuild switch --upgrade --flake ${config.var.configDirectory}#nixy
|
function exec() {
|
||||||
'';
|
$@
|
||||||
|
}
|
||||||
|
|
||||||
nixy-update = pkgs.writeShellScriptBin "nixy-update" ''
|
function ui(){
|
||||||
cd ${config.var.configDirectory} && sudo nix flake update
|
DEFAULT_ICON=""
|
||||||
'';
|
|
||||||
|
|
||||||
nixy-gc = pkgs.writeShellScriptBin "nixy-gc" ''
|
# "icon;name;command"[]
|
||||||
cd ${config.var.configDirectory} && sudo nix-collect-garbage -d
|
apps=(
|
||||||
'';
|
";Rebuild;nixy-rebuild"
|
||||||
|
";Upgrade;nixy-upgrade"
|
||||||
|
";Update;nixy-update"
|
||||||
|
";Collect Garbage;nixy-gc"
|
||||||
|
";Clean Boot Menu;nixy-cb"
|
||||||
|
)
|
||||||
|
|
||||||
nixy-cb = pkgs.writeShellScriptBin "nixy-cb" ''
|
# Apply default icons if empty:
|
||||||
sudo /run/current-system/bin/switch-to-configuration boot
|
for i in "''${!apps[@]}"; do
|
||||||
|
apps[i]=$(echo "''${apps[i]}" | sed 's/^;/'$DEFAULT_ICON';/')
|
||||||
|
done
|
||||||
|
|
||||||
|
fzf_result=$(printf "%s\n" "''${apps[@]}" | awk -F ';' '{print $1" "$2}' | fzf)
|
||||||
|
[[ -z $fzf_result ]] && exit 0
|
||||||
|
fzf_result=''${fzf_result/ /;}
|
||||||
|
line=$(printf "%s\n" "''${apps[@]}" | grep "$fzf_result")
|
||||||
|
command=$(echo "$line" | sed 's/^[^;]*;//;s/^[^;]*;//')
|
||||||
|
|
||||||
|
exec "$command"
|
||||||
|
exit 0
|
||||||
|
}
|
||||||
|
|
||||||
|
[[ $1 == "" ]] && ui
|
||||||
|
|
||||||
|
if [[ $1 == "rebuild" ]];then
|
||||||
|
sudo nixos-rebuild switch --flake ${config.var.configDirectory}#${config.var.hostname}
|
||||||
|
elif [[ $1 == "upgrade" ]];then
|
||||||
|
sudo nixos-rebuild switch --upgrade --flake ${config.var.configDirectory}#${config.var.hostname}
|
||||||
|
elif [[ $1 == "update" ]];then
|
||||||
|
cd ${config.var.configDirectory} && sudo nix flake update
|
||||||
|
elif [[ $1 == "gc" ]];then
|
||||||
|
cd ${config.var.configDirectory} && sudo nix-collect-garbage -d
|
||||||
|
elif [[ $1 == "cb" ]];then
|
||||||
|
sudo /run/current-system/bin/switch-to-configuration boot
|
||||||
|
elif [[ $1 == "remote" ]];then
|
||||||
|
cd ~/.config/nixos && git add . && git commit -m "update" && git push
|
||||||
|
ssh jack -S -C "cd /home/hadi/.config/nixos && git pull && sudo -S nixos-rebuild switch --flake ~/.config/nixos#jack"
|
||||||
|
else
|
||||||
|
echo "Unknown argument"
|
||||||
|
fi
|
||||||
'';
|
'';
|
||||||
|
|
||||||
in {
|
in {
|
||||||
home.packages = with pkgs; [
|
home.packages =
|
||||||
nixy-rebuild
|
[ nixy ];
|
||||||
nixy-upgrade
|
|
||||||
nixy-update
|
|
||||||
nixy-gc
|
|
||||||
nixy-cb
|
|
||||||
];
|
|
||||||
}
|
}
|
||||||
|
|||||||
27
home/scripts/notification/default.nix
Normal file
@@ -0,0 +1,27 @@
|
|||||||
|
{ pkgs, ... }:
|
||||||
|
let
|
||||||
|
notif = pkgs.writeShellScriptBin "notif" ''
|
||||||
|
# Shell script to send custom notifications
|
||||||
|
NOTIF_FOLDER="/tmp/notif"
|
||||||
|
sender_id=$1 # To overwrite existing notifications
|
||||||
|
message=$2
|
||||||
|
extraargs=""
|
||||||
|
description=""
|
||||||
|
if [[ $3 == "extraargs="* ]]; then
|
||||||
|
extraargs=$(echo "$3" | sed 's/extraargs=//g')
|
||||||
|
else
|
||||||
|
description="$3"
|
||||||
|
extraargs="$4"
|
||||||
|
fi
|
||||||
|
|
||||||
|
[[ -d "$NOTIF_FOLDER" ]] || mkdir $NOTIF_FOLDER
|
||||||
|
[[ -f "$NOTIF_FOLDER/$sender_id" ]] || echo "0" > "$NOTIF_FOLDER/$sender_id"
|
||||||
|
|
||||||
|
old_notification_id=$(cat "$NOTIF_FOLDER/$sender_id")
|
||||||
|
|
||||||
|
${pkgs.libnotify}/bin/notify-send "$message" \
|
||||||
|
$extraargs \
|
||||||
|
--replace-id="$old_notification_id" --print-id > "$NOTIF_FOLDER/$sender_id"
|
||||||
|
'';
|
||||||
|
|
||||||
|
in { home.packages = [ notif ]; }
|
||||||
@@ -30,4 +30,4 @@ let
|
|||||||
--icon="$folder/$filename" \
|
--icon="$folder/$filename" \
|
||||||
--replace-id="$(cat "/tmp/nixy-notification" 2>/dev/null || echo 0)" --print-id > "/tmp/nixy-notification"
|
--replace-id="$(cat "/tmp/nixy-notification" 2>/dev/null || echo 0)" --print-id > "/tmp/nixy-notification"
|
||||||
'';
|
'';
|
||||||
in { home.packages = with pkgs; [ hyprshot screenshot ]; }
|
in { home.packages = [ pkgs.hyprshot screenshot ]; }
|
||||||
|
|||||||
@@ -26,9 +26,7 @@ let
|
|||||||
message=" Volume: $volume%"
|
message=" Volume: $volume%"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
${pkgs.libnotify}/bin/notify-send "$message" \
|
notif "sound" "$message" "extraargs=-h int:value:$volume"
|
||||||
-h int:value:"$volume" \
|
|
||||||
--replace-id="$(cat "/tmp/nixy-notification" 2>/dev/null || echo 0)" --print-id > "/tmp/nixy-notification"
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
sound-up = pkgs.writeShellScriptBin "sound-up" ''
|
sound-up = pkgs.writeShellScriptBin "sound-up" ''
|
||||||
@@ -83,11 +81,6 @@ let
|
|||||||
'';
|
'';
|
||||||
|
|
||||||
in {
|
in {
|
||||||
home.packages = with pkgs; [
|
home.packages =
|
||||||
sound-output
|
[ sound-output sound-change sound-up sound-down sound-toggle ];
|
||||||
sound-change
|
|
||||||
sound-up
|
|
||||||
sound-down
|
|
||||||
sound-toggle
|
|
||||||
];
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,43 +1,17 @@
|
|||||||
# File runned at startup by Hyprland
|
# File runned at startup by Hyprland
|
||||||
{ pkgs, config, ... }:
|
{ pkgs, config, ... }:
|
||||||
let
|
let
|
||||||
nextcloud-watch = pkgs.writeShellScriptBin "nextcloud-watch" ''
|
|
||||||
# Start nextcloud if I'm on my local network
|
|
||||||
while true;do
|
|
||||||
sleep 120
|
|
||||||
ssid=$(nmcli -t -f name connection show --active | head -n1)
|
|
||||||
nextcloud_status=$(ps -aux | grep -E "/bin/nextcloud --background$")
|
|
||||||
if [[ $nextcloud_status == "" ]]; then
|
|
||||||
service_status="inactive"
|
|
||||||
else
|
|
||||||
service_status="active"
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [[ $ssid == "inthecloud" || $ssid == "Wired connection 2" ]]; then
|
|
||||||
if [[ $service_status == "inactive" ]]; then
|
|
||||||
${pkgs.nextcloud-client}/bin/nextcloud --background
|
|
||||||
fi
|
|
||||||
else
|
|
||||||
if [[ $service_status == "active" ]]; then
|
|
||||||
nextcloud_pid=$(pgrep -n nextcloud)
|
|
||||||
kill $nextcloud_pid
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
'';
|
|
||||||
|
|
||||||
startup = pkgs.writeShellScriptBin "startup" ''
|
startup = pkgs.writeShellScriptBin "startup" ''
|
||||||
|
# Startup is a script called by Hyprland on startup
|
||||||
# Because HM enabling services suck.
|
# Because HM enabling services suck.
|
||||||
|
|
||||||
[[ ${toString config.var.sops} == "1" ]] && systemctl --user start sops-nix
|
[[ ${toString config.var.sops} == "1" ]] && systemctl --user start sops-nix
|
||||||
|
|
||||||
[[ ${toString config.var.nextcloud} == "1" ]] && nextcloud-watch &
|
battery-watch &
|
||||||
|
|
||||||
notify-system &
|
|
||||||
${pkgs.waybar}/bin/waybar &
|
${pkgs.waybar}/bin/waybar &
|
||||||
|
|
||||||
|
|
||||||
wlr-randr --output "Unknown-1" --off # REMOVE WEIRD GHOST MONITOR
|
wlr-randr --output "Unknown-1" --off # FIX: REMOVE WEIRD GHOST MONITOR
|
||||||
'';
|
'';
|
||||||
|
|
||||||
in { home.packages = with pkgs; [ startup nextcloud-watch nextcloud-client ]; }
|
in { home.packages = [ startup ]; }
|
||||||
|
|||||||
62
home/scripts/tofi/default.nix
Normal file
@@ -0,0 +1,62 @@
|
|||||||
|
{ pkgs, config, ... }:
|
||||||
|
|
||||||
|
let
|
||||||
|
|
||||||
|
tofi = pkgs.writeShellScriptBin "tofi" ''
|
||||||
|
hyprexec="hyprctl dispatch exec"
|
||||||
|
function exec() {
|
||||||
|
$@
|
||||||
|
}
|
||||||
|
|
||||||
|
function ui(){
|
||||||
|
DEFAULT_ICON=""
|
||||||
|
|
||||||
|
# "icon;name;command"[]
|
||||||
|
apps=(
|
||||||
|
";Nixy;nixy"
|
||||||
|
";Nerdfont FZF;nerdfont-fzf"
|
||||||
|
";Brightness Up;brightness-up"
|
||||||
|
";Brightness Down;brightness-down"
|
||||||
|
";Sound Up;sound-up"
|
||||||
|
";Sound Down;sound-down"
|
||||||
|
";Sound Toggle Mute;sound-toggle"
|
||||||
|
";Sound Change Output;sound-output"
|
||||||
|
";Caffeine;caffeine"
|
||||||
|
";Night Shift Toggle;night-shift-toggle"
|
||||||
|
";Firefox;$hyprexec firefox"
|
||||||
|
";Qutebrowser;$hyprexec qutebrowser"
|
||||||
|
";Kitty;$hyprexec kitty"
|
||||||
|
";Thunar;$hyprexec thunar"
|
||||||
|
";Powermenu;powermenu"
|
||||||
|
";Wofi;menu"
|
||||||
|
";Lock;lock"
|
||||||
|
";Bitwarden;$hyprexec bitwarden"
|
||||||
|
";Clock; peaclock"
|
||||||
|
";Nextcloud;$hyprexec nextcloud"
|
||||||
|
";Spotify;$hyprexec spotify"
|
||||||
|
";Btop;btop"
|
||||||
|
";Cava;cava"
|
||||||
|
";Discord;$hyprexec discord"
|
||||||
|
";Vlc;$hyprexec vlc"
|
||||||
|
";Obsidian;$hyprexec obsidian"
|
||||||
|
)
|
||||||
|
|
||||||
|
# Apply default icons if empty:
|
||||||
|
for i in "''${!apps[@]}"; do
|
||||||
|
apps[i]=$(echo "''${apps[i]}" | sed 's/^;/'$DEFAULT_ICON';/')
|
||||||
|
done
|
||||||
|
|
||||||
|
fzf_result=$(printf "%s\n" "''${apps[@]}" | awk -F ';' '{print $1" "$2}' | fzf)
|
||||||
|
[[ -z $fzf_result ]] && exit 0
|
||||||
|
fzf_result=''${fzf_result/ /;}
|
||||||
|
line=$(printf "%s\n" "''${apps[@]}" | grep "$fzf_result")
|
||||||
|
command=$(echo "$line" | sed 's/^[^;]*;//;s/^[^;]*;//')
|
||||||
|
|
||||||
|
exec "$command"
|
||||||
|
exit 0
|
||||||
|
}
|
||||||
|
|
||||||
|
ui
|
||||||
|
'';
|
||||||
|
|
||||||
|
in { home.packages = [ tofi ]; }
|
||||||
46
home/server.nix
Normal file
@@ -0,0 +1,46 @@
|
|||||||
|
{ pkgs, config, ... }: {
|
||||||
|
|
||||||
|
imports = [
|
||||||
|
../hosts/server/variables.nix
|
||||||
|
|
||||||
|
# Programs
|
||||||
|
./programs/btop
|
||||||
|
./programs/nvim
|
||||||
|
./programs/git
|
||||||
|
./programs/shell
|
||||||
|
|
||||||
|
# Scripts
|
||||||
|
./scripts # All scripts
|
||||||
|
];
|
||||||
|
|
||||||
|
home = {
|
||||||
|
inherit (config.var) username;
|
||||||
|
inherit (config.var) homeDirectory;
|
||||||
|
|
||||||
|
packages = with pkgs; [
|
||||||
|
# Dev
|
||||||
|
go
|
||||||
|
cargo
|
||||||
|
nodejs
|
||||||
|
python3
|
||||||
|
jq
|
||||||
|
|
||||||
|
# Utils
|
||||||
|
fd
|
||||||
|
bc
|
||||||
|
gcc
|
||||||
|
zip
|
||||||
|
unzip
|
||||||
|
wget
|
||||||
|
curl
|
||||||
|
glow
|
||||||
|
wireguard-tools
|
||||||
|
pfetch
|
||||||
|
];
|
||||||
|
|
||||||
|
stateVersion = "24.05";
|
||||||
|
};
|
||||||
|
|
||||||
|
programs.home-manager.enable = true;
|
||||||
|
|
||||||
|
}
|
||||||
@@ -32,7 +32,7 @@
|
|||||||
home.file = {
|
home.file = {
|
||||||
".local/share/themes/FlatColor" = {
|
".local/share/themes/FlatColor" = {
|
||||||
recursive = true;
|
recursive = true;
|
||||||
source = ./gtk;
|
source = ./theme;
|
||||||
};
|
};
|
||||||
|
|
||||||
".local/share/themes/FlatColor/colors2".text = ''
|
".local/share/themes/FlatColor/colors2".text = ''
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 184 B After Width: | Height: | Size: 184 B |
|
Before Width: | Height: | Size: 286 B After Width: | Height: | Size: 286 B |
|
Before Width: | Height: | Size: 152 B After Width: | Height: | Size: 152 B |
|
Before Width: | Height: | Size: 152 B After Width: | Height: | Size: 152 B |
|
Before Width: | Height: | Size: 54 KiB After Width: | Height: | Size: 54 KiB |
|
Before Width: | Height: | Size: 169 B After Width: | Height: | Size: 169 B |
|
Before Width: | Height: | Size: 24 KiB After Width: | Height: | Size: 24 KiB |
|
Before Width: | Height: | Size: 257 B After Width: | Height: | Size: 257 B |
|
Before Width: | Height: | Size: 287 B After Width: | Height: | Size: 287 B |
|
Before Width: | Height: | Size: 287 B After Width: | Height: | Size: 287 B |
|
Before Width: | Height: | Size: 150 B After Width: | Height: | Size: 150 B |
|
Before Width: | Height: | Size: 150 B After Width: | Height: | Size: 150 B |
|
Before Width: | Height: | Size: 150 B After Width: | Height: | Size: 150 B |
|
Before Width: | Height: | Size: 187 B After Width: | Height: | Size: 187 B |
|
Before Width: | Height: | Size: 224 B After Width: | Height: | Size: 224 B |
|
Before Width: | Height: | Size: 239 B After Width: | Height: | Size: 239 B |
|
Before Width: | Height: | Size: 173 B After Width: | Height: | Size: 173 B |
|
Before Width: | Height: | Size: 173 B After Width: | Height: | Size: 173 B |
|
Before Width: | Height: | Size: 248 B After Width: | Height: | Size: 248 B |
|
Before Width: | Height: | Size: 207 B After Width: | Height: | Size: 207 B |
|
Before Width: | Height: | Size: 270 B After Width: | Height: | Size: 270 B |
|
Before Width: | Height: | Size: 190 B After Width: | Height: | Size: 190 B |