Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
76168f8b05 | ||
|
|
673284c227 | ||
|
|
9eadcbf6a7 | ||
|
|
ba42268e49 | ||
|
|
01e8bed0fc | ||
|
|
5210fb36a0 | ||
|
|
cf553889d6 | ||
|
|
0aa11e118c | ||
|
|
8aafd5c9b9 | ||
|
|
37bcd81e39 | ||
|
|
19ec68c058 | ||
|
|
c48368b501 | ||
|
|
eb69b51756 | ||
|
|
63404da10f | ||
|
|
ad1b6da6cf | ||
|
|
8c7e72d18c | ||
|
|
1ec7ef8ccd | ||
|
|
ffac8ef90a | ||
|
|
10d3cb4dbe | ||
|
|
42bd0e2cac | ||
|
|
f495530a86 | ||
|
|
067e656a05 | ||
|
|
d980e233e4 | ||
|
|
5a79c1cf68 | ||
|
|
70299a152e | ||
|
|
50bab47767 | ||
|
|
a65672e1bf | ||
|
|
e21894da75 | ||
|
|
5b116bfe53 | ||
|
|
cb978aae73 | ||
|
|
af11b7eddf | ||
|
|
bf89c7cfaf | ||
|
|
55f2f5e6f8 | ||
|
|
2e7ba8e8ba | ||
|
|
ca39e1f8c4 | ||
|
|
f85aad4f95 | ||
|
|
14b36f71bf | ||
|
|
44df22fef4 | ||
|
|
892e5681a1 | ||
|
|
91c03b7751 | ||
|
|
c7762fdebd | ||
|
|
a6da384ba0 | ||
|
|
a8ad063d7a | ||
|
|
4f6d2e0350 | ||
|
|
664c5a332a | ||
|
|
fbf381f476 | ||
|
|
764967bd53 | ||
|
|
7f1eccf9e8 | ||
|
|
6d245ab923 | ||
|
|
20413934e4 | ||
|
|
b73a6f488b | ||
|
|
f929dd3e20 | ||
|
|
07c5d42539 | ||
|
|
b24fc7bd16 | ||
|
|
fd8e52d6d6 | ||
|
|
8956d1790e | ||
|
|
e8c1bb2b2d | ||
|
|
f37c47818a | ||
|
|
1f0756b051 | ||
|
|
87046167e1 | ||
|
|
bf97f9bddf | ||
|
|
75f60590ad | ||
|
|
5ce68a33b6 | ||
|
|
058f8318e5 | ||
|
|
3dac11f8d9 | ||
|
|
f97a86c7bd | ||
|
|
199e90e1f8 | ||
|
|
8c7713c8bc | ||
|
|
9f9d69577e | ||
|
|
8043192d6b | ||
|
|
3585f6dd9c | ||
|
|
39a2171cb1 | ||
|
|
b5c5a2bfef | ||
|
|
7564cff2a9 | ||
|
|
9d0b8aa3c2 | ||
|
|
91ff1c9b59 | ||
|
|
682d15a98d | ||
|
|
8b9a0673a6 | ||
|
|
2ba484163e | ||
|
|
6ea77befc9 | ||
|
|
3be4071e9f | ||
|
|
e55a047241 | ||
|
|
3bdcaa3d53 | ||
|
|
e76974c83c | ||
|
|
aa22dca424 | ||
|
|
b01c562f3a | ||
|
|
d54bad1c90 | ||
|
|
4475bc7129 | ||
|
|
83143b1a05 | ||
|
|
33ef812e07 | ||
|
|
00fa7a3c36 | ||
|
|
cd9d91e189 | ||
|
|
b4c7a4371c | ||
|
|
3566c46ac5 | ||
|
|
afcc0dadfe | ||
|
|
861b58ffe6 | ||
|
|
0210a58bf5 | ||
|
|
526618f959 | ||
|
|
a710b74b92 | ||
|
|
09080f9847 | ||
|
|
fe2b8afda2 | ||
|
|
631c57933a | ||
|
|
42e50ad6f3 | ||
|
|
5f417add31 | ||
|
|
5b5de445e9 | ||
|
|
fec12375cf | ||
|
|
9b6de54e34 | ||
|
|
5551b13801 | ||
|
|
fede2f5799 | ||
|
|
c4cf3d1ba8 | ||
|
|
548b791539 | ||
|
|
b67b4f9202 | ||
|
|
e069aecc8e | ||
|
|
c41e4cd6e9 | ||
|
|
56c920d58e | ||
|
|
e1daf39fb5 | ||
|
|
2535c0966b | ||
|
|
684e083884 | ||
|
|
589bb177d5 | ||
|
|
99accbec6b | ||
|
|
513ca78544 | ||
|
|
228a3eb0d6 | ||
|
|
4ba4eaa831 | ||
|
|
cce705e664 | ||
|
|
34775227e9 | ||
|
|
d1329448d8 | ||
|
|
74218acbf3 | ||
|
|
f2f589884d | ||
|
|
2b7c1d4a64 | ||
|
|
66d9b83dc8 | ||
|
|
d341c0c3f1 | ||
|
|
e776e94484 | ||
|
|
6d43bd1968 | ||
|
|
a5f63ee766 | ||
|
|
7d294ac8b1 | ||
|
|
0f6af3cf48 | ||
|
|
6e49715a28 | ||
|
|
230315f0f6 | ||
|
|
cda218d254 | ||
|
|
48c09ce5ae | ||
|
|
c8082d5b87 | ||
|
|
6b003a8648 | ||
|
|
f7306e8760 | ||
|
|
0ec6a7dbbe | ||
|
|
1a51b5a9c2 | ||
|
|
9f7f9aac84 | ||
|
|
87a7013d51 | ||
|
|
9c1ba99c88 | ||
|
|
26b49e8a8d | ||
|
|
0a43a381cc | ||
|
|
d3f7fe76d8 | ||
|
|
38c4e7a674 | ||
|
|
924395d64e | ||
|
|
8f12835e33 | ||
|
|
f776ca11b8 | ||
|
|
1532be3e5e | ||
|
|
78769733a2 | ||
|
|
669b93bd4a | ||
|
|
9d9c3f5e64 | ||
|
|
e630fd5097 | ||
|
|
e5f57c30da | ||
|
|
14d81a36d3 | ||
|
|
478487d1b9 | ||
|
|
a6aea5e01b | ||
|
|
5a95c0cd66 | ||
|
|
c97a14d603 | ||
|
|
7ffe9399e7 | ||
|
|
fe057f88e5 | ||
|
|
6d70290289 | ||
|
|
ecdfd5867e | ||
|
|
1c4c356479 | ||
|
|
9037f01470 | ||
|
|
325a193a38 | ||
|
|
0b6e55da82 | ||
|
|
f9c605dcf7 | ||
|
|
e3ecdaa1da | ||
|
|
ffec6e9b29 | ||
|
|
65ffb35fd0 | ||
|
|
b6a4563d95 | ||
|
|
f1259be78c | ||
|
|
ab35d54e05 | ||
|
|
7ed89d05ed | ||
|
|
0ce0d549ba | ||
|
|
771a2b88a7 | ||
|
|
6488e6b203 | ||
|
|
32a46708fb | ||
|
|
0275bf10c1 | ||
|
|
d429fbd1d6 | ||
|
|
6624ebeff3 | ||
|
|
91240b2a50 | ||
|
|
858a4a1bf1 | ||
|
|
5ae50d488f | ||
|
|
8814466d57 | ||
|
|
a8a5ae780c | ||
|
|
fb7213dfb6 | ||
|
|
170cf22a58 | ||
|
|
fb8207c1c9 | ||
|
|
ade07ccd6f | ||
|
|
8676253432 | ||
|
|
a5cf020c70 | ||
|
|
46c9281a62 | ||
|
|
ff32a25403 | ||
|
|
1df5c12921 | ||
|
|
fec9e18710 | ||
|
|
cacd136ca9 | ||
|
|
5798a8bcb2 | ||
|
|
6f2936f567 | ||
|
|
f9fae2f75a | ||
|
|
ca3c77768d | ||
|
|
23f407b824 | ||
|
|
1e8525927c | ||
|
|
923232aed9 | ||
|
|
852d9a2baa | ||
|
|
1f6904cbc9 | ||
|
|
6c094967e3 | ||
|
|
1635d78674 | ||
|
|
27bc4cf9a4 | ||
|
|
12b0f8e27a | ||
|
|
614a10248f | ||
|
|
f48152ff7a | ||
|
|
b5a63b3cbd | ||
|
|
39ab82ae47 | ||
|
|
6d83bd12d9 | ||
|
|
e95fd7de47 | ||
|
|
092579af98 | ||
|
|
8ce74dd7bf | ||
|
|
412ce8623a | ||
|
|
72e91c49fb | ||
|
|
7fc040a279 | ||
|
|
e5394dde16 | ||
|
|
1585912162 | ||
|
|
c5ef752a66 | ||
|
|
40546f121f | ||
|
|
a5f666c221 | ||
|
|
64a83c51ed | ||
|
|
d4d2f6d51c | ||
|
|
2dc084b0ea | ||
|
|
923e6f4bee | ||
|
|
7868336d5b | ||
|
|
c44c480e61 | ||
|
|
85f0b82334 | ||
|
|
763cd548f4 | ||
|
|
b100324fba | ||
|
|
9b0b088ecc | ||
|
|
88c98588f6 | ||
|
|
4a049d94ce | ||
|
|
57a949c2bf | ||
|
|
6171b51218 | ||
|
|
a99c4b33a3 | ||
|
|
904e582cc8 | ||
|
|
8da7382a1a | ||
|
|
c440d392fa | ||
|
|
10120f7c2d | ||
|
|
8b40b00a31 | ||
|
|
c0af9fd516 | ||
|
|
2d30c4d267 | ||
|
|
080f529395 | ||
|
|
4dc8f7d2a5 | ||
|
|
f7d1929d01 | ||
|
|
b615415531 | ||
|
|
af8a984163 | ||
|
|
dbcbce2a62 | ||
|
|
e83ff7f66a | ||
|
|
bd68c1e103 | ||
|
|
d71fe5304c | ||
|
|
25971a4629 | ||
|
|
a17e38a905 | ||
|
|
4b0fbf5900 | ||
|
|
d451540b66 | ||
|
|
04624a1e1e | ||
|
|
0f6b4119b9 | ||
|
|
6113564818 | ||
|
|
35742893ed | ||
|
|
7d10b331f0 | ||
|
|
c77a276ba9 | ||
|
|
141a488871 | ||
|
|
1278ea0985 | ||
|
|
a42df2c07e | ||
|
|
3379ce4c3c | ||
|
|
3864013e1a | ||
|
|
168492c26b | ||
|
|
7c40fea9b0 | ||
|
|
81f636ad86 | ||
|
|
93f0e31379 | ||
|
|
3d4e9dde5c | ||
|
|
33cc5b43b8 | ||
|
|
100306baed | ||
|
|
4186ce739b | ||
|
|
ddb5c2872c | ||
|
|
c115d3e220 | ||
|
|
98a77d86ee | ||
|
|
423050d79f | ||
|
|
86d3ebf9d2 | ||
|
|
9ab7166714 | ||
|
|
198bd37782 | ||
|
|
2ca970a578 | ||
|
|
8014c0e97a | ||
|
|
3411c49648 | ||
|
|
01b743ebbe | ||
|
|
aef3ab28a2 | ||
|
|
34d8c64808 | ||
|
|
ddb12a56b8 | ||
|
|
9f76cea35e | ||
|
|
57acb81759 | ||
|
|
8eed8cf9f1 | ||
|
|
873fa8703d | ||
|
|
3b1d577018 | ||
|
|
b902e9137e | ||
|
|
1465faabd7 | ||
|
|
1473013f42 | ||
|
|
c937a6adfe | ||
|
|
6aeff92071 | ||
|
|
02c805367c | ||
|
|
4ebde5182a | ||
|
|
f43c77d6f3 | ||
|
|
bc5d2cc845 | ||
|
|
7ca90a6871 | ||
|
|
e35ef7e4c4 | ||
|
|
2b15ea7208 | ||
|
|
1bdab821a6 | ||
|
|
a5edf53519 | ||
|
|
6966de63c9 | ||
|
|
3bb89d0b97 | ||
|
|
eebe36a2b0 | ||
|
|
1f89d46355 | ||
|
|
ef7111275b | ||
|
|
40a7288a5a | ||
|
|
aacb703044 | ||
|
|
77ba5cf04e | ||
|
|
53cad02771 | ||
|
|
95968d0dae | ||
|
|
581025d19b | ||
|
|
2c5d8b19a6 | ||
|
|
bfc760d7c4 | ||
|
|
1653ab916b | ||
|
|
5fa2b6da00 | ||
|
|
488758daf4 | ||
|
|
b4ad24bb0b | ||
|
|
be209dd6ee | ||
|
|
0d3d654659 | ||
|
|
d444b47af8 | ||
|
|
f398d06399 | ||
|
|
e9af7f9dad | ||
|
|
25c84f2bdb | ||
|
|
5af5c5fcda | ||
|
|
29c40709fe | ||
|
|
725b077441 | ||
|
|
35444b6532 | ||
|
|
7233a1af48 | ||
|
|
22af8932ee | ||
|
|
02b4a97957 | ||
|
|
396cca0e2c | ||
|
|
5738220480 | ||
|
|
b2c3f6aa6f | ||
|
|
a17700efed | ||
|
|
95f71801e0 | ||
|
|
f149f12bf7 | ||
|
|
0529c402ed | ||
|
|
d87c99ceb1 | ||
|
|
a364b7bb30 | ||
|
|
55fc2120c3 | ||
|
|
27dfb09386 | ||
|
|
a894ea31e3 | ||
|
|
dcfa7cba0b | ||
|
|
032a72f63c | ||
|
|
a0462989c7 | ||
|
|
2cff3f08b4 | ||
|
|
37edfe594f | ||
|
|
57a246a90b | ||
|
|
36c05d58d3 | ||
|
|
b35292cb7d | ||
|
|
98b681a922 | ||
|
|
c1ef7c8ef8 | ||
|
|
1cb4b45de1 | ||
|
|
2e36cc5ea4 | ||
|
|
4f427a1af0 | ||
|
|
40bfc9c7e7 | ||
|
|
bd3452af46 | ||
|
|
6ac6c162b1 | ||
|
|
b2d31855d4 | ||
|
|
bf656ef651 | ||
|
|
7ca0800c65 | ||
|
|
680e1e8c13 | ||
|
|
bd449f2317 | ||
|
|
a821ab7f6b | ||
|
|
f83c1b0c50 | ||
|
|
44e80c0c5e | ||
|
|
e9fa4d533f | ||
|
|
1e71a887dd | ||
|
|
3528cb739d | ||
|
|
c8a98436b7 | ||
|
|
b804de124c | ||
|
|
4c54596ffa | ||
|
|
9f4d80d15d | ||
|
|
86ed9ea42c | ||
|
|
b80bbe97dc | ||
|
|
469b63bcfc | ||
|
|
8cef8a8839 | ||
|
|
d08dd1bed0 | ||
|
|
c071661133 | ||
|
|
41eba104ac | ||
|
|
9df8ef4fe7 | ||
|
|
b87f78c680 | ||
|
|
d1ebc1acdc | ||
|
|
1fc1ed72f0 | ||
|
|
05e427e8c3 | ||
|
|
4e531c31ba | ||
|
|
79a81ecf2a | ||
|
|
86cb006796 | ||
|
|
c789ad96b4 | ||
|
|
def3d7b9c6 | ||
|
|
2adc313a22 |
@@ -0,0 +1,44 @@
|
|||||||
|
name: nixos config pipeline
|
||||||
|
|
||||||
|
on: [push]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
show-flake:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
outputs:
|
||||||
|
check-success: ${{ steps.check.outcome == 'success' }}
|
||||||
|
steps:
|
||||||
|
- name: checkout repo
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
- name: install nix
|
||||||
|
uses: cachix/install-nix-action@v31
|
||||||
|
- id: check
|
||||||
|
name: run nix flake show
|
||||||
|
run: nix flake show --show-trace
|
||||||
|
|
||||||
|
deploy:
|
||||||
|
needs: show-flake
|
||||||
|
if: needs.show-flake.result == 'success'
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: ssh to server1 and rebuild
|
||||||
|
uses: appleboy/ssh-action@v1.2.0
|
||||||
|
with:
|
||||||
|
host: ${{ secrets.SERVER1_HOST }}
|
||||||
|
username: root
|
||||||
|
key: ${{ secrets.SERVER1_KEY }}
|
||||||
|
script: |
|
||||||
|
set -e
|
||||||
|
cd /home/smayzy/nix-config
|
||||||
|
sudo -u smayzy git pull
|
||||||
|
old_gen="$(readlink /run/current-system)"
|
||||||
|
if nixos-rebuild switch --flake git+https://gitea.smayzy.ovh/Smayzy/nix-config#server1; then
|
||||||
|
echo "Deployment successful"
|
||||||
|
else
|
||||||
|
new_gen="$(readlink /run/current-system)"
|
||||||
|
if [ "$new_gen" != "$old_gen" ]; then
|
||||||
|
nixos-rebuild switch --rollback
|
||||||
|
fi
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
@@ -0,0 +1,9 @@
|
|||||||
|
MIT License
|
||||||
|
|
||||||
|
Copyright (c) 2025 Smayzy
|
||||||
|
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
||||||
|
|
||||||
|
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
||||||
|
|
||||||
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
@@ -0,0 +1,54 @@
|
|||||||
|
|
||||||
|
# Smayzy's nixos config
|
||||||
|
|
||||||
|
This repo is Smayzy's nixos config repo you are free to use anything you need.
|
||||||
|
If you see a error or a simple improvement you can write feel free to make a pull request but if you just want to customize it to your need just fork it.
|
||||||
|
|
||||||
|
## Author
|
||||||
|
|
||||||
|
- [@smayzy](https://gitea.smayzy.ovh/Smayzy)
|
||||||
|
|
||||||
|
## Features
|
||||||
|
|
||||||
|
- See the modules description for more info
|
||||||
|
- If you want to add anything do a pull request
|
||||||
|
- If you want to have an account send a email to smayzy@smayzy.ovh with the username you want, your email address and why you want an account
|
||||||
|
|
||||||
|
## License
|
||||||
|
|
||||||
|
[MIT](https://gitea.smayzy.ovh/Smayzy/nix-config/src/branch/main/LICENCE)
|
||||||
|
|
||||||
|
|
||||||
|
## Deployment
|
||||||
|
|
||||||
|
To deploy the config run
|
||||||
|
```bash
|
||||||
|
nixos-rebuild switch --flake git+https://gitea.smayzy.ovh/Smayzy/nix-config#hostname
|
||||||
|
```
|
||||||
|
To update changes run
|
||||||
|
```bash
|
||||||
|
nh os switch --ask
|
||||||
|
```
|
||||||
|
To upgrade run
|
||||||
|
```bash
|
||||||
|
nh os switch -u --ask
|
||||||
|
```
|
||||||
|
|
||||||
|
## Documentation
|
||||||
|
|
||||||
|
[Wiki](https://gitea.smayzy.ovh/Smayzy/nix-config/wiki)
|
||||||
|
|
||||||
|
|
||||||
|
## FAQ
|
||||||
|
|
||||||
|
#### Is this production ready ?
|
||||||
|
|
||||||
|
Absolutly NOT it's just my config
|
||||||
|
|
||||||
|
## Feedback
|
||||||
|
|
||||||
|
If you have any feedback, please reach out to us at smayzy@smayzy.ovh
|
||||||
|
|
||||||
|
|
||||||
|
## 🚀 About Me
|
||||||
|
I'm a student that loves pentesting and tinkering with things
|
||||||
@@ -0,0 +1,4 @@
|
|||||||
|
convert hyprland config to nix
|
||||||
|
simplify the config
|
||||||
|
remove useless modules
|
||||||
|
move things from groups to configs
|
||||||
@@ -1,170 +0,0 @@
|
|||||||
{ inputs, config, pkgs, lib, ... }:
|
|
||||||
|
|
||||||
{
|
|
||||||
imports =
|
|
||||||
[
|
|
||||||
./hardware-configuration.nix
|
|
||||||
inputs.home-manager.nixosModules.home-manager
|
|
||||||
|
|
||||||
./modules/nix/pipewire.nix
|
|
||||||
];
|
|
||||||
|
|
||||||
home-manager = {
|
|
||||||
extraSpecialArgs = { inherit inputs; };
|
|
||||||
users = {
|
|
||||||
smayzy = import ./home.nix;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
system.stateVersion = "24.11";
|
|
||||||
|
|
||||||
nix.settings.experimental-features = [ "nix-command" "flakes" ];
|
|
||||||
|
|
||||||
boot.loader.grub.enable = true;
|
|
||||||
boot.loader.grub.efiSupport = true;
|
|
||||||
boot.loader.grub.device = "nodev";
|
|
||||||
boot.loader.efi.canTouchEfiVariables = true;
|
|
||||||
|
|
||||||
boot.loader.grub.extraEntries = ''
|
|
||||||
menuentry "Archlinux" {
|
|
||||||
insmod part_gpt
|
|
||||||
insmod fat
|
|
||||||
search --no-floppy --fs-uuid --set=root 07CA-4966
|
|
||||||
chainloader /EFI/BOOT/BOOTX64.EFI
|
|
||||||
}
|
|
||||||
'';
|
|
||||||
|
|
||||||
networking.hostName = "nixos";
|
|
||||||
networking.networkmanager.enable = true;
|
|
||||||
time.timeZone = "Europe/Paris";
|
|
||||||
i18n.defaultLocale = "en_US.UTF-8";
|
|
||||||
i18n.extraLocaleSettings = {
|
|
||||||
LC_ADDRESS = "fr_FR.UTF-8";
|
|
||||||
LC_IDENTIFICATION = "fr_FR.UTF-8";
|
|
||||||
LC_MEASUREMENT = "fr_FR.UTF-8";
|
|
||||||
LC_MONETARY = "fr_FR.UTF-8";
|
|
||||||
LC_NAME = "fr_FR.UTF-8";
|
|
||||||
LC_NUMERIC = "fr_FR.UTF-8";
|
|
||||||
LC_PAPER = "fr_FR.UTF-8";
|
|
||||||
LC_TELEPHONE = "fr_FR.UTF-8";
|
|
||||||
};
|
|
||||||
|
|
||||||
users.users.smayzy = {
|
|
||||||
isNormalUser = true;
|
|
||||||
description = "smayzy";
|
|
||||||
extraGroups = [ "networkmanager" "wheel" ];
|
|
||||||
packages = with pkgs; [];
|
|
||||||
};
|
|
||||||
|
|
||||||
users.defaultUserShell = pkgs.zsh;
|
|
||||||
|
|
||||||
services.xserver.xkb = {
|
|
||||||
layout = "fr";
|
|
||||||
variant = "";
|
|
||||||
};
|
|
||||||
console.keyMap = "fr";
|
|
||||||
|
|
||||||
services.desktopManager.plasma6.enable = true;
|
|
||||||
services.displayManager.sddm.enable = true;
|
|
||||||
services.displayManager.sddm.wayland.enable = true;
|
|
||||||
|
|
||||||
programs.hyprland = {
|
|
||||||
enable = true;
|
|
||||||
xwayland.enable = true;
|
|
||||||
};
|
|
||||||
|
|
||||||
xdg.portal.enable = true;
|
|
||||||
xdg.portal.extraPortals = [ pkgs.xdg-desktop-portal-gtk ];
|
|
||||||
|
|
||||||
hardware = {
|
|
||||||
graphics.enable = true;
|
|
||||||
nvidia.modesetting.enable = true;
|
|
||||||
};
|
|
||||||
|
|
||||||
nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [
|
|
||||||
"steam"
|
|
||||||
"steam-original"
|
|
||||||
"steam-unwrapped"
|
|
||||||
"steam-run"
|
|
||||||
"obsidian"
|
|
||||||
];
|
|
||||||
|
|
||||||
programs.steam.enable = true;
|
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
|
||||||
home-manager
|
|
||||||
wget
|
|
||||||
kitty
|
|
||||||
tldr
|
|
||||||
fastfetch
|
|
||||||
tree
|
|
||||||
mako
|
|
||||||
neovim
|
|
||||||
wofi
|
|
||||||
wlogout
|
|
||||||
waybar
|
|
||||||
wl-clipboard
|
|
||||||
libnotify
|
|
||||||
hyprpaper
|
|
||||||
font-awesome
|
|
||||||
dig
|
|
||||||
btop
|
|
||||||
webcord
|
|
||||||
pavucontrol
|
|
||||||
thunderbird
|
|
||||||
lf
|
|
||||||
fzf
|
|
||||||
qemu
|
|
||||||
cliphist
|
|
||||||
file
|
|
||||||
obsidian
|
|
||||||
qalculate-qt
|
|
||||||
baobab
|
|
||||||
arduino-ide
|
|
||||||
piper
|
|
||||||
samrewritten
|
|
||||||
element-desktop
|
|
||||||
calibre
|
|
||||||
vlc
|
|
||||||
loupe
|
|
||||||
gimp3
|
|
||||||
mullvad-vpn
|
|
||||||
libsForQt5.kdenlive
|
|
||||||
prismlauncher
|
|
||||||
floorp
|
|
||||||
libreoffice-qt6-still
|
|
||||||
hunspellDicts.fr-any
|
|
||||||
base16-schemes
|
|
||||||
];
|
|
||||||
|
|
||||||
stylix.enable = true;
|
|
||||||
stylix.base16Scheme = "${pkgs.base16-schemes}/share/themes/dracula.yaml";
|
|
||||||
|
|
||||||
programs.virt-manager.enable = true;
|
|
||||||
users.groups.libvirtd.members = ["smayzy"];
|
|
||||||
virtualisation.libvirtd.enable = true;
|
|
||||||
|
|
||||||
programs.fzf.keybindings = true;
|
|
||||||
|
|
||||||
services.flatpak = {
|
|
||||||
enable = true;
|
|
||||||
update.onActivation = true;
|
|
||||||
packages = [
|
|
||||||
"com.heroicgameslauncher.hgl"
|
|
||||||
"com.github.tchx84.Flatseal"
|
|
||||||
"com.obsproject.Studio"
|
|
||||||
];
|
|
||||||
};
|
|
||||||
|
|
||||||
programs.firefox.enable = true;
|
|
||||||
|
|
||||||
programs.zsh.enable = true;
|
|
||||||
|
|
||||||
programs.nh = {
|
|
||||||
enable = true;
|
|
||||||
clean.enable = true;
|
|
||||||
clean.extraArgs = "--keep⁻since 30d --keep 10";
|
|
||||||
flake = "/home/smayzy/nix-config";
|
|
||||||
};
|
|
||||||
|
|
||||||
}
|
|
||||||
@@ -1,29 +0,0 @@
|
|||||||
zstyle ':completion:*' completer _complete _ignored
|
|
||||||
zstyle :compinstall filename '~/.zshrc'
|
|
||||||
export MANPAGER='nvim +Man!'
|
|
||||||
autoload -Uz compinit
|
|
||||||
compinit
|
|
||||||
HISTFILE=~/.histfile
|
|
||||||
HISTSIZE=1000000
|
|
||||||
SAVEHIST=1000000
|
|
||||||
unsetopt beep
|
|
||||||
bindkey -v
|
|
||||||
PROMPT=" %B%F{196}%n %f%b%B%F{33}%~%f%b "
|
|
||||||
RPROMPT="%F{226}%d%f"
|
|
||||||
source <(fzf --zsh)
|
|
||||||
use_color=true
|
|
||||||
alias help='tldr'
|
|
||||||
alias clearf='clear && fastfetch'
|
|
||||||
alias la='ls -a --color=auto'
|
|
||||||
alias ls='ls --color=auto'
|
|
||||||
alias grep='grep --color=auto'
|
|
||||||
alias gits='git status'
|
|
||||||
alias gita='git add'
|
|
||||||
alias gitm='git commit'
|
|
||||||
alias gitl='git log'
|
|
||||||
alias syu='yay -Syu'
|
|
||||||
alias vim='nvim'
|
|
||||||
alias cp='cp -r'
|
|
||||||
alias sshi='ssh -i ~/.ssh/id_rsa'
|
|
||||||
|
|
||||||
fastfetch
|
|
||||||
@@ -1,32 +0,0 @@
|
|||||||
HISTFILE=~/.histfile
|
|
||||||
HISTSIZE=1000
|
|
||||||
SAVEHIST=1000
|
|
||||||
unsetopt autocd beep
|
|
||||||
zstyle :compinstall filename '/home/smayzy/.zshrc'
|
|
||||||
source <(fzf --zsh)
|
|
||||||
export MANPAGER='nvim +Man!'
|
|
||||||
|
|
||||||
autoload -Uz compinit
|
|
||||||
compinit
|
|
||||||
|
|
||||||
use_color=true
|
|
||||||
|
|
||||||
PROMPT=" %B%F{196}%n %f%b%B%F{33}%~%f%b "
|
|
||||||
RPROMPT="%F{226}%d%f"
|
|
||||||
|
|
||||||
alias la='ls -a --color=auto'
|
|
||||||
alias ls='ls --color=auto'
|
|
||||||
alias grep='grep --color=auto'
|
|
||||||
alias gits='git status'
|
|
||||||
alias gita='git add'
|
|
||||||
alias gitm='git commit'
|
|
||||||
alias gitl='git log'
|
|
||||||
alias syu='yay'
|
|
||||||
alias sshi='ssh -i ~/.ssh/id_rsa'
|
|
||||||
alias clearf='clear && fastfetch'
|
|
||||||
alias cp='cp -r'
|
|
||||||
|
|
||||||
autoload -Uz promptinit
|
|
||||||
promptinit
|
|
||||||
|
|
||||||
fastfetch
|
|
||||||
@@ -0,0 +1,18 @@
|
|||||||
|
---------------
|
||||||
|
--- SOURCES ---
|
||||||
|
---------------
|
||||||
|
|
||||||
|
-- MONITORS
|
||||||
|
require("source/monitors")
|
||||||
|
-- BINDS
|
||||||
|
require("source/binds")
|
||||||
|
-- AUTOSTART
|
||||||
|
require("source/autostart")
|
||||||
|
-- ENVIRONMENT VARIABLES
|
||||||
|
require("source/ev")
|
||||||
|
-- LOOK AND FEEL
|
||||||
|
require("source/look")
|
||||||
|
-- INPUT
|
||||||
|
require("source/input")
|
||||||
|
-- WINDOWS AND WORKSPACES
|
||||||
|
require("source/winandwork")
|
||||||
@@ -1,7 +1,11 @@
|
|||||||
#preload the wallpapers
|
wallpaper {
|
||||||
preload = ~/wallpaper/itachi-uchiha-sharingan-crow-akatsuki-4k-wallpaper-uhdpaper.com-294@2@a.jpg
|
monitor = DP-1
|
||||||
preload = ~/wallpaper/eren-attack-on-titan-final-season-part-3-4k-wallpaper-uhdpaper.com-917@1@j.jpg
|
path = ~/wallpaper/itachi-uchiha-sharingan-crow-akatsuki-4k-wallpaper-uhdpaper.com-294@2@a.jpg
|
||||||
|
fit_mode = cover
|
||||||
#set the wallpaper
|
}
|
||||||
wallpaper = DP-1,~/wallpaper/itachi-uchiha-sharingan-crow-akatsuki-4k-wallpaper-uhdpaper.com-294@2@a.jpg
|
wallpaper {
|
||||||
wallpaper = DP-2,~/wallpaper/eren-attack-on-titan-final-season-part-3-4k-wallpaper-uhdpaper.com-917@1@j.jpg
|
monitor = DP-2
|
||||||
|
path = ~/wallpaper/eren-attack-on-titan-final-season-part-3-4k-wallpaper-uhdpaper.com-917@1@j.jpg
|
||||||
|
fit_mode = cover
|
||||||
|
}
|
||||||
|
splash = false
|
||||||
|
|||||||
@@ -4,8 +4,7 @@ exec = hyprpaper
|
|||||||
exec = killall waybar && waybar
|
exec = killall waybar && waybar
|
||||||
exec-once = wl-paste --type text --watch cliphist store
|
exec-once = wl-paste --type text --watch cliphist store
|
||||||
exec-once = wl-paste --type image --watch cliphist store
|
exec-once = wl-paste --type image --watch cliphist store
|
||||||
#exec-once = systemctl --user start hyprpolkitagent
|
exec-once = systemctl --user start hyprpolkitagent
|
||||||
exec-once = mako
|
exec-once = mako
|
||||||
# APPs
|
# APPs
|
||||||
exec-once = [workspace 11 silent] webcord
|
|
||||||
exec-once = [workspace 10 silent] thunderbird
|
exec-once = [workspace 10 silent] thunderbird
|
||||||
|
|||||||
@@ -0,0 +1,18 @@
|
|||||||
|
-- Autostarts here
|
||||||
|
|
||||||
|
-- exec_once
|
||||||
|
hl.on("hyprland.start", function ()
|
||||||
|
hl.exec_cmd("waybar")
|
||||||
|
hl.exec_cmd("hyprpaper")
|
||||||
|
hl.exec_cmd("wl-paste --type text --watch cliphist store")
|
||||||
|
hl.exec_cmd("wl-paste --type image --watch cliphist store")
|
||||||
|
hl.exec_cmd("systemctl --user start hyprpolkitagent")
|
||||||
|
hl.exec_cmd("mako")
|
||||||
|
hl.exec_cmd("thunderbird", {workspace = "10 silent"})
|
||||||
|
end)
|
||||||
|
|
||||||
|
-- exec at each reload
|
||||||
|
hl.on("config.reloaded", function ()
|
||||||
|
hl.exec_cmd("killall waybar && waybar")
|
||||||
|
hl.exec_cmd("killall hyprpaper && hyprpaper")
|
||||||
|
end)
|
||||||
@@ -20,7 +20,7 @@ bind = $mainMod, comma, exit,
|
|||||||
bind = $mainMod, E, exec, $fileManager
|
bind = $mainMod, E, exec, $fileManager
|
||||||
bind = $mainMod, R, exec, $menu
|
bind = $mainMod, R, exec, $menu
|
||||||
bind = $mainMod, W, exec, wlogout
|
bind = $mainMod, W, exec, wlogout
|
||||||
bind = $mainMod, A, exec, qutebrowser
|
bind = $mainMod, A, exec, alacritty
|
||||||
bind = $mainMod, F, fullscreen
|
bind = $mainMod, F, fullscreen
|
||||||
bind = $mainMod, T, togglefloating
|
bind = $mainMod, T, togglefloating
|
||||||
|
|
||||||
|
|||||||
@@ -0,0 +1,103 @@
|
|||||||
|
------------------------------------
|
||||||
|
--- USE WEV TO GET THE KEYS CODE ---
|
||||||
|
------------------------------------
|
||||||
|
|
||||||
|
--------------------
|
||||||
|
--- KEYBINDINGSS ---
|
||||||
|
--------------------
|
||||||
|
|
||||||
|
-- MainMod
|
||||||
|
mainMod = "SUPER"
|
||||||
|
|
||||||
|
-- exec
|
||||||
|
hl.bind(mainMod .. " + comma", hl.dsp.exit())
|
||||||
|
hl.bind(mainMod .. " + F", hl.dsp.window.fullscreen())
|
||||||
|
hl.bind(mainMod .. " + T", hl.dsp.window.float())
|
||||||
|
hl.bind(mainMod .. " + C", hl.dsp.window.close())
|
||||||
|
hl.bind(mainMod .. " + Q", hl.dsp.exec_cmd("kitty"))
|
||||||
|
hl.bind(mainMod .. " + A", hl.dsp.exec_cmd("alacritty"))
|
||||||
|
hl.bind(mainMod .. " + E", hl.dsp.exec_cmd("dolphin"))
|
||||||
|
hl.bind(mainMod .. " + R", hl.dsp.exec_cmd("wofi --show drun"))
|
||||||
|
hl.bind(mainMod .. " + W", hl.dsp.exec_cmd("wlogout"))
|
||||||
|
|
||||||
|
-- Quick
|
||||||
|
hl.bind("XF86AudioMute", hl.dsp.exec_cmd("obsidian"))
|
||||||
|
hl.bind("XF86AudioRaiseVolume", hl.dsp.exec_cmd("virt-manager"))
|
||||||
|
hl.bind("XF86AudioLowerVolume", hl.dsp.exec_cmd("virt-manager"))
|
||||||
|
|
||||||
|
-- Reload waybar
|
||||||
|
hl.bind(mainMod .. " + SHIFT + B", hl.dsp.exec_cmd("pkill waybar && waybar"))
|
||||||
|
|
||||||
|
-- Hide waybar
|
||||||
|
hl.bind(mainMod .. " + X", hl.dsp.exec_cmd("pkill waybar || waybar"))
|
||||||
|
|
||||||
|
-- Clipboard history
|
||||||
|
hl.bind(mainMod .. " + V", hl.dsp.exec_cmd("cliphist list | wofi -dmenu | cliphist decode | wl-copy"))
|
||||||
|
|
||||||
|
-- Screenshot to clipboard
|
||||||
|
hl.bind(mainMod .. " + SHIFT + S", hl.dsp.exec_cmd("grim -g \"$(slurp -d)\" - | wl-copy"))
|
||||||
|
|
||||||
|
-- Move focus with mainMod + arrow keys
|
||||||
|
hl.bind(mainMod .. " + h", hl.dsp.focus({direction = "left"}))
|
||||||
|
hl.bind(mainMod .. " + l", hl.dsp.focus({direction = "right"}))
|
||||||
|
hl.bind(mainMod .. " + k", hl.dsp.focus({direction = "up"}))
|
||||||
|
hl.bind(mainMod .. " + j", hl.dsp.focus({direction = "down"}))
|
||||||
|
|
||||||
|
-- Move/resize windows with mainMod + LMB/RMB and dragging
|
||||||
|
hl.bind(mainMod .. " + mouse:272", hl.dsp.window.drag(), { mouse = true })
|
||||||
|
hl.bind(mainMod .. " + mouse:273", hl.dsp.window.resize(), { mouse = true })
|
||||||
|
|
||||||
|
-- Resize Windows
|
||||||
|
hl.bind(mainMod .. " + CTRL + h", hl.dsp.window.resize({ x = -20 , y = 0 , relative = true }))
|
||||||
|
hl.bind(mainMod .. " + CTRL + l", hl.dsp.window.resize({ x = 20 , y = 0 , relative = true }))
|
||||||
|
hl.bind(mainMod .. " + CTRL + k", hl.dsp.window.resize({ x = 0 , y = -20 , relative = true }))
|
||||||
|
hl.bind(mainMod .. " + CTRL + j", hl.dsp.window.resize({ x = 0 , y = 20 , relative = true }))
|
||||||
|
|
||||||
|
-- Set default workspace
|
||||||
|
hl.workspace_rule({workspace = "1", monitor = "DP-1", default = true})
|
||||||
|
hl.workspace_rule({workspace = "2", monitor = "DP-1"})
|
||||||
|
hl.workspace_rule({workspace = "3", monitor = "DP-1"})
|
||||||
|
hl.workspace_rule({workspace = "4", monitor = "DP-1"})
|
||||||
|
hl.workspace_rule({workspace = "5", monitor = "DP-1"})
|
||||||
|
hl.workspace_rule({workspace = "6", monitor = "DP-1"})
|
||||||
|
hl.workspace_rule({workspace = "7", monitor = "DP-1"})
|
||||||
|
hl.workspace_rule({workspace = "8", monitor = "DP-1"})
|
||||||
|
hl.workspace_rule({workspace = "9", monitor = "DP-1"})
|
||||||
|
hl.workspace_rule({workspace = "10", monitor = "DP-1"})
|
||||||
|
|
||||||
|
hl.workspace_rule({workspace = "11", monitor = "DP-2", default = true})
|
||||||
|
hl.workspace_rule({workspace = "12", monitor = "DP-2"})
|
||||||
|
hl.workspace_rule({workspace = "13", monitor = "DP-2"})
|
||||||
|
hl.workspace_rule({workspace = "14", monitor = "DP-2"})
|
||||||
|
|
||||||
|
-- Switch workspaces
|
||||||
|
hl.bind(mainMod .. " + ampersand", hl.dsp.focus({ workspace = "1"}))
|
||||||
|
hl.bind(mainMod .. " + eacute", hl.dsp.focus({ workspace = "2"}))
|
||||||
|
hl.bind(mainMod .. " + quotedbl", hl.dsp.focus({ workspace = "3"}))
|
||||||
|
hl.bind(mainMod .. " + apostrophe", hl.dsp.focus({ workspace = "4"}))
|
||||||
|
hl.bind(mainMod .. " + parenleft", hl.dsp.focus({ workspace = "5"}))
|
||||||
|
hl.bind(mainMod .. " + minus", hl.dsp.focus({ workspace = "6"}))
|
||||||
|
hl.bind(mainMod .. " + egrave", hl.dsp.focus({ workspace = "7"}))
|
||||||
|
hl.bind(mainMod .. " + underscore", hl.dsp.focus({ workspace = "8"}))
|
||||||
|
hl.bind(mainMod .. " + ccedilla", hl.dsp.focus({ workspace = "9"}))
|
||||||
|
hl.bind(mainMod .. " + agrave", hl.dsp.focus({ workspace = "10"}))
|
||||||
|
hl.bind(mainMod .. " + dead_circumflex", hl.dsp.focus({ workspace = "11"}))
|
||||||
|
hl.bind(mainMod .. " + dollar", hl.dsp.focus({ workspace = "12"}))
|
||||||
|
hl.bind(mainMod .. " + ugrave", hl.dsp.focus({ workspace = "13"}))
|
||||||
|
hl.bind(mainMod .. " + asterisk", hl.dsp.focus({ workspace = "14"}))
|
||||||
|
|
||||||
|
-- Move active window to a workspace
|
||||||
|
hl.bind(mainMod .. " + SHIFT + ampersand", hl.dsp.window.move({ workspace = "1"}))
|
||||||
|
hl.bind(mainMod .. " + SHIFT + eacute", hl.dsp.window.move({ workspace = "2"}))
|
||||||
|
hl.bind(mainMod .. " + SHIFT + quotedbl", hl.dsp.window.move({ workspace = "3"}))
|
||||||
|
hl.bind(mainMod .. " + SHIFT + apostrophe", hl.dsp.window.move({ workspace = "4"}))
|
||||||
|
hl.bind(mainMod .. " + SHIFT + parenleft", hl.dsp.window.move({ workspace = "5"}))
|
||||||
|
hl.bind(mainMod .. " + SHIFT + minus", hl.dsp.window.move({ workspace = "6"}))
|
||||||
|
hl.bind(mainMod .. " + SHIFT + egrave", hl.dsp.window.move({ workspace = "7"}))
|
||||||
|
hl.bind(mainMod .. " + SHIFT + underscore", hl.dsp.window.move({ workspace = "8"}))
|
||||||
|
hl.bind(mainMod .. " + SHIFT + ccedilla", hl.dsp.window.move({ workspace = "9"}))
|
||||||
|
hl.bind(mainMod .. " + SHIFT + agrave", hl.dsp.window.move({ workspace = "10"}))
|
||||||
|
hl.bind(mainMod .. " + SHIFT + dead_circumflex", hl.dsp.window.move({ workspace = "11"}))
|
||||||
|
hl.bind(mainMod .. " + SHIFT + dollar", hl.dsp.window.move({ workspace = "12"}))
|
||||||
|
hl.bind(mainMod .. " + SHIFT + ugrave", hl.dsp.window.move({ workspace = "13"}))
|
||||||
|
hl.bind(mainMod .. " + SHIFT + asterisk", hl.dsp.window.move({ workspace = "14"}))
|
||||||
@@ -5,8 +5,6 @@ env = LIBVA_DRIVER_NAME,nvidia
|
|||||||
env = XDG_SESSION_TYPE,wayland
|
env = XDG_SESSION_TYPE,wayland
|
||||||
env = GBM_BACKEND,nvidia-drm
|
env = GBM_BACKEND,nvidia-drm
|
||||||
env = __GLX_VENDOR_LIBRARY_NAME,nvidia
|
env = __GLX_VENDOR_LIBRARY_NAME,nvidia
|
||||||
env = GTK_THEME, Adwaita-dark
|
|
||||||
|
|
||||||
|
|
||||||
cursor {
|
cursor {
|
||||||
no_hardware_cursors = true
|
no_hardware_cursors = true
|
||||||
|
|||||||
@@ -0,0 +1,9 @@
|
|||||||
|
-- Set env here
|
||||||
|
hl.env("XCURSOR_SIZE", "24")
|
||||||
|
hl.env("HYPRCURSOR_SIZE", "24")
|
||||||
|
hl.env("LIBVA_DRIVER_NAME", "nvidia")
|
||||||
|
hl.env("XDG_SESSION_TYPE", "wayland")
|
||||||
|
hl.env("GBM_BACKEND", "nvidia-drm")
|
||||||
|
hl.env("__GLX_VENDOR_LIBRARY_NAME", "nvidia")
|
||||||
|
hl.env("HYPRLAND_NO_SD_VARS", "1")
|
||||||
|
hl.env("LD_LIBRARY_PATH", "/nix/store/p5c2hfgw9pipp2vd0xvxjmly99nbsdki-pipewire-1.6.8-jack/lib/")
|
||||||
@@ -14,8 +14,3 @@ input {
|
|||||||
natural_scroll = false
|
natural_scroll = false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
gestures {
|
|
||||||
workspace_swipe = false
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|||||||
@@ -0,0 +1,23 @@
|
|||||||
|
--Set inputs here
|
||||||
|
|
||||||
|
hl.config({
|
||||||
|
input = {
|
||||||
|
kb_layout = "fr",
|
||||||
|
kb_variant = "",
|
||||||
|
kb_model = "",
|
||||||
|
kb_options = "",
|
||||||
|
kb_rules = "",
|
||||||
|
|
||||||
|
follow_mouse = 1,
|
||||||
|
|
||||||
|
sensitivity = 0,
|
||||||
|
|
||||||
|
touchpad = {
|
||||||
|
natural_scroll = false,
|
||||||
|
},
|
||||||
|
},
|
||||||
|
cursor = {
|
||||||
|
no_hardware_cursors = 0,
|
||||||
|
min_refresh_rate = 165
|
||||||
|
}
|
||||||
|
})
|
||||||
@@ -59,7 +59,6 @@ animations {
|
|||||||
|
|
||||||
# See https://wiki.hyprland.org/Configuring/Dwindle-Layout/ for more
|
# See https://wiki.hyprland.org/Configuring/Dwindle-Layout/ for more
|
||||||
dwindle {
|
dwindle {
|
||||||
pseudotile = true # Master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section below
|
|
||||||
preserve_split = true # You probably want this
|
preserve_split = true # You probably want this
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -71,3 +70,8 @@ misc {
|
|||||||
force_default_wallpaper = 0 # Set to 0 or 1 to disable the anime mascot wallpapers
|
force_default_wallpaper = 0 # Set to 0 or 1 to disable the anime mascot wallpapers
|
||||||
disable_hyprland_logo = true # If true disables the random hyprland logo / anime girl background. :(
|
disable_hyprland_logo = true # If true disables the random hyprland logo / anime girl background. :(
|
||||||
}
|
}
|
||||||
|
|
||||||
|
ecosystem {
|
||||||
|
no_update_news = true
|
||||||
|
no_donation_nag = true
|
||||||
|
}
|
||||||
|
|||||||
@@ -0,0 +1,61 @@
|
|||||||
|
--Set look and feel here
|
||||||
|
|
||||||
|
hl.config({
|
||||||
|
general = {
|
||||||
|
layout = "dwindle",
|
||||||
|
gaps_in = 3,
|
||||||
|
gaps_out = 5,
|
||||||
|
border_size = 1,
|
||||||
|
col = {
|
||||||
|
active_border = { colors = {"rgba(33ccffee)", "rgba(00ff99ee)"}, angle = 45 },
|
||||||
|
inactive_border = "rgba(595959aa)",
|
||||||
|
},
|
||||||
|
},
|
||||||
|
|
||||||
|
decoration = {
|
||||||
|
rounding = 6,
|
||||||
|
rounding_power = 2,
|
||||||
|
|
||||||
|
active_opacity = 1.0,
|
||||||
|
inactive_opacity = 1.0,
|
||||||
|
|
||||||
|
shadow = {
|
||||||
|
enabled = false
|
||||||
|
},
|
||||||
|
|
||||||
|
blur = {
|
||||||
|
enabled = false,
|
||||||
|
},
|
||||||
|
},
|
||||||
|
|
||||||
|
animations = {
|
||||||
|
enabled = true,
|
||||||
|
},
|
||||||
|
|
||||||
|
dwindle = {
|
||||||
|
preserve_split = true,
|
||||||
|
},
|
||||||
|
|
||||||
|
master = {
|
||||||
|
new_status = "master",
|
||||||
|
},
|
||||||
|
|
||||||
|
misc = {
|
||||||
|
force_default_wallpaper = 0,
|
||||||
|
disable_hyprland_logo = true,
|
||||||
|
},
|
||||||
|
|
||||||
|
ecosystem = {
|
||||||
|
no_update_news = true,
|
||||||
|
no_donation_nag = true,
|
||||||
|
}
|
||||||
|
})
|
||||||
|
|
||||||
|
hl.curve( "mybezier", { type = "bezier", points = { {0.05, 0.9}, {0.1, 1.05} } })
|
||||||
|
|
||||||
|
hl.animation({ leaf = "windows", enabled = true, speed = 7, bezier = "mybezier" })
|
||||||
|
hl.animation({ leaf = "windowsOut", enabled = true, speed = 7, bezier = "mybezier" })
|
||||||
|
hl.animation({ leaf = "border", enabled = true, speed = 7, bezier = "mybezier" })
|
||||||
|
hl.animation({ leaf = "borderangle", enabled = true, speed = 7, bezier = "mybezier" })
|
||||||
|
hl.animation({ leaf = "fade", enabled = true, speed = 7, bezier = "mybezier" })
|
||||||
|
hl.animation({ leaf = "workspaces", enabled = true, speed = 7, bezier = "mybezier" })
|
||||||
@@ -0,0 +1,15 @@
|
|||||||
|
-- Set monitors here
|
||||||
|
hl.monitor({
|
||||||
|
output = "DP-1",
|
||||||
|
mode = "1920x1080@165",
|
||||||
|
position = "0x0",
|
||||||
|
scale = 1
|
||||||
|
})
|
||||||
|
|
||||||
|
hl.monitor({
|
||||||
|
output = "DP-2",
|
||||||
|
mode = "1920x1080@165",
|
||||||
|
position = "-1080x-520",
|
||||||
|
transform = 1,
|
||||||
|
scale = 1
|
||||||
|
})
|
||||||
@@ -1,9 +1,16 @@
|
|||||||
#Set windows ans workspaces rules here
|
windowrule {
|
||||||
# Ignore maximize requests from apps. You'll probably like this.
|
name = windowrule-1
|
||||||
windowrulev2 = suppressevent maximize, class:.*
|
suppress_event = maximize
|
||||||
|
match:class = .*
|
||||||
|
}
|
||||||
|
|
||||||
# Fix some dragging issues with XWayland
|
windowrule {
|
||||||
windowrulev2 = nofocus,class:^$,title:^$,xwayland:1,floating:1,fullscreen:0,pinned:0
|
name = windowrule-2
|
||||||
|
no_focus = on
|
||||||
# Set default fullscreen for webcord
|
match:class = ^$
|
||||||
windowrulev2 = fullscreen, class:^(WebCord)$
|
match:title = ^$
|
||||||
|
match:xwayland = 1
|
||||||
|
match:float = 1
|
||||||
|
match:fullscreen = 0
|
||||||
|
match:pin = 0
|
||||||
|
}
|
||||||
|
|||||||
@@ -0,0 +1,19 @@
|
|||||||
|
hl.window_rule({
|
||||||
|
name = "suppress-maximize-events",
|
||||||
|
match = {class = ".*"},
|
||||||
|
suppress_event = "maximize"
|
||||||
|
})
|
||||||
|
|
||||||
|
hl.window_rule({
|
||||||
|
name = "fix-xwayland-drags",
|
||||||
|
match = {
|
||||||
|
class = "^$",
|
||||||
|
title = "^$",
|
||||||
|
xwayland = true,
|
||||||
|
float = true,
|
||||||
|
fullscreen = false,
|
||||||
|
pin = false,
|
||||||
|
},
|
||||||
|
|
||||||
|
no_focus = true,
|
||||||
|
})
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
BAT=$(ls /sys/class/power_supply | grep -E '^BAT' | head -n 1)
|
BAT=$(ls /sys/class/power_supply | grep -E '^BAT' | head -n 1)
|
||||||
|
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
####################
|
####################
|
||||||
|
|
||||||
$terminal = kitty
|
$terminal = kitty
|
||||||
$fileManager = thunar
|
$fileManager = dolphin
|
||||||
$menu = wofi --show drun
|
$menu = wofi --show drun
|
||||||
$calc = qalculate-gtk
|
$calc = qalculate-gtk
|
||||||
|
|
||||||
@@ -21,25 +21,25 @@ bind = $mainMod, comma, exit,
|
|||||||
bind = $mainMod, E, exec, $fileManager
|
bind = $mainMod, E, exec, $fileManager
|
||||||
bind = $mainMod, R, exec, $menu
|
bind = $mainMod, R, exec, $menu
|
||||||
bind = $mainMod, W, exec, wlogout
|
bind = $mainMod, W, exec, wlogout
|
||||||
bind = $mainMod, A, exec, qutebrowser
|
bind = $mainMod, A, exec, alacritty
|
||||||
bind = $mainMod, F, fullscreen
|
bind = $mainMod, F, fullscreen
|
||||||
bind = $mainMod, T, togglefloating
|
bind = $mainMod, T, togglefloating
|
||||||
bind = , XF86Calculator, exec, $calc
|
bind = , XF86Calculator, exec, $calc
|
||||||
bind = , XF86RFKill, exec, virt-manager
|
|
||||||
bind = , XF86Favorites, exec, discord
|
# Clipboard history
|
||||||
bind = $mainMod, L, exec, hyprlock
|
bind = $mainMod, V, exec, cliphist list | wofi -dmenu | cliphist decode | wl-copy
|
||||||
|
|
||||||
# Change Wallpaper
|
# Change Wallpaper
|
||||||
bind = $mainMod SHIFT, W, exec, pkill wallpaper.sh && /home/smayzy/.config/hypr/wallpaper.sh
|
bind = $mainMod SHIFT, W, exec, echo trigger > /tmp/wallpaper-trigger
|
||||||
|
|
||||||
# Screenshots
|
# Screenshots
|
||||||
bind = $mainMod SHIFT, S, exec, grim -g "$(slurp -d)" - | wl-copy
|
bind = $mainMod SHIFT, S, exec, grim -g "$(slurp -d)" - | wl-copy
|
||||||
|
|
||||||
#reload waybar
|
#reload waybar
|
||||||
bind = $mainMod SHIFT, B, exec, killall waybar && waybar &
|
bind = $mainMod SHIFT, B, exec, pkill waybar && waybar &
|
||||||
|
|
||||||
#hidden waybar
|
#hidden waybar
|
||||||
bind = $mainMod, X, exec, killall waybar || waybar &
|
bind = $mainMod, X, exec, pkill waybar || waybar &
|
||||||
|
|
||||||
#brightness
|
#brightness
|
||||||
bind = ,XF86MonBrightnessDown,exec,brightnessctl set 5%-
|
bind = ,XF86MonBrightnessDown,exec,brightnessctl set 5%-
|
||||||
|
|||||||
@@ -18,11 +18,6 @@ monitor=,preferred,auto,1
|
|||||||
|
|
||||||
# See https://wiki.hyprland.org/Configuring/Keywords/
|
# See https://wiki.hyprland.org/Configuring/Keywords/
|
||||||
|
|
||||||
# Set programs that you use
|
|
||||||
$terminal = kitty
|
|
||||||
$fileManager = thunar
|
|
||||||
$menu = wofi --show drun
|
|
||||||
|
|
||||||
|
|
||||||
#################
|
#################
|
||||||
### AUTOSTART ###
|
### AUTOSTART ###
|
||||||
@@ -31,14 +26,15 @@ $menu = wofi --show drun
|
|||||||
# Autostart necessary processes (like notifications daemons, status bars, etc.)
|
# Autostart necessary processes (like notifications daemons, status bars, etc.)
|
||||||
# Or execute your favorite apps at launch like this:
|
# Or execute your favorite apps at launch like this:
|
||||||
|
|
||||||
exec-once = $terminal
|
|
||||||
exec-once = waybar
|
exec-once = waybar
|
||||||
exec-once = /home/smayzy/.config/hypr/battery.sh
|
exec-once = /home/smayzy/.config/hypr/battery.sh
|
||||||
exec = /home/smayzy/.config/hypr/wallpaper.sh
|
exec-once = systemctl --user start hypr-wallpaper.service
|
||||||
exec = killall waybar && waybar
|
exec = killall waybar && waybar
|
||||||
exec-once = mako
|
exec-once = mako
|
||||||
exec-once = systemctl --user start hyprpolkitagent
|
exec-once = systemctl --user start hyprpolkitagent
|
||||||
exec-once = [workspace 10 silent] thunderbird
|
exec-once = [workspace 10 silent] thunderbird
|
||||||
|
exec-once = wl-paste --type text --watch cliphist store
|
||||||
|
exec-once = wl-paste --type image --watch cliphist store
|
||||||
|
|
||||||
|
|
||||||
#############################
|
#############################
|
||||||
@@ -113,7 +109,6 @@ animations {
|
|||||||
|
|
||||||
# See https://wiki.hyprland.org/Configuring/Dwindle-Layout/ for more
|
# See https://wiki.hyprland.org/Configuring/Dwindle-Layout/ for more
|
||||||
dwindle {
|
dwindle {
|
||||||
pseudotile = true # Master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section below
|
|
||||||
preserve_split = true # You probably want this
|
preserve_split = true # You probably want this
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -150,11 +145,6 @@ input {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
# https://wiki.hyprland.org/Configuring/Variables/#gestures
|
|
||||||
gestures {
|
|
||||||
workspace_swipe = false
|
|
||||||
}
|
|
||||||
|
|
||||||
# Example per-device config
|
# Example per-device config
|
||||||
# See https://wiki.hyprland.org/Configuring/Keywords/#per-device-input-configs for more
|
# See https://wiki.hyprland.org/Configuring/Keywords/#per-device-input-configs for more
|
||||||
device {
|
device {
|
||||||
@@ -176,4 +166,19 @@ device {
|
|||||||
# Example windowrule v2
|
# Example windowrule v2
|
||||||
# windowrulev2 = float,class:^(kitty)$,title:^(kitty)$
|
# windowrulev2 = float,class:^(kitty)$,title:^(kitty)$
|
||||||
|
|
||||||
windowrulev2 = suppressevent maximize, class:.* # You'll probably like this.
|
windowrule {
|
||||||
|
name = windowrule-1
|
||||||
|
suppress_event = maximize
|
||||||
|
match:class = .*
|
||||||
|
}
|
||||||
|
|
||||||
|
windowrule {
|
||||||
|
name = windowrule-2
|
||||||
|
opacity = 0.70 0.70
|
||||||
|
match:class = ^(Alacritty)$
|
||||||
|
}
|
||||||
|
|
||||||
|
ecosystem {
|
||||||
|
no_update_news = true
|
||||||
|
no_donation_nag = true
|
||||||
|
}
|
||||||
|
|||||||
@@ -0,0 +1,18 @@
|
|||||||
|
---------------
|
||||||
|
--- SOURCES ---
|
||||||
|
---------------
|
||||||
|
|
||||||
|
-- MONITORS
|
||||||
|
require("source/monitors")
|
||||||
|
-- BINDS
|
||||||
|
require("source/binds")
|
||||||
|
-- AUTOSTART
|
||||||
|
require("source/autostart")
|
||||||
|
-- ENVIRONMENT VARIABLES
|
||||||
|
require("source/ev")
|
||||||
|
-- LOOK AND FEEL
|
||||||
|
require("source/look")
|
||||||
|
-- INPUT
|
||||||
|
require("source/input")
|
||||||
|
-- WINDOWS AND WORKSPACES
|
||||||
|
require("source/winandwork")
|
||||||
@@ -13,7 +13,7 @@ general {
|
|||||||
# BACKGROUND
|
# BACKGROUND
|
||||||
background {
|
background {
|
||||||
monitor =
|
monitor =
|
||||||
path = /home/smayzy/Wallpaper/himeno.jpg
|
path = /home/smayzy/wallpaper/himeno.jpg
|
||||||
blur_passes = 0
|
blur_passes = 0
|
||||||
color = $base
|
color = $base
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -0,0 +1,16 @@
|
|||||||
|
-- exec_once
|
||||||
|
hl.on("hyprland.start", function ()
|
||||||
|
hl.exec_cmd("waybar")
|
||||||
|
hl.exec_cmd("/home/smayzy/.config/hypr/battery.sh")
|
||||||
|
hl.exec_cmd("systemctl --user start hypr-wallpaper.service")
|
||||||
|
hl.exec_cmd("wl-paste --type text --watch cliphist store")
|
||||||
|
hl.exec_cmd("wl-paste --type image --watch cliphist store")
|
||||||
|
hl.exec_cmd("systemctl --user start hyprpolkitagent")
|
||||||
|
hl.exec_cmd("mako")
|
||||||
|
hl.exec_cmd("thunderbird", {workspace = "10 silent"})
|
||||||
|
end)
|
||||||
|
|
||||||
|
-- exec at each reload
|
||||||
|
hl.on("config.reloaded", function ()
|
||||||
|
hl.exec_cmd("killall waybar && waybar")
|
||||||
|
end)
|
||||||
@@ -0,0 +1,94 @@
|
|||||||
|
------------------------------------
|
||||||
|
--- USE WEV TO GET THE KEYS CODE ---
|
||||||
|
------------------------------------
|
||||||
|
|
||||||
|
--------------------
|
||||||
|
--- KEYBINDINGSS ---
|
||||||
|
--------------------
|
||||||
|
|
||||||
|
-- MainMod
|
||||||
|
mainMod = "SUPER"
|
||||||
|
|
||||||
|
-- exec
|
||||||
|
hl.bind(mainMod .. " + comma", hl.dsp.exit())
|
||||||
|
hl.bind(mainMod .. " + F", hl.dsp.window.fullscreen())
|
||||||
|
hl.bind(mainMod .. " + T", hl.dsp.window.float())
|
||||||
|
hl.bind(mainMod .. " + C", hl.dsp.window.close())
|
||||||
|
hl.bind(mainMod .. " + Q", hl.dsp.exec_cmd("kitty"))
|
||||||
|
hl.bind(mainMod .. " + A", hl.dsp.exec_cmd("alacritty"))
|
||||||
|
hl.bind(mainMod .. " + E", hl.dsp.exec_cmd("dolphin"))
|
||||||
|
hl.bind(mainMod .. " + R", hl.dsp.exec_cmd("wofi --show drun"))
|
||||||
|
hl.bind(mainMod .. " + W", hl.dsp.exec_cmd("wlogout"))
|
||||||
|
hl.bind("XF86Calculator", hl.dsp.exec_cmd("qalculate-gtk"))
|
||||||
|
|
||||||
|
-- Volume
|
||||||
|
hl.bind("XF86AudioMute" , hl.dsp.exec_cmd("pactl set-sink-volume @DEFAULT_SINK@ 0%"))
|
||||||
|
hl.bind("XF86AudioRaiseVolume", hl.dsp.exec_cmd("pactl set-sink-volume @DEFAULT_SINK@ +5%"))
|
||||||
|
hl.bind("XF86AudioLowerVolume", hl.dsp.exec_cmd("pactl set-sink-volume @DEFAULT_SINK@ -5%"))
|
||||||
|
|
||||||
|
-- Brightness
|
||||||
|
hl.bind("XF86MonBrightnessDown", hl.dsp.exec_cmd("brightnessctl set 5%-"))
|
||||||
|
hl.bind("XF86MonBrightnessUp", hl.dsp.exec_cmd("brightnessctl set 5%+"))
|
||||||
|
|
||||||
|
-- Change wallpaper
|
||||||
|
hl.bind(mainMod .. " + SHIFT + W", hl.dsp.exec_cmd("echo trigger > /tmp/wallpaper-trigger"))
|
||||||
|
|
||||||
|
-- Reload waybar
|
||||||
|
hl.bind(mainMod .. " + SHIFT + B", hl.dsp.exec_cmd("pkill waybar && waybar"))
|
||||||
|
|
||||||
|
-- Hide waybar
|
||||||
|
hl.bind(mainMod .. " + X", hl.dsp.exec_cmd("pkill waybar || waybar"))
|
||||||
|
|
||||||
|
-- Clipboard history
|
||||||
|
hl.bind(mainMod .. " + V", hl.dsp.exec_cmd("cliphist list | wofi -dmenu | cliphist decode | wl-copy"))
|
||||||
|
|
||||||
|
-- Screenshot to clipboard
|
||||||
|
hl.bind(mainMod .. " + SHIFT + S", hl.dsp.exec_cmd("grim -g \"$(slurp -d)\" - | wl-copy"))
|
||||||
|
|
||||||
|
-- Move focus with mainMod + arrow keys
|
||||||
|
hl.bind(mainMod .. " + h", hl.dsp.focus({direction = "left"}))
|
||||||
|
hl.bind(mainMod .. " + l", hl.dsp.focus({direction = "right"}))
|
||||||
|
hl.bind(mainMod .. " + k", hl.dsp.focus({direction = "up"}))
|
||||||
|
hl.bind(mainMod .. " + j", hl.dsp.focus({direction = "down"}))
|
||||||
|
|
||||||
|
-- Move/resize windows with mainMod + LMB/RMB and dragging
|
||||||
|
hl.bind(mainMod .. " + mouse:272", hl.dsp.window.drag(), { mouse = true })
|
||||||
|
hl.bind(mainMod .. " + mouse:273", hl.dsp.window.resize(), { mouse = true })
|
||||||
|
|
||||||
|
-- Resize Windows
|
||||||
|
hl.bind(mainMod .. " + CTRL + h", hl.dsp.window.resize({ x = -20 , y = 0 , relative = true }))
|
||||||
|
hl.bind(mainMod .. " + CTRL + l", hl.dsp.window.resize({ x = 20 , y = 0 , relative = true }))
|
||||||
|
hl.bind(mainMod .. " + CTRL + k", hl.dsp.window.resize({ x = 0 , y = -20 , relative = true }))
|
||||||
|
hl.bind(mainMod .. " + CTRL + j", hl.dsp.window.resize({ x = 0 , y = 20 , relative = true }))
|
||||||
|
|
||||||
|
-- Switch workspaces
|
||||||
|
hl.bind(mainMod .. " + ampersand", hl.dsp.focus({ workspace = "1"}))
|
||||||
|
hl.bind(mainMod .. " + eacute", hl.dsp.focus({ workspace = "2"}))
|
||||||
|
hl.bind(mainMod .. " + quotedbl", hl.dsp.focus({ workspace = "3"}))
|
||||||
|
hl.bind(mainMod .. " + apostrophe", hl.dsp.focus({ workspace = "4"}))
|
||||||
|
hl.bind(mainMod .. " + parenleft", hl.dsp.focus({ workspace = "5"}))
|
||||||
|
hl.bind(mainMod .. " + minus", hl.dsp.focus({ workspace = "6"}))
|
||||||
|
hl.bind(mainMod .. " + egrave", hl.dsp.focus({ workspace = "7"}))
|
||||||
|
hl.bind(mainMod .. " + underscore", hl.dsp.focus({ workspace = "8"}))
|
||||||
|
hl.bind(mainMod .. " + ccedilla", hl.dsp.focus({ workspace = "9"}))
|
||||||
|
hl.bind(mainMod .. " + agrave", hl.dsp.focus({ workspace = "10"}))
|
||||||
|
hl.bind(mainMod .. " + dead_circumflex", hl.dsp.focus({ workspace = "11"}))
|
||||||
|
hl.bind(mainMod .. " + dollar", hl.dsp.focus({ workspace = "12"}))
|
||||||
|
hl.bind(mainMod .. " + ugrave", hl.dsp.focus({ workspace = "13"}))
|
||||||
|
hl.bind(mainMod .. " + asterisk", hl.dsp.focus({ workspace = "14"}))
|
||||||
|
|
||||||
|
-- Move active window to a workspace
|
||||||
|
hl.bind(mainMod .. " + SHIFT + ampersand", hl.dsp.window.move({ workspace = "1"}))
|
||||||
|
hl.bind(mainMod .. " + SHIFT + eacute", hl.dsp.window.move({ workspace = "2"}))
|
||||||
|
hl.bind(mainMod .. " + SHIFT + quotedbl", hl.dsp.window.move({ workspace = "3"}))
|
||||||
|
hl.bind(mainMod .. " + SHIFT + apostrophe", hl.dsp.window.move({ workspace = "4"}))
|
||||||
|
hl.bind(mainMod .. " + SHIFT + parenleft", hl.dsp.window.move({ workspace = "5"}))
|
||||||
|
hl.bind(mainMod .. " + SHIFT + minus", hl.dsp.window.move({ workspace = "6"}))
|
||||||
|
hl.bind(mainMod .. " + SHIFT + egrave", hl.dsp.window.move({ workspace = "7"}))
|
||||||
|
hl.bind(mainMod .. " + SHIFT + underscore", hl.dsp.window.move({ workspace = "8"}))
|
||||||
|
hl.bind(mainMod .. " + SHIFT + ccedilla", hl.dsp.window.move({ workspace = "9"}))
|
||||||
|
hl.bind(mainMod .. " + SHIFT + agrave", hl.dsp.window.move({ workspace = "10"}))
|
||||||
|
hl.bind(mainMod .. " + SHIFT + dead_circumflex", hl.dsp.window.move({ workspace = "11"}))
|
||||||
|
hl.bind(mainMod .. " + SHIFT + dollar", hl.dsp.window.move({ workspace = "12"}))
|
||||||
|
hl.bind(mainMod .. " + SHIFT + ugrave", hl.dsp.window.move({ workspace = "13"}))
|
||||||
|
hl.bind(mainMod .. " + SHIFT + asterisk", hl.dsp.window.move({ workspace = "14"}))
|
||||||
@@ -0,0 +1,6 @@
|
|||||||
|
-- Set env here
|
||||||
|
hl.env("XCURSOR_SIZE", "24")
|
||||||
|
hl.env("HYPRCURSOR_SIZE", "24")
|
||||||
|
hl.env("XDG_SESSION_TYPE", "wayland")
|
||||||
|
hl.env("HYPRLAND_NO_SD_VARS", "1")
|
||||||
|
hl.env("LD_LIBRARY_PATH", "/nix/store/p5c2hfgw9pipp2vd0xvxjmly99nbsdki-pipewire-1.6.8-jack/lib/")
|
||||||
@@ -0,0 +1,22 @@
|
|||||||
|
--Set inputs here
|
||||||
|
|
||||||
|
hl.config({
|
||||||
|
input = {
|
||||||
|
kb_layout = "fr",
|
||||||
|
kb_variant = "",
|
||||||
|
kb_model = "pc105",
|
||||||
|
kb_options = "terminate:ctrl_alt_bksp",
|
||||||
|
kb_rules = "",
|
||||||
|
|
||||||
|
follow_mouse = 1,
|
||||||
|
|
||||||
|
sensitivity = 0,
|
||||||
|
|
||||||
|
touchpad = {
|
||||||
|
natural_scroll = false,
|
||||||
|
},
|
||||||
|
},
|
||||||
|
cursor = {
|
||||||
|
no_hardware_cursors = 0,
|
||||||
|
}
|
||||||
|
})
|
||||||
@@ -0,0 +1,61 @@
|
|||||||
|
--Set look and feel here
|
||||||
|
|
||||||
|
hl.config({
|
||||||
|
general = {
|
||||||
|
layout = "dwindle",
|
||||||
|
gaps_in = 3,
|
||||||
|
gaps_out = 5,
|
||||||
|
border_size = 1,
|
||||||
|
col = {
|
||||||
|
active_border = { colors = {"rgba(33ccffee)", "rgba(00ff99ee)"}, angle = 45 },
|
||||||
|
inactive_border = "rgba(595959aa)",
|
||||||
|
},
|
||||||
|
},
|
||||||
|
|
||||||
|
decoration = {
|
||||||
|
rounding = 6,
|
||||||
|
rounding_power = 2,
|
||||||
|
|
||||||
|
active_opacity = 1.0,
|
||||||
|
inactive_opacity = 1.0,
|
||||||
|
|
||||||
|
shadow = {
|
||||||
|
enabled = false
|
||||||
|
},
|
||||||
|
|
||||||
|
blur = {
|
||||||
|
enabled = false,
|
||||||
|
},
|
||||||
|
},
|
||||||
|
|
||||||
|
animations = {
|
||||||
|
enabled = true,
|
||||||
|
},
|
||||||
|
|
||||||
|
dwindle = {
|
||||||
|
preserve_split = true,
|
||||||
|
},
|
||||||
|
|
||||||
|
master = {
|
||||||
|
new_status = "master",
|
||||||
|
},
|
||||||
|
|
||||||
|
misc = {
|
||||||
|
force_default_wallpaper = 0,
|
||||||
|
disable_hyprland_logo = true,
|
||||||
|
},
|
||||||
|
|
||||||
|
ecosystem = {
|
||||||
|
no_update_news = true,
|
||||||
|
no_donation_nag = true,
|
||||||
|
}
|
||||||
|
})
|
||||||
|
|
||||||
|
hl.curve( "mybezier", { type = "bezier", points = { {0.05, 0.9}, {0.1, 1.05} } })
|
||||||
|
|
||||||
|
hl.animation({ leaf = "windows", enabled = true, speed = 7, bezier = "mybezier" })
|
||||||
|
hl.animation({ leaf = "windowsOut", enabled = true, speed = 7, bezier = "mybezier" })
|
||||||
|
hl.animation({ leaf = "border", enabled = true, speed = 7, bezier = "mybezier" })
|
||||||
|
hl.animation({ leaf = "borderangle", enabled = true, speed = 7, bezier = "mybezier" })
|
||||||
|
hl.animation({ leaf = "fade", enabled = true, speed = 7, bezier = "mybezier" })
|
||||||
|
hl.animation({ leaf = "workspaces", enabled = true, speed = 7, bezier = "mybezier" })
|
||||||
@@ -0,0 +1,6 @@
|
|||||||
|
hl.monitor({
|
||||||
|
output = "",
|
||||||
|
mode = "preferred",
|
||||||
|
position = "auto",
|
||||||
|
scale = 1
|
||||||
|
})
|
||||||
@@ -0,0 +1,19 @@
|
|||||||
|
hl.window_rule({
|
||||||
|
name = "suppress-maximize-events",
|
||||||
|
match = {class = ".*"},
|
||||||
|
suppress_event = "maximize"
|
||||||
|
})
|
||||||
|
|
||||||
|
hl.window_rule({
|
||||||
|
name = "fix-xwayland-drags",
|
||||||
|
match = {
|
||||||
|
class = "^$",
|
||||||
|
title = "^$",
|
||||||
|
xwayland = true,
|
||||||
|
float = true,
|
||||||
|
fullscreen = false,
|
||||||
|
pin = false,
|
||||||
|
},
|
||||||
|
|
||||||
|
no_focus = true,
|
||||||
|
})
|
||||||
@@ -1,22 +1,28 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
Wallpaper_DIR="/home/smayzy/Wallpaper"
|
Wallpaper_DIR="/home/smayzy/wallpaper"
|
||||||
|
MONITOR=$(hyprctl monitors | awk '/Monitor/ {print $2; exit}')
|
||||||
|
|
||||||
|
TRIGGER_PIPE="/tmp/wallpaper-trigger"
|
||||||
|
[[ -p $TRIGGER_PIPE ]] || mkfifo $TRIGGER_PIPE
|
||||||
|
|
||||||
set_wallpaper() {
|
set_wallpaper() {
|
||||||
local Wallpaper=$(find $Wallpaper_DIR -type f | shuf -n 1)
|
local Wallpaper=$(find -L "$Wallpaper_DIR" -type f| shuf -n 1)
|
||||||
|
|
||||||
> /home/smayzy/.config/hypr/hyprpaper.conf
|
cat > "/home/smayzy/.config/hypr/hyprpaper.conf" <<EOF
|
||||||
|
wallpaper {
|
||||||
|
monitor = $MONITOR
|
||||||
|
path = $Wallpaper
|
||||||
|
fit_mode = cover
|
||||||
|
}
|
||||||
|
splash = false
|
||||||
|
EOF
|
||||||
|
|
||||||
echo "preload = $Wallpaper" >> /home/smayzy/.config/hypr/hyprpaper.conf
|
pkill hyprpaper 2>/dev/null
|
||||||
echo "wallpaper = ,$Wallpaper" >> /home/smayzy/.config/hypr/hyprpaper.conf
|
|
||||||
|
|
||||||
# Restart hyprpaper
|
|
||||||
killall hyprpaper 2>/dev/null
|
|
||||||
hyprpaper &
|
hyprpaper &
|
||||||
}
|
}
|
||||||
|
|
||||||
while true; do
|
while true; do
|
||||||
set_wallpaper
|
set_wallpaper
|
||||||
sleep 600
|
read -t 600 < $TRIGGER_PIPE
|
||||||
done
|
done
|
||||||
|
|
||||||
|
|||||||
@@ -0,0 +1,38 @@
|
|||||||
|
IMAPStore smayzy-remote
|
||||||
|
Host mail.smayzy.ovh
|
||||||
|
User smayzy@smayzy.ovh
|
||||||
|
PassCmd "pass mail/smayzy"
|
||||||
|
TLSType IMAPS
|
||||||
|
|
||||||
|
MaildirStore smayzy-local
|
||||||
|
Path ~/Mail/smayzy/
|
||||||
|
Inbox ~/Mail/smayzy/INBOX
|
||||||
|
SubFolders Verbatim
|
||||||
|
|
||||||
|
Channel smayzy
|
||||||
|
Far :smayzy-remote:
|
||||||
|
Near :smayzy-local:
|
||||||
|
Create Both
|
||||||
|
Expunge Both
|
||||||
|
Patterns *
|
||||||
|
SyncState *
|
||||||
|
|
||||||
|
|
||||||
|
IMAPStore baptiste.maylin-remote
|
||||||
|
Host mail.smayzy.ovh
|
||||||
|
User baptiste.maylin@smayzy.ovh
|
||||||
|
PassCmd "pass mail/baptiste.maylin"
|
||||||
|
TLSType IMAPS
|
||||||
|
|
||||||
|
MaildirStore baptiste.maylin-local
|
||||||
|
Path ~/Mail/baptiste.maylin/
|
||||||
|
Inbox ~/Mail/baptiste.maylin/INBOX
|
||||||
|
SubFolders Verbatim
|
||||||
|
|
||||||
|
Channel baptiste.maylin
|
||||||
|
Far :baptiste.maylin-remote:
|
||||||
|
Near :baptiste.maylin-local:
|
||||||
|
Create Both
|
||||||
|
Expunge Both
|
||||||
|
Patterns *
|
||||||
|
SyncState *
|
||||||
@@ -1,9 +0,0 @@
|
|||||||
cursor #c7c7c7
|
|
||||||
cursor #c7c7c7
|
|
||||||
cursor_text_color #feffff
|
|
||||||
selection_foreground #3e3e3e
|
|
||||||
selection_background #c1ddff
|
|
||||||
foreground #c8c8c8
|
|
||||||
background #323232
|
|
||||||
background_opacity 0.8
|
|
||||||
confirm_os_window_close 0
|
|
||||||
@@ -1,5 +0,0 @@
|
|||||||
font=JetBrainsMono 10
|
|
||||||
background-color=#282828
|
|
||||||
text-color=#ebdbb2
|
|
||||||
border-color=#98971a
|
|
||||||
border-size=2
|
|
||||||
@@ -0,0 +1,25 @@
|
|||||||
|
defaults
|
||||||
|
tls on
|
||||||
|
tls_starttls off
|
||||||
|
auth on
|
||||||
|
logfile ~/.msmtp.log
|
||||||
|
timeout 60
|
||||||
|
|
||||||
|
account smayzy
|
||||||
|
host mail.smayzy.ovh
|
||||||
|
port 465
|
||||||
|
domain smayzy.ovh
|
||||||
|
from smayzy@smayzy.ovh
|
||||||
|
user smayzy@smayzy.ovh
|
||||||
|
passwordeval pass mail/smayzy
|
||||||
|
|
||||||
|
account baptiste.maylin
|
||||||
|
host mail.smayzy.ovh
|
||||||
|
port 465
|
||||||
|
domain smayzy.ovh
|
||||||
|
from baptiste.maylin@smayzy.ovh
|
||||||
|
user baptiste.maylin@smayzy.ovh
|
||||||
|
passwordeval pass mail/baptiste.maylin
|
||||||
|
|
||||||
|
|
||||||
|
account default : smayzy
|
||||||
@@ -0,0 +1,15 @@
|
|||||||
|
# vim: syntax=neomuttrc
|
||||||
|
bind index,pager \Ck sidebar-prev
|
||||||
|
bind index,pager \Cj sidebar-next
|
||||||
|
bind index,pager \Ce sidebar-open
|
||||||
|
bind index,pager V sidebar-toggle-visible
|
||||||
|
|
||||||
|
|
||||||
|
bind index,pager j next-entry
|
||||||
|
bind index,pager k previous-entry
|
||||||
|
bind index,pager J next-page
|
||||||
|
bind index,pager K previous-page
|
||||||
|
|
||||||
|
bind editor \C_ bol
|
||||||
|
bind editor \Cd kill-line
|
||||||
|
bind editor \Cr history-search
|
||||||
@@ -0,0 +1,68 @@
|
|||||||
|
# vim: filetype=neomuttrc
|
||||||
|
# Default index colors:
|
||||||
|
color index yellow default '.*'
|
||||||
|
color index_author red default '.*'
|
||||||
|
color index_number blue default
|
||||||
|
color index_subject cyan default '.*'
|
||||||
|
|
||||||
|
# For new mail:
|
||||||
|
color index brightyellow black "~N"
|
||||||
|
color index_author brightred black "~N"
|
||||||
|
color index_subject brightcyan black "~N"
|
||||||
|
|
||||||
|
# Header colors:
|
||||||
|
color header blue default ".*"
|
||||||
|
color header brightmagenta default "^(From)"
|
||||||
|
color header brightcyan default "^(Subject)"
|
||||||
|
color header brightwhite default "^(CC|BCC)"
|
||||||
|
|
||||||
|
mono bold bold
|
||||||
|
mono underline underline
|
||||||
|
mono indicator reverse
|
||||||
|
mono error bold
|
||||||
|
color normal default default
|
||||||
|
color indicator brightblack white
|
||||||
|
color sidebar_highlight red default
|
||||||
|
color sidebar_divider brightblack black
|
||||||
|
color sidebar_flagged red black
|
||||||
|
color sidebar_new green black
|
||||||
|
color normal brightyellow default
|
||||||
|
color error red default
|
||||||
|
color tilde black default
|
||||||
|
color message cyan default
|
||||||
|
color markers red white
|
||||||
|
color attachment white default
|
||||||
|
color search brightmagenta default
|
||||||
|
color status brightyellow black
|
||||||
|
color hdrdefault brightgreen default
|
||||||
|
color quoted green default
|
||||||
|
color quoted1 blue default
|
||||||
|
color quoted2 cyan default
|
||||||
|
color quoted3 yellow default
|
||||||
|
color quoted4 red default
|
||||||
|
color quoted5 brightred default
|
||||||
|
color signature brightgreen default
|
||||||
|
color bold black default
|
||||||
|
color underline black default
|
||||||
|
color normal default default
|
||||||
|
|
||||||
|
color body brightred default "[\-\.+_a-zA-Z0-9]+@[\-\.a-zA-Z0-9]+" # Email addresses
|
||||||
|
color body brightblue default "(https?|ftp)://[\-\.,/%~_:?&=\#a-zA-Z0-9]+" # URL
|
||||||
|
color body green default "\`[^\`]*\`" # Green text between ` and `
|
||||||
|
color body brightblue default "^# \.*" # Headings as bold blue
|
||||||
|
color body brightcyan default "^## \.*" # Subheadings as bold cyan
|
||||||
|
color body brightgreen default "^### \.*" # Subsubheadings as bold green
|
||||||
|
color body yellow default "^(\t| )*(-|\\*) \.*" # List items as yellow
|
||||||
|
color body brightcyan default "[;:][-o][)/(|]" # emoticons
|
||||||
|
color body brightcyan default "[;:][)(|]" # emoticons
|
||||||
|
color body brightcyan default "[ ][*][^*]*[*][ ]?" # more emoticon?
|
||||||
|
color body brightcyan default "[ ]?[*][^*]*[*][ ]" # more emoticon?
|
||||||
|
color body red default "(BAD signature)"
|
||||||
|
color body cyan default "(Good signature)"
|
||||||
|
color body brightblack default "^gpg: Good signature .*"
|
||||||
|
color body brightyellow default "^gpg: "
|
||||||
|
color body brightyellow red "^gpg: BAD signature from.*"
|
||||||
|
mono body bold "^gpg: Good signature"
|
||||||
|
mono body bold "^gpg: BAD signature from.*"
|
||||||
|
color body red default "([a-z][a-z0-9+-]*://(((([a-z0-9_.!~*'();:&=+$,-]|%[0-9a-f][0-9a-f])*@)?((([a-z0-9]([a-z0-9-]*[a-z0-9])?)\\.)*([a-z]([a-z0-9-]*[a-z0-9])?)\\.?|[0-9]+\\.[0-9]+\\.[0-9]+\\.[0-9]+)(:[0-9]+)?)|([a-z0-9_.!~*'()$,;:@&=+-]|%[0-9a-f][0-9a-f])+)(/([a-z0-9_.!~*'():@&=+$,-]|%[0-9a-f][0-9a-f])*(;([a-z0-9_.!~*'():@&=+$,-]|%[0-9a-f][0-9a-f])*)*(/([a-z0-9_.!~*'():@&=+$,-]|%[0-9a-f][0-9a-f])*(;([a-z0-9_.!~*'():@&=+$,-]|%[0-9a-f][0-9a-f])*)*)*)?(\\?([a-z0-9_.!~*'();/?:@&=+$,-]|%[0-9a-f][0-9a-f])*)?(#([a-z0-9_.!~*'();/?:@&=+$,-]|%[0-9a-f][0-9a-f])*)?|(www|ftp)\\.(([a-z0-9]([a-z0-9-]*[a-z0-9])?)\\.)*([a-z]([a-z0-9-]*[a-z0-9])?)\\.?(:[0-9]+)?(/([-a-z0-9_.!~*'():@&=+$,]|%[0-9a-f][0-9a-f])*(;([-a-z0-9_.!~*'():@&=+$,]|%[0-9a-f][0-9a-f])*)*(/([-a-z0-9_.!~*'():@&=+$,]|%[0-9a-f][0-9a-f])*(;([-a-z0-9_.!~*'():@&=+$,]|%[0-9a-f][0-9a-f])*)*)*)?(\\?([-a-z0-9_.!~*'();/?:@&=+$,]|%[0-9a-f][0-9a-f])*)?(#([-a-z0-9_.!~*'();/?:@&=+$,]|%[0-9a-f][0-9a-f])*)?)[^].,:;!)? \t\r\n<>\"]"
|
||||||
|
|
||||||
@@ -0,0 +1,40 @@
|
|||||||
|
# vim: syntax=neomuttrc
|
||||||
|
set editor = "vim"
|
||||||
|
|
||||||
|
source color.muttrc
|
||||||
|
source bind.muttrc
|
||||||
|
|
||||||
|
set ssl_force_tls = yes
|
||||||
|
set mail_check_stats
|
||||||
|
|
||||||
|
set sidebar_visible = yes
|
||||||
|
set sidebar_width = 40
|
||||||
|
set sidebar_short_path = yes
|
||||||
|
set sidebar_delim_chars = '/'
|
||||||
|
set sidebar_on_right = yes
|
||||||
|
set sidebar_format = '%B%<F? [%F]>%* %<N?%N/>%S'
|
||||||
|
|
||||||
|
set spoolfile = "~/Mail/smayzy/INBOX"
|
||||||
|
set folder = "~/Mail/smayzy"
|
||||||
|
|
||||||
|
mailboxes `for u in smayzy baptiste.maylin; do echo "$HOME/Mail/placeholder/------$u------"; find ~/Mail/$u -type d -name cur | xargs dirname; done | xargs`
|
||||||
|
|
||||||
|
folder-hook ~/Mail/smayzy/.* "\
|
||||||
|
set from='smayzy@smayzy.ovh';\
|
||||||
|
set realname='Smayzy';\
|
||||||
|
set folder='~/Mail/smayzy';\
|
||||||
|
set spoolfile='+INBOX';\
|
||||||
|
set record='+Sent';\
|
||||||
|
set postponed='+Drafts';\
|
||||||
|
set trash='+Trash';\
|
||||||
|
set sendmail='msmtp -a smayzy'"
|
||||||
|
|
||||||
|
folder-hook ~/Mail/baptiste.maylin/.* "\
|
||||||
|
set from='baptiste.maylin@smayzy.ovh';\
|
||||||
|
set realname='Baptiste Maylin';\
|
||||||
|
set folder='~/Mail/baptiste.maylin';\
|
||||||
|
set spoolfile='+INBOX';\
|
||||||
|
set record='+Sent';\
|
||||||
|
set postponed='+Drafts';\
|
||||||
|
set trash='+Trash';\
|
||||||
|
set sendmail='msmtp -a baptiste.maylin'"
|
||||||
@@ -3,9 +3,6 @@
|
|||||||
{
|
{
|
||||||
"layer": "top",
|
"layer": "top",
|
||||||
"modules-left": [
|
"modules-left": [
|
||||||
"custom/launcher",
|
|
||||||
"custom/right-arrow-dark",
|
|
||||||
"custom/right-arrow-light",
|
|
||||||
"network",
|
"network",
|
||||||
"custom/right-arrow-dark",
|
"custom/right-arrow-dark",
|
||||||
"custom/right-arrow-light",
|
"custom/right-arrow-light",
|
||||||
@@ -24,9 +21,6 @@
|
|||||||
"custom/right-arrow-dark"
|
"custom/right-arrow-dark"
|
||||||
],
|
],
|
||||||
"modules-right": [
|
"modules-right": [
|
||||||
"custom/left-arrow-dark",
|
|
||||||
"custom/updates",
|
|
||||||
"custom/left-arrow-light",
|
|
||||||
"custom/left-arrow-dark",
|
"custom/left-arrow-dark",
|
||||||
"cpu",
|
"cpu",
|
||||||
"custom/left-arrow-light",
|
"custom/left-arrow-light",
|
||||||
@@ -144,18 +138,8 @@
|
|||||||
"tray": {
|
"tray": {
|
||||||
"icon-size": 20
|
"icon-size": 20
|
||||||
},
|
},
|
||||||
"custom/launcher":{
|
|
||||||
"format": " ",
|
|
||||||
"on-click": "wofi --show drun",
|
|
||||||
"on-click-right": "killall wofi"
|
|
||||||
},
|
|
||||||
"custom/power":{
|
"custom/power":{
|
||||||
"format": " ",
|
"format": " ",
|
||||||
"on-click": "wlogout"
|
"on-click": "wlogout"
|
||||||
},
|
|
||||||
"custom/updates":{
|
|
||||||
"format": " {} Update(s) ",
|
|
||||||
"exec": "checkupdates | wc -l",
|
|
||||||
"interval": 600
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -18,15 +18,10 @@ window#waybar {
|
|||||||
background: #1a1a1a;
|
background: #1a1a1a;
|
||||||
}
|
}
|
||||||
|
|
||||||
#custom-updates {
|
|
||||||
color: #F3881F;
|
|
||||||
background: #1a1a1a;
|
|
||||||
}
|
|
||||||
#custom-power {
|
#custom-power {
|
||||||
color: #ff8080;
|
color: #ff8080;
|
||||||
background: #1a1a1a;
|
background: #1a1a1a;
|
||||||
}
|
}
|
||||||
#custom-launcher,
|
|
||||||
#workspaces,
|
#workspaces,
|
||||||
#clock.1,
|
#clock.1,
|
||||||
#clock.2,
|
#clock.2,
|
||||||
|
|||||||
|
After Width: | Height: | Size: 18 KiB |
|
After Width: | Height: | Size: 7.9 KiB |
|
After Width: | Height: | Size: 6.2 KiB |
|
After Width: | Height: | Size: 16 KiB |
|
After Width: | Height: | Size: 15 KiB |
@@ -27,13 +27,13 @@ button:focus, button:active, button:hover {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#lock {
|
#lock {
|
||||||
background-image: image(url("/usr/share/wlogout/icons/lock.png"), url("/usr/local/share/wlogout/icons/lock.png"));
|
background-image: image(url("./lock.png"), url("./lock.png"));
|
||||||
}
|
}
|
||||||
|
|
||||||
#shutdown {
|
#shutdown {
|
||||||
background-image: image(url("/usr/share/wlogout/icons/shutdown.png"), url("/usr/local/share/wlogout/icons/shutdown.png"));
|
background-image: image(url("./shutdown.png"));
|
||||||
}
|
}
|
||||||
|
|
||||||
#reboot {
|
#reboot {
|
||||||
background-image: image(url("/usr/share/wlogout/icons/reboot.png"), url("/usr/local/share/wlogout/icons/reboot.png"));
|
background-image: image(url("./reboot.png"));
|
||||||
}
|
}
|
||||||
|
|||||||
|
After Width: | Height: | Size: 17 KiB |
@@ -1,239 +1,77 @@
|
|||||||
{
|
{
|
||||||
"nodes": {
|
"nodes": {
|
||||||
"base16": {
|
"agenix": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"fromYaml": "fromYaml"
|
"darwin": "darwin",
|
||||||
|
"home-manager": "home-manager",
|
||||||
|
"nixpkgs": "nixpkgs",
|
||||||
|
"systems": "systems"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1746562888,
|
"lastModified": 1770165109,
|
||||||
"narHash": "sha256-YgNJQyB5dQiwavdDFBMNKk1wyS77AtdgDk/VtU6wEaI=",
|
"narHash": "sha256-9VnK6Oqai65puVJ4WYtCTvlJeXxMzAp/69HhQuTdl/I=",
|
||||||
"owner": "SenchoPens",
|
"owner": "ryantm",
|
||||||
"repo": "base16.nix",
|
"repo": "agenix",
|
||||||
"rev": "806a1777a5db2a1ef9d5d6f493ef2381047f2b89",
|
"rev": "b027ee29d959fda4b60b57566d64c98a202e0feb",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"owner": "SenchoPens",
|
"owner": "ryantm",
|
||||||
"repo": "base16.nix",
|
"repo": "agenix",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"base16-fish": {
|
"darwin": {
|
||||||
"flake": false,
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1622559957,
|
|
||||||
"narHash": "sha256-PebymhVYbL8trDVVXxCvZgc0S5VxI7I1Hv4RMSquTpA=",
|
|
||||||
"owner": "tomyun",
|
|
||||||
"repo": "base16-fish",
|
|
||||||
"rev": "2f6dd973a9075dabccd26f1cded09508180bf5fe",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "tomyun",
|
|
||||||
"repo": "base16-fish",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"base16-helix": {
|
|
||||||
"flake": false,
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1748408240,
|
|
||||||
"narHash": "sha256-9M2b1rMyMzJK0eusea0x3lyh3mu5nMeEDSc4RZkGm+g=",
|
|
||||||
"owner": "tinted-theming",
|
|
||||||
"repo": "base16-helix",
|
|
||||||
"rev": "6c711ab1a9db6f51e2f6887cc3345530b33e152e",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "tinted-theming",
|
|
||||||
"repo": "base16-helix",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"base16-vim": {
|
|
||||||
"flake": false,
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1732806396,
|
|
||||||
"narHash": "sha256-e0bpPySdJf0F68Ndanwm+KWHgQiZ0s7liLhvJSWDNsA=",
|
|
||||||
"owner": "tinted-theming",
|
|
||||||
"repo": "base16-vim",
|
|
||||||
"rev": "577fe8125d74ff456cf942c733a85d769afe58b7",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "tinted-theming",
|
|
||||||
"repo": "base16-vim",
|
|
||||||
"rev": "577fe8125d74ff456cf942c733a85d769afe58b7",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"firefox-addons": {
|
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"nixpkgs": [
|
"nixpkgs": [
|
||||||
|
"agenix",
|
||||||
"nixpkgs"
|
"nixpkgs"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"dir": "pkgs/firefox-addons",
|
"lastModified": 1744478979,
|
||||||
"lastModified": 1750565010,
|
"narHash": "sha256-dyN+teG9G82G+m+PX/aSAagkC+vUv0SgUw3XkPhQodQ=",
|
||||||
"narHash": "sha256-eetTl1TpPoD5W52RX02Lo8SLQdVcU2m7usCSh5VhnwE=",
|
"owner": "lnl7",
|
||||||
"owner": "rycee",
|
"repo": "nix-darwin",
|
||||||
"repo": "nur-expressions",
|
"rev": "43975d782b418ebf4969e9ccba82466728c2851b",
|
||||||
"rev": "a24c53d008d362cfd5a96270b2bb331e26902af5",
|
|
||||||
"type": "gitlab"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"dir": "pkgs/firefox-addons",
|
|
||||||
"owner": "rycee",
|
|
||||||
"repo": "nur-expressions",
|
|
||||||
"type": "gitlab"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"firefox-gnome-theme": {
|
|
||||||
"flake": false,
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1748383148,
|
|
||||||
"narHash": "sha256-pGvD/RGuuPf/4oogsfeRaeMm6ipUIznI2QSILKjKzeA=",
|
|
||||||
"owner": "rafaelmardojai",
|
|
||||||
"repo": "firefox-gnome-theme",
|
|
||||||
"rev": "4eb2714fbed2b80e234312611a947d6cb7d70caf",
|
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"owner": "rafaelmardojai",
|
"owner": "lnl7",
|
||||||
"repo": "firefox-gnome-theme",
|
"ref": "master",
|
||||||
|
"repo": "nix-darwin",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"flake-compat": {
|
"flake-compat": {
|
||||||
"locked": {
|
|
||||||
"lastModified": 1747046372,
|
|
||||||
"narHash": "sha256-CIVLLkVgvHYbgI2UpXvIIBJ12HWgX+fjA8Xf8PUmqCY=",
|
|
||||||
"owner": "edolstra",
|
|
||||||
"repo": "flake-compat",
|
|
||||||
"rev": "9100a0f413b0c601e0533d1d94ffd501ce2e7885",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "edolstra",
|
|
||||||
"repo": "flake-compat",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"flake-parts": {
|
|
||||||
"inputs": {
|
|
||||||
"nixpkgs-lib": [
|
|
||||||
"stylix",
|
|
||||||
"nixpkgs"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1743550720,
|
|
||||||
"narHash": "sha256-hIshGgKZCgWh6AYJpJmRgFdR3WUbkY04o82X05xqQiY=",
|
|
||||||
"owner": "hercules-ci",
|
|
||||||
"repo": "flake-parts",
|
|
||||||
"rev": "c621e8422220273271f52058f618c94e405bb0f5",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "hercules-ci",
|
|
||||||
"repo": "flake-parts",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"fromYaml": {
|
|
||||||
"flake": false,
|
"flake": false,
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1731966426,
|
"lastModified": 1777699697,
|
||||||
"narHash": "sha256-lq95WydhbUTWig/JpqiB7oViTcHFP8Lv41IGtayokA8=",
|
"narHash": "sha256-Eg9b/rq/ECYwNwEXs5i9wHyhxNI0JrYx2srdI2uZMaQ=",
|
||||||
"owner": "SenchoPens",
|
"ref": "refs/heads/main",
|
||||||
"repo": "fromYaml",
|
"rev": "382052b74656a369c5408822af3f2501e9b1af81",
|
||||||
"rev": "106af9e2f715e2d828df706c386a685698f3223b",
|
"revCount": 94,
|
||||||
"type": "github"
|
"type": "git",
|
||||||
|
"url": "https://git.lix.systems/lix-project/flake-compat.git"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"owner": "SenchoPens",
|
"type": "git",
|
||||||
"repo": "fromYaml",
|
"url": "https://git.lix.systems/lix-project/flake-compat.git"
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"git-hooks": {
|
|
||||||
"inputs": {
|
|
||||||
"flake-compat": [
|
|
||||||
"stylix",
|
|
||||||
"flake-compat"
|
|
||||||
],
|
|
||||||
"gitignore": "gitignore",
|
|
||||||
"nixpkgs": [
|
|
||||||
"stylix",
|
|
||||||
"nixpkgs"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1747372754,
|
|
||||||
"narHash": "sha256-2Y53NGIX2vxfie1rOW0Qb86vjRZ7ngizoo+bnXU9D9k=",
|
|
||||||
"owner": "cachix",
|
|
||||||
"repo": "git-hooks.nix",
|
|
||||||
"rev": "80479b6ec16fefd9c1db3ea13aeb038c60530f46",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "cachix",
|
|
||||||
"repo": "git-hooks.nix",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"gitignore": {
|
|
||||||
"inputs": {
|
|
||||||
"nixpkgs": [
|
|
||||||
"stylix",
|
|
||||||
"git-hooks",
|
|
||||||
"nixpkgs"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1709087332,
|
|
||||||
"narHash": "sha256-HG2cCnktfHsKV0s4XW83gU3F57gaTljL9KNSuG6bnQs=",
|
|
||||||
"owner": "hercules-ci",
|
|
||||||
"repo": "gitignore.nix",
|
|
||||||
"rev": "637db329424fd7e46cf4185293b9cc8c88c95394",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "hercules-ci",
|
|
||||||
"repo": "gitignore.nix",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"gnome-shell": {
|
|
||||||
"flake": false,
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1744584021,
|
|
||||||
"narHash": "sha256-0RJ4mJzf+klKF4Fuoc8VN8dpQQtZnKksFmR2jhWE1Ew=",
|
|
||||||
"owner": "GNOME",
|
|
||||||
"repo": "gnome-shell",
|
|
||||||
"rev": "52c517c8f6c199a1d6f5118fae500ef69ea845ae",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "GNOME",
|
|
||||||
"ref": "48.1",
|
|
||||||
"repo": "gnome-shell",
|
|
||||||
"type": "github"
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"home-manager": {
|
"home-manager": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"nixpkgs": [
|
"nixpkgs": [
|
||||||
|
"agenix",
|
||||||
"nixpkgs"
|
"nixpkgs"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1750304462,
|
"lastModified": 1745494811,
|
||||||
"narHash": "sha256-Mj5t4yX05/rXnRqJkpoLZTWqgStB88Mr/fegTRqyiWc=",
|
"narHash": "sha256-YZCh2o9Ua1n9uCvrvi5pRxtuVNml8X2a03qIFfRKpFs=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "home-manager",
|
"repo": "home-manager",
|
||||||
"rev": "863842639722dd12ae9e37ca83bcb61a63b36f6c",
|
"rev": "abfad3d2958c9e6300a883bd443512c55dfeb1be",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -245,16 +83,15 @@
|
|||||||
"home-manager_2": {
|
"home-manager_2": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"nixpkgs": [
|
"nixpkgs": [
|
||||||
"stylix",
|
|
||||||
"nixpkgs"
|
"nixpkgs"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1748737919,
|
"lastModified": 1785531816,
|
||||||
"narHash": "sha256-5kvBbLYdp+n7Ftanjcs6Nv+UO6sBhelp6MIGJ9nWmjQ=",
|
"narHash": "sha256-vkMnV0JIyw+g/NmcfoajlGaAO+9a0ezia+FZohQJrik=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "home-manager",
|
"repo": "home-manager",
|
||||||
"rev": "5675a9686851d9626560052a032c4e14e533c1fa",
|
"rev": "bf9ce9fec78f95f374e8dd3b503863a3ec128ebe",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -263,13 +100,28 @@
|
|||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"mnw": {
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1780772958,
|
||||||
|
"narHash": "sha256-VKKe8r4pwCGWZ3Yr9CPN129R4S3CKLSrlYqdYz3vKpM=",
|
||||||
|
"owner": "Gerg-L",
|
||||||
|
"repo": "mnw",
|
||||||
|
"rev": "0871dbf63a53610c95db04439ed8ea4d6ec9c160",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "Gerg-L",
|
||||||
|
"repo": "mnw",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
"nix-flatpak": {
|
"nix-flatpak": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1739444422,
|
"lastModified": 1767983141,
|
||||||
"narHash": "sha256-iAVVHi7X3kWORftY+LVbRiStRnQEob2TULWyjMS6dWg=",
|
"narHash": "sha256-7ZCulYUD9RmJIDULTRkGLSW1faMpDlPKcbWJLYHoXcs=",
|
||||||
"owner": "gmodena",
|
"owner": "gmodena",
|
||||||
"repo": "nix-flatpak",
|
"repo": "nix-flatpak",
|
||||||
"rev": "5e54c3ca05a7c7d968ae1ddeabe01d2a9bc1e177",
|
"rev": "440818969ac2cbd77bfe025e884d0aa528991374",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -279,13 +131,49 @@
|
|||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"nix-index-database": {
|
||||||
|
"inputs": {
|
||||||
|
"nixpkgs": [
|
||||||
|
"nixpkgs"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1785650611,
|
||||||
|
"narHash": "sha256-q4kR7g+pCcz6NASvoVPYu+CWWUurX03wogtBqGmR4h0=",
|
||||||
|
"owner": "nix-community",
|
||||||
|
"repo": "nix-index-database",
|
||||||
|
"rev": "dbc756c9d7287de19b3e0e38c928c47510d42c3e",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "nix-community",
|
||||||
|
"repo": "nix-index-database",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1750365781,
|
"lastModified": 1754028485,
|
||||||
"narHash": "sha256-XE/lFNhz5lsriMm/yjXkvSZz5DfvKJLUjsS6pP8EC50=",
|
"narHash": "sha256-IiiXB3BDTi6UqzAZcf2S797hWEPCRZOwyNThJIYhUfk=",
|
||||||
|
"owner": "NixOS",
|
||||||
|
"repo": "nixpkgs",
|
||||||
|
"rev": "59e69648d345d6e8fef86158c555730fa12af9de",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "NixOS",
|
||||||
|
"ref": "nixos-25.05",
|
||||||
|
"repo": "nixpkgs",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"nixpkgs_2": {
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1785571196,
|
||||||
|
"narHash": "sha256-KoTsyMQqnXQZq8deCEnu4QkyldkwH/bpMMhUcfMdGIw=",
|
||||||
"owner": "nixos",
|
"owner": "nixos",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "08f22084e6085d19bcfb4be30d1ca76ecb96fe54",
|
"rev": "148bab9c1c3c53136ecb44a6ea356a0ed5b39b06",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -295,76 +183,47 @@
|
|||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"nur": {
|
"nixpkgs_3": {
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1784796856,
|
||||||
|
"narHash": "sha256-vwxWgF+Gj276WznzGb1LxGsK/39HaQwgQXiU3EkC844=",
|
||||||
|
"rev": "e2587caef70cea85dd97d7daab492899902dbf5d",
|
||||||
|
"type": "tarball",
|
||||||
|
"url": "https://releases.nixos.org/nixos/unstable/nixos-26.11pre1040357.e2587caef70c/nixexprs.tar.xz"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"type": "tarball",
|
||||||
|
"url": "https://channels.nixos.org/nixos-unstable/nixexprs.tar.xz"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"nvf": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"flake-parts": [
|
"flake-compat": "flake-compat",
|
||||||
"stylix",
|
"mnw": "mnw",
|
||||||
"flake-parts"
|
"nixpkgs": "nixpkgs_3"
|
||||||
],
|
|
||||||
"nixpkgs": [
|
|
||||||
"stylix",
|
|
||||||
"nixpkgs"
|
|
||||||
],
|
|
||||||
"treefmt-nix": "treefmt-nix"
|
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1748730660,
|
"lastModified": 1785632973,
|
||||||
"narHash": "sha256-5LKmRYKdPuhm8j5GFe3AfrJL8dd8o57BQ34AGjJl1R0=",
|
"narHash": "sha256-j4NzdhN4dgpvORbKdteIcw8M2WJyKrIgalBxT/CNk+c=",
|
||||||
"owner": "nix-community",
|
"owner": "notashelf",
|
||||||
"repo": "NUR",
|
"repo": "nvf",
|
||||||
"rev": "2c0bc52fe14681e9ef60e3553888c4f086e46ecb",
|
"rev": "c82d4e47cc1baab21d4954760db49941aaa39b49",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"owner": "nix-community",
|
"owner": "notashelf",
|
||||||
"repo": "NUR",
|
"repo": "nvf",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"root": {
|
"root": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"firefox-addons": "firefox-addons",
|
"agenix": "agenix",
|
||||||
"home-manager": "home-manager",
|
|
||||||
"nix-flatpak": "nix-flatpak",
|
|
||||||
"nixpkgs": "nixpkgs",
|
|
||||||
"stylix": "stylix"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"stylix": {
|
|
||||||
"inputs": {
|
|
||||||
"base16": "base16",
|
|
||||||
"base16-fish": "base16-fish",
|
|
||||||
"base16-helix": "base16-helix",
|
|
||||||
"base16-vim": "base16-vim",
|
|
||||||
"firefox-gnome-theme": "firefox-gnome-theme",
|
|
||||||
"flake-compat": "flake-compat",
|
|
||||||
"flake-parts": "flake-parts",
|
|
||||||
"git-hooks": "git-hooks",
|
|
||||||
"gnome-shell": "gnome-shell",
|
|
||||||
"home-manager": "home-manager_2",
|
"home-manager": "home-manager_2",
|
||||||
"nixpkgs": [
|
"nix-flatpak": "nix-flatpak",
|
||||||
"nixpkgs"
|
"nix-index-database": "nix-index-database",
|
||||||
],
|
"nixpkgs": "nixpkgs_2",
|
||||||
"nur": "nur",
|
"nvf": "nvf"
|
||||||
"systems": "systems",
|
|
||||||
"tinted-foot": "tinted-foot",
|
|
||||||
"tinted-kitty": "tinted-kitty",
|
|
||||||
"tinted-schemes": "tinted-schemes",
|
|
||||||
"tinted-tmux": "tinted-tmux",
|
|
||||||
"tinted-zed": "tinted-zed"
|
|
||||||
},
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1750688934,
|
|
||||||
"narHash": "sha256-nOWOzcB/U9QE8MZ5NV1eRwrsWnsqtcPA88v0SKwKmxA=",
|
|
||||||
"owner": "danth",
|
|
||||||
"repo": "stylix",
|
|
||||||
"rev": "67a6479c1aa95210a346a227743f074b82471432",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "danth",
|
|
||||||
"repo": "stylix",
|
|
||||||
"type": "github"
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"systems": {
|
"systems": {
|
||||||
@@ -381,109 +240,6 @@
|
|||||||
"repo": "default",
|
"repo": "default",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
|
||||||
"tinted-foot": {
|
|
||||||
"flake": false,
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1726913040,
|
|
||||||
"narHash": "sha256-+eDZPkw7efMNUf3/Pv0EmsidqdwNJ1TaOum6k7lngDQ=",
|
|
||||||
"owner": "tinted-theming",
|
|
||||||
"repo": "tinted-foot",
|
|
||||||
"rev": "fd1b924b6c45c3e4465e8a849e67ea82933fcbe4",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "tinted-theming",
|
|
||||||
"repo": "tinted-foot",
|
|
||||||
"rev": "fd1b924b6c45c3e4465e8a849e67ea82933fcbe4",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"tinted-kitty": {
|
|
||||||
"flake": false,
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1735730497,
|
|
||||||
"narHash": "sha256-4KtB+FiUzIeK/4aHCKce3V9HwRvYaxX+F1edUrfgzb8=",
|
|
||||||
"owner": "tinted-theming",
|
|
||||||
"repo": "tinted-kitty",
|
|
||||||
"rev": "de6f888497f2c6b2279361bfc790f164bfd0f3fa",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "tinted-theming",
|
|
||||||
"repo": "tinted-kitty",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"tinted-schemes": {
|
|
||||||
"flake": false,
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1748180480,
|
|
||||||
"narHash": "sha256-7n0XiZiEHl2zRhDwZd/g+p38xwEoWtT0/aESwTMXWG4=",
|
|
||||||
"owner": "tinted-theming",
|
|
||||||
"repo": "schemes",
|
|
||||||
"rev": "87d652edd26f5c0c99deda5ae13dfb8ece2ffe31",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "tinted-theming",
|
|
||||||
"repo": "schemes",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"tinted-tmux": {
|
|
||||||
"flake": false,
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1748740859,
|
|
||||||
"narHash": "sha256-OEM12bg7F4N5WjZOcV7FHJbqRI6jtCqL6u8FtPrlZz4=",
|
|
||||||
"owner": "tinted-theming",
|
|
||||||
"repo": "tinted-tmux",
|
|
||||||
"rev": "57d5f9683ff9a3b590643beeaf0364da819aedda",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "tinted-theming",
|
|
||||||
"repo": "tinted-tmux",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"tinted-zed": {
|
|
||||||
"flake": false,
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1725758778,
|
|
||||||
"narHash": "sha256-8P1b6mJWyYcu36WRlSVbuj575QWIFZALZMTg5ID/sM4=",
|
|
||||||
"owner": "tinted-theming",
|
|
||||||
"repo": "base16-zed",
|
|
||||||
"rev": "122c9e5c0e6f27211361a04fae92df97940eccf9",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "tinted-theming",
|
|
||||||
"repo": "base16-zed",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"treefmt-nix": {
|
|
||||||
"inputs": {
|
|
||||||
"nixpkgs": [
|
|
||||||
"stylix",
|
|
||||||
"nur",
|
|
||||||
"nixpkgs"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1733222881,
|
|
||||||
"narHash": "sha256-JIPcz1PrpXUCbaccEnrcUS8jjEb/1vJbZz5KkobyFdM=",
|
|
||||||
"owner": "numtide",
|
|
||||||
"repo": "treefmt-nix",
|
|
||||||
"rev": "49717b5af6f80172275d47a418c9719a31a78b53",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "numtide",
|
|
||||||
"repo": "treefmt-nix",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"root": "root",
|
"root": "root",
|
||||||
|
|||||||
@@ -8,35 +8,57 @@
|
|||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
};
|
};
|
||||||
|
|
||||||
firefox-addons = {
|
agenix.url = "github:ryantm/agenix";
|
||||||
url = "gitlab:rycee/nur-expressions?dir=pkgs/firefox-addons";
|
|
||||||
|
nix-index-database = {
|
||||||
|
url = "github:nix-community/nix-index-database";
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
};
|
};
|
||||||
|
|
||||||
nix-flatpak.url = "github:gmodena/nix-flatpak/?ref=latest";
|
nix-flatpak.url = "github:gmodena/nix-flatpak/?ref=latest";
|
||||||
|
|
||||||
stylix = {
|
nvf.url = "github:notashelf/nvf";
|
||||||
url = "github:danth/stylix";
|
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = { self, nixpkgs, nix-flatpak, ... } @ inputs:
|
outputs =
|
||||||
|
{
|
||||||
|
self,
|
||||||
|
nixpkgs,
|
||||||
|
agenix,
|
||||||
|
...
|
||||||
|
}@inputs:
|
||||||
let
|
let
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
|
overlays = builtins.attrValues (import ./overlays);
|
||||||
|
|
||||||
|
sharedModules = [
|
||||||
|
inputs.nix-flatpak.nixosModules.nix-flatpak
|
||||||
|
inputs.nvf.nixosModules.default
|
||||||
|
inputs.agenix.nixosModules.default
|
||||||
|
inputs.nix-index-database.nixosModules.default
|
||||||
|
];
|
||||||
|
|
||||||
|
mkHost =
|
||||||
|
hostConfig:
|
||||||
|
nixpkgs.lib.nixosSystem {
|
||||||
|
specialArgs = {
|
||||||
|
inherit
|
||||||
|
inputs
|
||||||
|
system
|
||||||
|
overlays
|
||||||
|
agenix
|
||||||
|
;
|
||||||
|
};
|
||||||
|
modules = [ hostConfig ] ++ sharedModules;
|
||||||
|
};
|
||||||
in
|
in
|
||||||
|
|
||||||
{
|
{
|
||||||
nixosConfigurations = {
|
nixosConfigurations = {
|
||||||
nixos = nixpkgs.lib.nixosSystem {
|
desktop1 = mkHost ./hosts/desktop1/configuration.nix;
|
||||||
specialArgs = { inherit inputs system; };
|
server1 = mkHost ./hosts/server1/configuration.nix;
|
||||||
modules = [
|
laptop1 = mkHost ./hosts/laptop1/configuration.nix;
|
||||||
./configuration.nix
|
laptop2 = mkHost ./hosts/laptop2/configuration.nix;
|
||||||
nix-flatpak.nixosModules.nix-flatpak
|
|
||||||
inputs.stylix.nixosModules.stylix
|
|
||||||
];
|
|
||||||
};
|
|
||||||
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -1,30 +0,0 @@
|
|||||||
{ config, lib, pkgs, modulesPath, ... }:
|
|
||||||
|
|
||||||
{
|
|
||||||
imports =
|
|
||||||
[ (modulesPath + "/installer/scan/not-detected.nix")
|
|
||||||
];
|
|
||||||
|
|
||||||
boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "nvme" "usb_storage" "usbhid" "sd_mod" ];
|
|
||||||
boot.initrd.kernelModules = [ ];
|
|
||||||
boot.kernelModules = [ "kvm-amd" ];
|
|
||||||
boot.extraModulePackages = [ ];
|
|
||||||
|
|
||||||
fileSystems."/" =
|
|
||||||
{ device = "/dev/disk/by-uuid/976bcf9c-3b56-4aa6-98f8-1c899af2b0f8";
|
|
||||||
fsType = "ext4";
|
|
||||||
};
|
|
||||||
|
|
||||||
fileSystems."/boot" =
|
|
||||||
{ device = "/dev/disk/by-uuid/8E7F-2417";
|
|
||||||
fsType = "vfat";
|
|
||||||
options = [ "fmask=0077" "dmask=0077" ];
|
|
||||||
};
|
|
||||||
|
|
||||||
swapDevices = [ ];
|
|
||||||
|
|
||||||
networking.useDHCP = lib.mkDefault true;
|
|
||||||
|
|
||||||
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
|
||||||
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
|
||||||
}
|
|
||||||
@@ -1,97 +0,0 @@
|
|||||||
{ config, pkgs, inputs, ... }:
|
|
||||||
|
|
||||||
{
|
|
||||||
imports =
|
|
||||||
[
|
|
||||||
./modules/home-manager/webapps.nix
|
|
||||||
];
|
|
||||||
|
|
||||||
home.username = "smayzy";
|
|
||||||
home.homeDirectory = "/home/smayzy";
|
|
||||||
home.stateVersion = "25.05";
|
|
||||||
|
|
||||||
home.packages = [
|
|
||||||
];
|
|
||||||
|
|
||||||
home.file = {
|
|
||||||
".config/fastfetch" = {
|
|
||||||
source = builtins.toPath ./dotfiles/fastfetch;
|
|
||||||
recursive = true;
|
|
||||||
force = true;
|
|
||||||
};
|
|
||||||
".config/kitty/kitty.conf" = {
|
|
||||||
source = builtins.toPath ./dotfiles/kitty.conf;
|
|
||||||
force = true;
|
|
||||||
};
|
|
||||||
".config/hypr" = {
|
|
||||||
source = builtins.toPath ./dotfiles/hypr-desk;
|
|
||||||
recursive = true;
|
|
||||||
force = true;
|
|
||||||
};
|
|
||||||
".config/mako/config" = {
|
|
||||||
source = builtins.toPath ./dotfiles/mako/config;
|
|
||||||
force = true;
|
|
||||||
};
|
|
||||||
".config/waybar" = {
|
|
||||||
source = builtins.toPath ./dotfiles/waybar-desk;
|
|
||||||
recursive = true;
|
|
||||||
force = true;
|
|
||||||
};
|
|
||||||
".config/wofi" = {
|
|
||||||
source = builtins.toPath ./dotfiles/wofi;
|
|
||||||
recursive = true;
|
|
||||||
force = true;
|
|
||||||
};
|
|
||||||
".config/wlogout" = {
|
|
||||||
source = builtins.toPath ./dotfiles/wlogout-desk;
|
|
||||||
recursive = true;
|
|
||||||
force = true;
|
|
||||||
};
|
|
||||||
"wallpaper" = {
|
|
||||||
source = builtins.toPath ./wallpapers;
|
|
||||||
recursive = true;
|
|
||||||
force = true;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
home.sessionVariables = {
|
|
||||||
EDITOR = "vim";
|
|
||||||
};
|
|
||||||
|
|
||||||
dconf.settings = {
|
|
||||||
"org/virt-manager/virt-manager/connections" = {
|
|
||||||
autoconnect = ["qemu:///system"];
|
|
||||||
uris = ["qemu:///system"];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
programs.zsh = {
|
|
||||||
enable = true;
|
|
||||||
enableCompletion = true;
|
|
||||||
autosuggestion.enable = true;
|
|
||||||
syntaxHighlighting.enable = true;
|
|
||||||
history.size = 100000;
|
|
||||||
shellAliases = {
|
|
||||||
config = "cd ~/nix-config";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
programs.neovim = {
|
|
||||||
enable = true;
|
|
||||||
viAlias = true;
|
|
||||||
vimAlias = true;
|
|
||||||
vimdiffAlias = true;
|
|
||||||
};
|
|
||||||
|
|
||||||
programs.git = {
|
|
||||||
enable = true;
|
|
||||||
userName = "smayzy";
|
|
||||||
userEmail = "smayzy@smayzy.ovh";
|
|
||||||
extraConfig = {
|
|
||||||
core.editor = "vim";
|
|
||||||
core.autocrlf = "input";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
programs.home-manager.enable = true;
|
|
||||||
}
|
|
||||||
@@ -0,0 +1,35 @@
|
|||||||
|
{
|
||||||
|
inputs,
|
||||||
|
pkgs,
|
||||||
|
overlays,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
{
|
||||||
|
|
||||||
|
imports = [
|
||||||
|
inputs.home-manager.nixosModules.home-manager
|
||||||
|
../../modules/nix/default.nix
|
||||||
|
];
|
||||||
|
|
||||||
|
nixpkgs.overlays = overlays;
|
||||||
|
|
||||||
|
boot.supportedFilesystems = [ "nfs" ];
|
||||||
|
|
||||||
|
users.users.smayzy = {
|
||||||
|
homeMode = "710";
|
||||||
|
isNormalUser = true;
|
||||||
|
description = "smayzy";
|
||||||
|
extraGroups = [
|
||||||
|
"networkmanager"
|
||||||
|
"wheel"
|
||||||
|
"wireshark"
|
||||||
|
"dialout"
|
||||||
|
"audio"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
|
environment.systemPackages = with pkgs; [
|
||||||
|
home-manager
|
||||||
|
];
|
||||||
|
|
||||||
|
}
|
||||||
@@ -0,0 +1,60 @@
|
|||||||
|
{ pkgs, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
imports = [
|
||||||
|
../../modules/home-manager/default.nix
|
||||||
|
];
|
||||||
|
|
||||||
|
home.username = "smayzy";
|
||||||
|
home.homeDirectory = "/home/smayzy";
|
||||||
|
home.stateVersion = "25.05";
|
||||||
|
|
||||||
|
home.packages = with pkgs; [
|
||||||
|
sl
|
||||||
|
];
|
||||||
|
|
||||||
|
home.sessionVariables = {
|
||||||
|
EDITOR = "vim";
|
||||||
|
MANPAGER = "nvim +Man!";
|
||||||
|
};
|
||||||
|
|
||||||
|
programs.zsh = {
|
||||||
|
enable = true;
|
||||||
|
enableCompletion = true;
|
||||||
|
autosuggestion.enable = true;
|
||||||
|
syntaxHighlighting.enable = true;
|
||||||
|
history.size = 100000;
|
||||||
|
shellAliases = {
|
||||||
|
grep = "grep --color=auto";
|
||||||
|
cp = "cp -r";
|
||||||
|
cd = "sl";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
programs.git = {
|
||||||
|
enable = true;
|
||||||
|
settings = {
|
||||||
|
core = {
|
||||||
|
autocrlf = "input";
|
||||||
|
editor = "vim";
|
||||||
|
};
|
||||||
|
credential = {
|
||||||
|
helper = "store";
|
||||||
|
};
|
||||||
|
pull = {
|
||||||
|
rebase = "true";
|
||||||
|
};
|
||||||
|
user = {
|
||||||
|
email = "smayzy@smayzy.ovh";
|
||||||
|
name = "smayzy";
|
||||||
|
};
|
||||||
|
init = {
|
||||||
|
defaultBranch = "main";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
programs.zoxide.enable = true;
|
||||||
|
|
||||||
|
programs.home-manager.enable = true;
|
||||||
|
}
|
||||||
@@ -0,0 +1,141 @@
|
|||||||
|
{ inputs, config, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
imports = [
|
||||||
|
../common/common.nix
|
||||||
|
./hardware-configuration.nix
|
||||||
|
];
|
||||||
|
|
||||||
|
networking.hostName = "desktop1";
|
||||||
|
|
||||||
|
networking.bridges.br0.interfaces = [ "enp4s0" ];
|
||||||
|
networking.interfaces.br0.ipv4.addresses = [
|
||||||
|
{
|
||||||
|
address = "192.168.1.146";
|
||||||
|
prefixLength = 24;
|
||||||
|
}
|
||||||
|
];
|
||||||
|
networking.defaultGateway = "192.168.1.254";
|
||||||
|
networking.nameservers = [
|
||||||
|
"192.168.1.202"
|
||||||
|
"192.168.1.137"
|
||||||
|
"192.168.1.49"
|
||||||
|
];
|
||||||
|
networking.useDHCP = false;
|
||||||
|
networking.enableIPv6 = false;
|
||||||
|
|
||||||
|
age.identityPaths = [ "/etc/ssh/ssh_host_ed25519_key" ];
|
||||||
|
|
||||||
|
fileSystems."/home/smayzy/Main" = {
|
||||||
|
device = "nfs-srv1.internal.smayzy.ovh:/srv/NFS/Main";
|
||||||
|
fsType = "nfs";
|
||||||
|
options = [
|
||||||
|
"x-systemd.automount"
|
||||||
|
"nofail"
|
||||||
|
"noauto"
|
||||||
|
"nfsvers=4"
|
||||||
|
"soft"
|
||||||
|
"timeo=50"
|
||||||
|
];
|
||||||
|
depends = [ "/home" ];
|
||||||
|
};
|
||||||
|
fileSystems."/home/smayzy/ISO" = {
|
||||||
|
device = "nfs-srv1.internal.smayzy.ovh:/srv/NFS/ISO";
|
||||||
|
fsType = "nfs";
|
||||||
|
options = [
|
||||||
|
"x-systemd.automount"
|
||||||
|
"nofail"
|
||||||
|
"noauto"
|
||||||
|
"nfsvers=4"
|
||||||
|
"soft"
|
||||||
|
"timeo=50"
|
||||||
|
];
|
||||||
|
depends = [ "/home" ];
|
||||||
|
};
|
||||||
|
fileSystems."/home/smayzy/Vault" = {
|
||||||
|
device = "nfs-srv1.internal.smayzy.ovh:/srv/NFS/Vault";
|
||||||
|
fsType = "nfs";
|
||||||
|
options = [
|
||||||
|
"x-systemd.automount"
|
||||||
|
"nofail"
|
||||||
|
"noauto"
|
||||||
|
"nfsvers=4"
|
||||||
|
"soft"
|
||||||
|
"timeo=50"
|
||||||
|
];
|
||||||
|
depends = [ "/home" ];
|
||||||
|
};
|
||||||
|
|
||||||
|
security.pam.loginLimits = [
|
||||||
|
{
|
||||||
|
domain = "@audio";
|
||||||
|
type = "-";
|
||||||
|
item = "memlock";
|
||||||
|
value = "unlimited";
|
||||||
|
}
|
||||||
|
];
|
||||||
|
|
||||||
|
smayzy = {
|
||||||
|
desktop.enable = true;
|
||||||
|
nvidia.enable = true;
|
||||||
|
virt.enable = true;
|
||||||
|
hyprland.enable = true;
|
||||||
|
kde.enable = true;
|
||||||
|
docker.enable = true;
|
||||||
|
steam.enable = true;
|
||||||
|
office.enable = true;
|
||||||
|
mullvad.enable = true;
|
||||||
|
alacritty.enable = true;
|
||||||
|
ardour.enable = true;
|
||||||
|
mail.enable = true;
|
||||||
|
supertuxkart.enable = true;
|
||||||
|
flatpak = {
|
||||||
|
enable = true;
|
||||||
|
media.enable = true;
|
||||||
|
dev.enable = true;
|
||||||
|
gaming.enable = true;
|
||||||
|
};
|
||||||
|
containers = {
|
||||||
|
nixos = {
|
||||||
|
};
|
||||||
|
docker = {
|
||||||
|
};
|
||||||
|
networking = {
|
||||||
|
bridge = "br0";
|
||||||
|
dns = [ "192.168.1.202" ];
|
||||||
|
gateway = "192.168.1.254";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
home-manager = {
|
||||||
|
extraSpecialArgs = {
|
||||||
|
inherit inputs;
|
||||||
|
smayzy = config.smayzy;
|
||||||
|
};
|
||||||
|
users = {
|
||||||
|
smayzy = import ./home.nix;
|
||||||
|
};
|
||||||
|
backupFileExtension = "backup";
|
||||||
|
};
|
||||||
|
|
||||||
|
system.stateVersion = "24.11";
|
||||||
|
|
||||||
|
boot.loader.grub.extraEntries = ''
|
||||||
|
menuentry "Arch" {
|
||||||
|
insmod part_gpt
|
||||||
|
insmod ext2
|
||||||
|
search --no-floppy --fs-uuid --set=root f64bf53c-c989-4e38-9a97-aaadcb36d428
|
||||||
|
linux /boot/vmlinuz-linux root=UUID=f64bf53c-c989-4e38-9a97-aaadcb36d428
|
||||||
|
initrd /boot/initramfs-linux.img
|
||||||
|
}
|
||||||
|
menuentry "Gentoo" {
|
||||||
|
insmod part_gpt
|
||||||
|
insmod ext2
|
||||||
|
search --no-floppy --fs-uuid --set=root ad8fa502-d3dc-4999-abce-17a09a9cb779
|
||||||
|
linux /boot/vmlinuz-6.12.47-gentoo-dist root=UUID=ad8fa502-d3dc-4999-abce-17a09a9cb779
|
||||||
|
initrd /boot/initramfs-6.12.47-gentoo-dist.img
|
||||||
|
}
|
||||||
|
'';
|
||||||
|
|
||||||
|
}
|
||||||
@@ -0,0 +1,64 @@
|
|||||||
|
# Do not modify this file! It was generated by ‘nixos-generate-config’
|
||||||
|
# and may be overwritten by future invocations. Please make changes
|
||||||
|
# to /etc/nixos/configuration.nix instead.
|
||||||
|
{
|
||||||
|
config,
|
||||||
|
lib,
|
||||||
|
pkgs,
|
||||||
|
modulesPath,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
|
||||||
|
{
|
||||||
|
imports = [
|
||||||
|
(modulesPath + "/installer/scan/not-detected.nix")
|
||||||
|
];
|
||||||
|
|
||||||
|
boot.kernelPackages = pkgs.linuxPackages_latest;
|
||||||
|
|
||||||
|
boot.initrd.availableKernelModules = [
|
||||||
|
"xhci_pci"
|
||||||
|
"ahci"
|
||||||
|
"nvme"
|
||||||
|
"usb_storage"
|
||||||
|
"usbhid"
|
||||||
|
"sd_mod"
|
||||||
|
];
|
||||||
|
boot.initrd.kernelModules = [ ];
|
||||||
|
boot.kernelModules = [ "kvm-amd" ];
|
||||||
|
boot.extraModulePackages = [ ];
|
||||||
|
|
||||||
|
fileSystems."/" = {
|
||||||
|
device = "/dev/disk/by-uuid/05e716ac-e6a2-407d-9941-5ad95db74698";
|
||||||
|
fsType = "ext4";
|
||||||
|
};
|
||||||
|
|
||||||
|
fileSystems."/boot" = {
|
||||||
|
device = "/dev/disk/by-uuid/A238-B4BF";
|
||||||
|
fsType = "vfat";
|
||||||
|
options = [
|
||||||
|
"fmask=0077"
|
||||||
|
"dmask=0077"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
|
fileSystems."/home" = {
|
||||||
|
device = "/dev/disk/by-uuid/e5e8d23d-b613-40c2-b190-ee8d40fbf2f1";
|
||||||
|
fsType = "ext4";
|
||||||
|
neededForBoot = true;
|
||||||
|
};
|
||||||
|
|
||||||
|
swapDevices = [
|
||||||
|
{ device = "/dev/disk/by-uuid/5113afb8-f391-4e0d-bffc-bc6168974ce9"; }
|
||||||
|
];
|
||||||
|
|
||||||
|
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
|
||||||
|
# (the default) this is the recommended approach. When using systemd-networkd it's
|
||||||
|
# still possible to use this option, but it's recommended to use it in conjunction
|
||||||
|
# with explicit per-interface declarations with `networking.interfaces.<interface>.useDHCP`.
|
||||||
|
networking.useDHCP = lib.mkDefault true;
|
||||||
|
# networking.interfaces.enp4s0.useDHCP = lib.mkDefault true;
|
||||||
|
|
||||||
|
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
||||||
|
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
||||||
|
}
|
||||||
@@ -0,0 +1,7 @@
|
|||||||
|
{ ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
imports = [
|
||||||
|
../common/home.nix
|
||||||
|
];
|
||||||
|
}
|
||||||
@@ -0,0 +1,30 @@
|
|||||||
|
{ inputs, config, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
imports = [
|
||||||
|
../common/common.nix
|
||||||
|
./hardware-configuration.nix
|
||||||
|
];
|
||||||
|
|
||||||
|
smayzy = {
|
||||||
|
laptop.enable = true;
|
||||||
|
hyprland.enable = true;
|
||||||
|
kde.enable = true;
|
||||||
|
grub-on-lap.enable = true;
|
||||||
|
};
|
||||||
|
|
||||||
|
home-manager = {
|
||||||
|
extraSpecialArgs = {
|
||||||
|
inherit inputs;
|
||||||
|
smayzy = config.smayzy;
|
||||||
|
};
|
||||||
|
users = {
|
||||||
|
smayzy = import ./home.nix;
|
||||||
|
};
|
||||||
|
backupFileExtension = "backup";
|
||||||
|
};
|
||||||
|
|
||||||
|
system.stateVersion = "24.11";
|
||||||
|
|
||||||
|
networking.hostName = "laptop1";
|
||||||
|
}
|
||||||
@@ -0,0 +1,57 @@
|
|||||||
|
# Do not modify this file! It was generated by ‘nixos-generate-config’
|
||||||
|
# and may be overwritten by future invocations. Please make changes
|
||||||
|
# to /etc/nixos/configuration.nix instead.
|
||||||
|
{
|
||||||
|
config,
|
||||||
|
lib,
|
||||||
|
pkgs,
|
||||||
|
modulesPath,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
|
||||||
|
{
|
||||||
|
imports = [
|
||||||
|
(modulesPath + "/installer/scan/not-detected.nix")
|
||||||
|
];
|
||||||
|
|
||||||
|
boot.kernelPackages = pkgs.linuxPackages_latest;
|
||||||
|
|
||||||
|
boot.initrd.availableKernelModules = [
|
||||||
|
"xhci_pci"
|
||||||
|
"nvme"
|
||||||
|
"usb_storage"
|
||||||
|
"sd_mod"
|
||||||
|
];
|
||||||
|
boot.initrd.kernelModules = [ ];
|
||||||
|
boot.kernelModules = [ "kvm-intel" ];
|
||||||
|
boot.extraModulePackages = [ ];
|
||||||
|
|
||||||
|
fileSystems."/" = {
|
||||||
|
device = "/dev/disk/by-uuid/fa4f1a61-338b-4f1e-9f6c-2b2f2cd12f38";
|
||||||
|
fsType = "ext4";
|
||||||
|
};
|
||||||
|
|
||||||
|
fileSystems."/boot" = {
|
||||||
|
device = "/dev/disk/by-uuid/8E15-A6E3";
|
||||||
|
fsType = "vfat";
|
||||||
|
options = [
|
||||||
|
"fmask=0077"
|
||||||
|
"dmask=0077"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
|
swapDevices = [
|
||||||
|
{ device = "/dev/disk/by-uuid/b451db56-e0a5-4799-88a1-34a31ffe3b08"; }
|
||||||
|
];
|
||||||
|
|
||||||
|
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
|
||||||
|
# (the default) this is the recommended approach. When using systemd-networkd it's
|
||||||
|
# still possible to use this option, but it's recommended to use it in conjunction
|
||||||
|
# with explicit per-interface declarations with `networking.interfaces.<interface>.useDHCP`.
|
||||||
|
networking.useDHCP = lib.mkDefault true;
|
||||||
|
# networking.interfaces.enp0s20f0u1.useDHCP = lib.mkDefault true;
|
||||||
|
# networking.interfaces.wlp0s20f3.useDHCP = lib.mkDefault true;
|
||||||
|
|
||||||
|
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
||||||
|
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
||||||
|
}
|
||||||
@@ -0,0 +1,7 @@
|
|||||||
|
{ ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
imports = [
|
||||||
|
../common/home.nix
|
||||||
|
];
|
||||||
|
}
|
||||||
@@ -0,0 +1,30 @@
|
|||||||
|
{ inputs, config, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
imports = [
|
||||||
|
../common/common.nix
|
||||||
|
./hardware-configuration.nix
|
||||||
|
];
|
||||||
|
|
||||||
|
smayzy = {
|
||||||
|
laptop.enable = true;
|
||||||
|
hyprland.enable = true;
|
||||||
|
kde.enable = true;
|
||||||
|
ardour.enable = true;
|
||||||
|
};
|
||||||
|
|
||||||
|
home-manager = {
|
||||||
|
extraSpecialArgs = {
|
||||||
|
inherit inputs;
|
||||||
|
smayzy = config.smayzy;
|
||||||
|
};
|
||||||
|
users = {
|
||||||
|
smayzy = import ./home.nix;
|
||||||
|
};
|
||||||
|
backupFileExtension = "backup";
|
||||||
|
};
|
||||||
|
|
||||||
|
system.stateVersion = "24.11";
|
||||||
|
|
||||||
|
networking.hostName = "laptop2";
|
||||||
|
}
|
||||||
@@ -0,0 +1,47 @@
|
|||||||
|
# Do not modify this file! It was generated by ‘nixos-generate-config’
|
||||||
|
# and may be overwritten by future invocations. Please make changes
|
||||||
|
# to /etc/nixos/configuration.nix instead.
|
||||||
|
{
|
||||||
|
config,
|
||||||
|
lib,
|
||||||
|
pkgs,
|
||||||
|
modulesPath,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
|
||||||
|
{
|
||||||
|
imports = [
|
||||||
|
(modulesPath + "/installer/scan/not-detected.nix")
|
||||||
|
];
|
||||||
|
|
||||||
|
boot.initrd.availableKernelModules = [
|
||||||
|
"xhci_pci"
|
||||||
|
"nvme"
|
||||||
|
"usb_storage"
|
||||||
|
"sd_mod"
|
||||||
|
];
|
||||||
|
boot.initrd.kernelModules = [ ];
|
||||||
|
boot.kernelModules = [ "kvm-intel" ];
|
||||||
|
boot.extraModulePackages = [ ];
|
||||||
|
|
||||||
|
fileSystems."/" = {
|
||||||
|
device = "/dev/disk/by-uuid/ceed0ac4-72b3-4050-b8a3-0b91aa845da0";
|
||||||
|
fsType = "ext4";
|
||||||
|
};
|
||||||
|
|
||||||
|
fileSystems."/boot" = {
|
||||||
|
device = "/dev/disk/by-uuid/65F0-BF7E";
|
||||||
|
fsType = "vfat";
|
||||||
|
options = [
|
||||||
|
"fmask=0077"
|
||||||
|
"dmask=0077"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
|
swapDevices = [
|
||||||
|
{ device = "/dev/disk/by-uuid/3567a75d-12cc-4c3e-a37d-9b99708cbfea"; }
|
||||||
|
];
|
||||||
|
|
||||||
|
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
||||||
|
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
||||||
|
}
|
||||||
@@ -0,0 +1,7 @@
|
|||||||
|
{ ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
imports = [
|
||||||
|
../common/home.nix
|
||||||
|
];
|
||||||
|
}
|
||||||
@@ -0,0 +1,67 @@
|
|||||||
|
{ inputs, config, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
imports = [
|
||||||
|
../common/common.nix
|
||||||
|
./hardware-configuration.nix
|
||||||
|
];
|
||||||
|
|
||||||
|
networking.hostName = "server1";
|
||||||
|
|
||||||
|
networking.bridges.br0.interfaces = [ "ens18" ];
|
||||||
|
networking.interfaces.br0.ipv4.addresses = [
|
||||||
|
{
|
||||||
|
address = "192.168.1.197";
|
||||||
|
prefixLength = 24;
|
||||||
|
}
|
||||||
|
];
|
||||||
|
networking.defaultGateway = "192.168.1.254";
|
||||||
|
networking.nameservers = [
|
||||||
|
"192.168.1.202"
|
||||||
|
"192.168.1.137"
|
||||||
|
"192.168.1.49"
|
||||||
|
];
|
||||||
|
|
||||||
|
age.identityPaths = [ "/etc/ssh/ssh_host_ed25519_key" ];
|
||||||
|
|
||||||
|
smayzy = {
|
||||||
|
server.enable = true;
|
||||||
|
containers = {
|
||||||
|
networking = {
|
||||||
|
bridge = "br0";
|
||||||
|
dns = [ "192.168.1.202" ];
|
||||||
|
gateway = "192.168.1.254";
|
||||||
|
};
|
||||||
|
nixos = {
|
||||||
|
unbound = {
|
||||||
|
enable = true;
|
||||||
|
ip = "192.168.1.202/24";
|
||||||
|
};
|
||||||
|
traefik = {
|
||||||
|
enable = true;
|
||||||
|
ip = "192.168.1.203/24";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
docker = {
|
||||||
|
cyberchef = {
|
||||||
|
enable = true;
|
||||||
|
port = 6900;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
home-manager = {
|
||||||
|
extraSpecialArgs = {
|
||||||
|
inherit inputs;
|
||||||
|
smayzy = config.smayzy;
|
||||||
|
};
|
||||||
|
users = {
|
||||||
|
smayzy = import ./home.nix;
|
||||||
|
};
|
||||||
|
backupFileExtension = "backup";
|
||||||
|
};
|
||||||
|
|
||||||
|
system.stateVersion = "24.11";
|
||||||
|
|
||||||
|
}
|
||||||
@@ -0,0 +1,54 @@
|
|||||||
|
# Do not modify this file! It was generated by ‘nixos-generate-config’
|
||||||
|
# and may be overwritten by future invocations. Please make changes
|
||||||
|
# to /etc/nixos/configuration.nix instead.
|
||||||
|
{
|
||||||
|
config,
|
||||||
|
lib,
|
||||||
|
pkgs,
|
||||||
|
modulesPath,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
|
||||||
|
{
|
||||||
|
imports = [
|
||||||
|
(modulesPath + "/profiles/qemu-guest.nix")
|
||||||
|
];
|
||||||
|
|
||||||
|
boot.initrd.availableKernelModules = [
|
||||||
|
"uhci_hcd"
|
||||||
|
"ehci_pci"
|
||||||
|
"ahci"
|
||||||
|
"virtio_pci"
|
||||||
|
"virtio_scsi"
|
||||||
|
"sd_mod"
|
||||||
|
"sr_mod"
|
||||||
|
];
|
||||||
|
boot.initrd.kernelModules = [ ];
|
||||||
|
boot.kernelModules = [ ];
|
||||||
|
boot.extraModulePackages = [ ];
|
||||||
|
|
||||||
|
fileSystems."/" = {
|
||||||
|
device = "/dev/disk/by-uuid/72df93fc-6794-42d1-b611-8660b32a9cfa";
|
||||||
|
fsType = "ext4";
|
||||||
|
};
|
||||||
|
|
||||||
|
fileSystems."/boot" = {
|
||||||
|
device = "/dev/disk/by-uuid/F5B8-A39C";
|
||||||
|
fsType = "vfat";
|
||||||
|
options = [
|
||||||
|
"fmask=0077"
|
||||||
|
"dmask=0077"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
|
swapDevices = [ ];
|
||||||
|
|
||||||
|
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
|
||||||
|
# (the default) this is the recommended approach. When using systemd-networkd it's
|
||||||
|
# still possible to use this option, but it's recommended to use it in conjunction
|
||||||
|
# with explicit per-interface declarations with `networking.interfaces.<interface>.useDHCP`.
|
||||||
|
networking.useDHCP = lib.mkDefault true;
|
||||||
|
# networking.interfaces.enp6s18.useDHCP = lib.mkDefault true;
|
||||||
|
|
||||||
|
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
||||||
|
}
|
||||||
@@ -0,0 +1,7 @@
|
|||||||
|
{ ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
imports = [
|
||||||
|
../common/home.nix
|
||||||
|
];
|
||||||
|
}
|
||||||
@@ -0,0 +1,7 @@
|
|||||||
|
{ ... }:
|
||||||
|
{
|
||||||
|
imports = [
|
||||||
|
./fastfetch.nix
|
||||||
|
./mail.nix
|
||||||
|
];
|
||||||
|
}
|
||||||
@@ -0,0 +1,15 @@
|
|||||||
|
{ lib, smayzy, ... }:
|
||||||
|
let
|
||||||
|
inherit (lib) mkIf;
|
||||||
|
in
|
||||||
|
{
|
||||||
|
config = mkIf smayzy.base-cli-pkgs.enable {
|
||||||
|
home.file = {
|
||||||
|
".config/fastfetch" = {
|
||||||
|
source = builtins.toPath ./fastfetch;
|
||||||
|
recursive = true;
|
||||||
|
force = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
|
Before Width: | Height: | Size: 1.9 MiB After Width: | Height: | Size: 1.9 MiB |
@@ -0,0 +1,29 @@
|
|||||||
|
{
|
||||||
|
lib,
|
||||||
|
smayzy,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
let
|
||||||
|
mkIf = lib.mkIf;
|
||||||
|
in
|
||||||
|
{
|
||||||
|
config = mkIf smayzy.mail.enable {
|
||||||
|
home.file = {
|
||||||
|
".config/neomutt" = {
|
||||||
|
source = builtins.toPath ../../../dotfiles/neomutt;
|
||||||
|
recursive = true;
|
||||||
|
force = true;
|
||||||
|
};
|
||||||
|
".config/isyncrc" = {
|
||||||
|
source = builtins.toPath ../../../dotfiles/isyncrc;
|
||||||
|
recursive = true;
|
||||||
|
force = true;
|
||||||
|
};
|
||||||
|
".config/msmtp" = {
|
||||||
|
source = builtins.toPath ../../../dotfiles/msmtp;
|
||||||
|
recursive = true;
|
||||||
|
force = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
@@ -0,0 +1,11 @@
|
|||||||
|
{ ... }:
|
||||||
|
{
|
||||||
|
imports = [
|
||||||
|
./cli
|
||||||
|
./lf
|
||||||
|
./notif
|
||||||
|
./terminal
|
||||||
|
./virt
|
||||||
|
./wm/hyprland.nix
|
||||||
|
];
|
||||||
|
}
|
||||||
@@ -1,41 +0,0 @@
|
|||||||
{ config, pkgs, inputs, ... }:
|
|
||||||
|
|
||||||
{
|
|
||||||
programs.firefox = {
|
|
||||||
enable = true;
|
|
||||||
profiles.smayzy = {
|
|
||||||
|
|
||||||
settings = {
|
|
||||||
"browser.bookmarks_restore_default_bookmarks" = false;
|
|
||||||
"browser.contentblocking.category" = "standard";
|
|
||||||
"sidebar.verticalTabs" = true;
|
|
||||||
"browser.startup.homepage" = "https://search.brave.com";
|
|
||||||
"ui.systemUsesDarkTheme" = "1";
|
|
||||||
"layout.css.prefers-color-scheme.content-override" = "2";
|
|
||||||
"general.autoScroll" = true;
|
|
||||||
"extensions.getAddons.showPane" = false;
|
|
||||||
"extensions.htmlaboutaddons.recommendations.enabled" = false;
|
|
||||||
"browser.newtabpage.activity-stream.showSponsored" = false;
|
|
||||||
"browser.newtabpage.activity-stream.showSponsoredTopSites" = false;
|
|
||||||
"browser.newtabpage.activity-stream.system.showSponsored" = false;
|
|
||||||
"browser.newtabpage.activity-stream.asrouter.userprefs.cfr.addons" = false;
|
|
||||||
"browser.newtabpage.activity-stream.asrouter.userprefs.cfr.features" = false;
|
|
||||||
"sidebar.main.tools" = "syncedtabs,history,bookmarks";
|
|
||||||
"datareporting.healthreport.uploadEnabled" = false;
|
|
||||||
"extensions.formautofill.addresses.enabled" = false;
|
|
||||||
"extensions.formautofill.creditCards.enabled" = false;
|
|
||||||
"app.shield.optoutstudies.enabled" = false;
|
|
||||||
"toolkit.telemetry.unified" = false;
|
|
||||||
"toolkit.telemetry.archive.enabled" = false;
|
|
||||||
"toolkit.telemetry.enabled" = false;
|
|
||||||
"signon.rememberSignons" = false;
|
|
||||||
};
|
|
||||||
|
|
||||||
extensions.packages = with inputs.firefox-addons.packages."x86_64-linux"; [
|
|
||||||
darkreader
|
|
||||||
ublock-origin
|
|
||||||
bitwarden
|
|
||||||
];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
||||||
@@ -0,0 +1,6 @@
|
|||||||
|
{ ... }:
|
||||||
|
{
|
||||||
|
imports = [
|
||||||
|
./lf.nix
|
||||||
|
];
|
||||||
|
}
|
||||||
@@ -0,0 +1,377 @@
|
|||||||
|
# vim:ft=conf
|
||||||
|
|
||||||
|
# These examples require Nerd Fonts or a compatible font to be used.
|
||||||
|
# See https://www.nerdfonts.com for more information.
|
||||||
|
|
||||||
|
# default values from lf (with matching order)
|
||||||
|
# ln l # LINK
|
||||||
|
# or l # ORPHAN
|
||||||
|
# tw t # STICKY_OTHER_WRITABLE
|
||||||
|
# ow d # OTHER_WRITABLE
|
||||||
|
# st t # STICKY
|
||||||
|
# di d # DIR
|
||||||
|
# pi p # FIFO
|
||||||
|
# so s # SOCK
|
||||||
|
# bd b # BLK
|
||||||
|
# cd c # CHR
|
||||||
|
# su u # SETUID
|
||||||
|
# sg g # SETGID
|
||||||
|
# ex x # EXEC
|
||||||
|
# fi - # FILE
|
||||||
|
|
||||||
|
# file types (with matching order)
|
||||||
|
ln # LINK
|
||||||
|
or # ORPHAN
|
||||||
|
tw t # STICKY_OTHER_WRITABLE
|
||||||
|
ow # OTHER_WRITABLE
|
||||||
|
st t # STICKY
|
||||||
|
di # DIR
|
||||||
|
pi p # FIFO
|
||||||
|
so s # SOCK
|
||||||
|
bd b # BLK
|
||||||
|
cd c # CHR
|
||||||
|
su u # SETUID
|
||||||
|
sg g # SETGID
|
||||||
|
ex # EXEC
|
||||||
|
fi # FILE
|
||||||
|
|
||||||
|
# disable some default filetype icons, let them choose icon by filename
|
||||||
|
# ln # LINK
|
||||||
|
# or # ORPHAN
|
||||||
|
# tw # STICKY_OTHER_WRITABLE
|
||||||
|
# ow # OTHER_WRITABLE
|
||||||
|
# st # STICKY
|
||||||
|
# di # DIR
|
||||||
|
# pi # FIFO
|
||||||
|
# so # SOCK
|
||||||
|
# bd # BLK
|
||||||
|
# cd # CHR
|
||||||
|
# su # SETUID
|
||||||
|
# sg # SETGID
|
||||||
|
# ex # EXEC
|
||||||
|
# fi # FILE
|
||||||
|
|
||||||
|
# file extensions (vim-devicons)
|
||||||
|
*.styl
|
||||||
|
*.sass
|
||||||
|
*.scss
|
||||||
|
*.htm
|
||||||
|
*.html
|
||||||
|
*.slim
|
||||||
|
*.haml
|
||||||
|
*.ejs
|
||||||
|
*.css
|
||||||
|
*.less
|
||||||
|
*.md
|
||||||
|
*.mdx
|
||||||
|
*.markdown
|
||||||
|
*.rmd
|
||||||
|
*.json
|
||||||
|
*.webmanifest
|
||||||
|
*.js
|
||||||
|
*.mjs
|
||||||
|
*.jsx
|
||||||
|
*.rb
|
||||||
|
*.gemspec
|
||||||
|
*.rake
|
||||||
|
*.php
|
||||||
|
*.py
|
||||||
|
*.pyc
|
||||||
|
*.pyo
|
||||||
|
*.pyd
|
||||||
|
*.coffee
|
||||||
|
*.mustache
|
||||||
|
*.hbs
|
||||||
|
*.conf
|
||||||
|
*.ini
|
||||||
|
*.yml
|
||||||
|
*.yaml
|
||||||
|
*.toml
|
||||||
|
*.bat
|
||||||
|
*.mk
|
||||||
|
*.jpg
|
||||||
|
*.jpeg
|
||||||
|
*.bmp
|
||||||
|
*.png
|
||||||
|
*.webp
|
||||||
|
*.gif
|
||||||
|
*.ico
|
||||||
|
*.twig
|
||||||
|
*.cpp
|
||||||
|
*.c++
|
||||||
|
*.cxx
|
||||||
|
*.cc
|
||||||
|
*.cp
|
||||||
|
*.c
|
||||||
|
*.cs
|
||||||
|
*.h
|
||||||
|
*.hh
|
||||||
|
*.hpp
|
||||||
|
*.hxx
|
||||||
|
*.hs
|
||||||
|
*.lhs
|
||||||
|
*.nix
|
||||||
|
*.lua
|
||||||
|
*.java
|
||||||
|
*.sh
|
||||||
|
*.fish
|
||||||
|
*.bash
|
||||||
|
*.zsh
|
||||||
|
*.ksh
|
||||||
|
*.csh
|
||||||
|
*.awk
|
||||||
|
*.ps1
|
||||||
|
*.ml λ
|
||||||
|
*.mli λ
|
||||||
|
*.diff
|
||||||
|
*.db
|
||||||
|
*.sql
|
||||||
|
*.dump
|
||||||
|
*.clj
|
||||||
|
*.cljc
|
||||||
|
*.cljs
|
||||||
|
*.edn
|
||||||
|
*.scala
|
||||||
|
*.go
|
||||||
|
*.dart
|
||||||
|
*.xul
|
||||||
|
*.sln
|
||||||
|
*.suo
|
||||||
|
*.pl
|
||||||
|
*.pm
|
||||||
|
*.t
|
||||||
|
*.rss
|
||||||
|
'*.f#'
|
||||||
|
*.fsscript
|
||||||
|
*.fsx
|
||||||
|
*.fs
|
||||||
|
*.fsi
|
||||||
|
*.rs
|
||||||
|
*.rlib
|
||||||
|
*.d
|
||||||
|
*.erl
|
||||||
|
*.hrl
|
||||||
|
*.ex
|
||||||
|
*.exs
|
||||||
|
*.eex
|
||||||
|
*.leex
|
||||||
|
*.heex
|
||||||
|
*.vim
|
||||||
|
*.ai
|
||||||
|
*.psd
|
||||||
|
*.psb
|
||||||
|
*.ts
|
||||||
|
*.tsx
|
||||||
|
*.jl
|
||||||
|
*.pp
|
||||||
|
*.vue
|
||||||
|
*.elm
|
||||||
|
*.swift
|
||||||
|
*.xcplayground
|
||||||
|
*.tex
|
||||||
|
*.r
|
||||||
|
*.rproj
|
||||||
|
*.sol
|
||||||
|
*.pem
|
||||||
|
|
||||||
|
# file names (vim-devicons) (case-insensitive not supported in lf)
|
||||||
|
*gruntfile.coffee
|
||||||
|
*gruntfile.js
|
||||||
|
*gruntfile.ls
|
||||||
|
*gulpfile.coffee
|
||||||
|
*gulpfile.js
|
||||||
|
*gulpfile.ls
|
||||||
|
*mix.lock
|
||||||
|
*dropbox
|
||||||
|
*.ds_store
|
||||||
|
*.gitconfig
|
||||||
|
*.gitignore
|
||||||
|
*.gitattributes
|
||||||
|
*.gitlab-ci.yml
|
||||||
|
*.bashrc
|
||||||
|
*.zshrc
|
||||||
|
*.zshenv
|
||||||
|
*.zprofile
|
||||||
|
*.vimrc
|
||||||
|
*.gvimrc
|
||||||
|
*_vimrc
|
||||||
|
*_gvimrc
|
||||||
|
*.bashprofile
|
||||||
|
*favicon.ico
|
||||||
|
*license
|
||||||
|
*node_modules
|
||||||
|
*react.jsx
|
||||||
|
*procfile
|
||||||
|
*dockerfile
|
||||||
|
*docker-compose.yml
|
||||||
|
*docker-compose.yaml
|
||||||
|
*compose.yml
|
||||||
|
*compose.yaml
|
||||||
|
*rakefile
|
||||||
|
*config.ru
|
||||||
|
*gemfile
|
||||||
|
*makefile
|
||||||
|
*cmakelists.txt
|
||||||
|
*robots.txt
|
||||||
|
|
||||||
|
# file names (case-sensitive adaptations)
|
||||||
|
*Gruntfile.coffee
|
||||||
|
*Gruntfile.js
|
||||||
|
*Gruntfile.ls
|
||||||
|
*Gulpfile.coffee
|
||||||
|
*Gulpfile.js
|
||||||
|
*Gulpfile.ls
|
||||||
|
*Dropbox
|
||||||
|
*.DS_Store
|
||||||
|
*LICENSE
|
||||||
|
*React.jsx
|
||||||
|
*Procfile
|
||||||
|
*Dockerfile
|
||||||
|
*Docker-compose.yml
|
||||||
|
*Docker-compose.yaml
|
||||||
|
*Rakefile
|
||||||
|
*Gemfile
|
||||||
|
*Makefile
|
||||||
|
*CMakeLists.txt
|
||||||
|
|
||||||
|
# file patterns (vim-devicons) (patterns not supported in lf)
|
||||||
|
# .*jquery.*\.js$
|
||||||
|
# .*angular.*\.js$
|
||||||
|
# .*backbone.*\.js$
|
||||||
|
# .*require.*\.js$
|
||||||
|
# .*materialize.*\.js$
|
||||||
|
# .*materialize.*\.css$
|
||||||
|
# .*mootools.*\.js$
|
||||||
|
# .*vimrc.*
|
||||||
|
# Vagrantfile$
|
||||||
|
|
||||||
|
# file patterns (file name adaptations)
|
||||||
|
*jquery.min.js
|
||||||
|
*angular.min.js
|
||||||
|
*backbone.min.js
|
||||||
|
*require.min.js
|
||||||
|
*materialize.min.js
|
||||||
|
*materialize.min.css
|
||||||
|
*mootools.min.js
|
||||||
|
*vimrc
|
||||||
|
Vagrantfile
|
||||||
|
|
||||||
|
# archives or compressed (extensions from dircolors defaults)
|
||||||
|
*.tar
|
||||||
|
*.tgz
|
||||||
|
*.arc
|
||||||
|
*.arj
|
||||||
|
*.taz
|
||||||
|
*.lha
|
||||||
|
*.lz4
|
||||||
|
*.lzh
|
||||||
|
*.lzma
|
||||||
|
*.tlz
|
||||||
|
*.txz
|
||||||
|
*.tzo
|
||||||
|
*.t7z
|
||||||
|
*.zip
|
||||||
|
*.z
|
||||||
|
*.dz
|
||||||
|
*.gz
|
||||||
|
*.lrz
|
||||||
|
*.lz
|
||||||
|
*.lzo
|
||||||
|
*.xz
|
||||||
|
*.zst
|
||||||
|
*.tzst
|
||||||
|
*.bz2
|
||||||
|
*.bz
|
||||||
|
*.tbz
|
||||||
|
*.tbz2
|
||||||
|
*.tz
|
||||||
|
*.deb
|
||||||
|
*.rpm
|
||||||
|
*.jar
|
||||||
|
*.war
|
||||||
|
*.ear
|
||||||
|
*.sar
|
||||||
|
*.rar
|
||||||
|
*.alz
|
||||||
|
*.ace
|
||||||
|
*.zoo
|
||||||
|
*.cpio
|
||||||
|
*.7z
|
||||||
|
*.rz
|
||||||
|
*.cab
|
||||||
|
*.wim
|
||||||
|
*.swm
|
||||||
|
*.dwm
|
||||||
|
*.esd
|
||||||
|
|
||||||
|
# image formats (extensions from dircolors defaults)
|
||||||
|
*.jpg
|
||||||
|
*.jpeg
|
||||||
|
*.mjpg
|
||||||
|
*.mjpeg
|
||||||
|
*.gif
|
||||||
|
*.bmp
|
||||||
|
*.pbm
|
||||||
|
*.pgm
|
||||||
|
*.ppm
|
||||||
|
*.tga
|
||||||
|
*.xbm
|
||||||
|
*.xpm
|
||||||
|
*.tif
|
||||||
|
*.tiff
|
||||||
|
*.png
|
||||||
|
*.svg
|
||||||
|
*.svgz
|
||||||
|
*.mng
|
||||||
|
*.pcx
|
||||||
|
*.mov
|
||||||
|
*.mpg
|
||||||
|
*.mpeg
|
||||||
|
*.m2v
|
||||||
|
*.mkv
|
||||||
|
*.webm
|
||||||
|
*.ogm
|
||||||
|
*.mp4
|
||||||
|
*.m4v
|
||||||
|
*.mp4v
|
||||||
|
*.vob
|
||||||
|
*.qt
|
||||||
|
*.nuv
|
||||||
|
*.wmv
|
||||||
|
*.asf
|
||||||
|
*.rm
|
||||||
|
*.rmvb
|
||||||
|
*.flc
|
||||||
|
*.avi
|
||||||
|
*.fli
|
||||||
|
*.flv
|
||||||
|
*.gl
|
||||||
|
*.dl
|
||||||
|
*.xcf
|
||||||
|
*.xwd
|
||||||
|
*.yuv
|
||||||
|
*.cgm
|
||||||
|
*.emf
|
||||||
|
*.ogv
|
||||||
|
*.ogx
|
||||||
|
|
||||||
|
# audio formats (extensions from dircolors defaults)
|
||||||
|
*.aac
|
||||||
|
*.au
|
||||||
|
*.flac
|
||||||
|
*.m4a
|
||||||
|
*.mid
|
||||||
|
*.midi
|
||||||
|
*.mka
|
||||||
|
*.mp3
|
||||||
|
*.mpc
|
||||||
|
*.ogg
|
||||||
|
*.ra
|
||||||
|
*.wav
|
||||||
|
*.oga
|
||||||
|
*.opus
|
||||||
|
*.spx
|
||||||
|
*.xspf
|
||||||
|
|
||||||
|
# other formats
|
||||||
|
*.pdf
|
||||||
@@ -0,0 +1,83 @@
|
|||||||
|
{
|
||||||
|
pkgs,
|
||||||
|
lib,
|
||||||
|
smayzy,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
let
|
||||||
|
inherit (lib) mkIf;
|
||||||
|
in
|
||||||
|
{
|
||||||
|
config = mkIf smayzy.base-cli-pkgs.enable {
|
||||||
|
xdg.configFile."lf/icons".source = ./icons;
|
||||||
|
|
||||||
|
programs.lf = {
|
||||||
|
enable = true;
|
||||||
|
commands = {
|
||||||
|
dragon-out = ''%${pkgs.dragon-drop}/bin/xdragon -a -x "$fx"'';
|
||||||
|
editor-open = "$$EDITOR $f";
|
||||||
|
mkdir = ''
|
||||||
|
''${{
|
||||||
|
printf "Directory Name: "
|
||||||
|
read DIR
|
||||||
|
mkdir $DIR
|
||||||
|
}}
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
|
||||||
|
keybindings = {
|
||||||
|
|
||||||
|
"\\\"" = "";
|
||||||
|
o = "";
|
||||||
|
c = "mkdir";
|
||||||
|
"." = "set hidden!";
|
||||||
|
"`" = "mark-load";
|
||||||
|
"\\'" = "mark-load";
|
||||||
|
"<enter>" = "open";
|
||||||
|
|
||||||
|
do = "dragon-out";
|
||||||
|
|
||||||
|
"g~" = "cd";
|
||||||
|
gh = "cd";
|
||||||
|
"g/" = "/";
|
||||||
|
|
||||||
|
ee = "editor-open";
|
||||||
|
V = ''$${pkgs.bat}/bin/bat --paging=always --theme=gruvbox "$f"'';
|
||||||
|
|
||||||
|
};
|
||||||
|
|
||||||
|
settings = {
|
||||||
|
preview = true;
|
||||||
|
hidden = true;
|
||||||
|
drawbox = true;
|
||||||
|
icons = true;
|
||||||
|
ignorecase = true;
|
||||||
|
};
|
||||||
|
|
||||||
|
extraConfig =
|
||||||
|
let
|
||||||
|
previewer = pkgs.writeShellScriptBin "pv.sh" ''
|
||||||
|
file=$1
|
||||||
|
w=$2
|
||||||
|
h=$3
|
||||||
|
x=$4
|
||||||
|
y=$5
|
||||||
|
|
||||||
|
if [[ "$( ${pkgs.file}/bin/file -Lb --mime-type "$file")" =~ ^image ]]; then
|
||||||
|
${pkgs.kitty}/bin/kitty +kitten icat --silent --stdin no --transfer-mode file --place "''${w}x''${h}@''${x}x''${y}" "$file" < /dev/null > /dev/tty
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
${pkgs.pistol}/bin/pistol "$file"
|
||||||
|
'';
|
||||||
|
cleaner = pkgs.writeShellScriptBin "clean.sh" ''
|
||||||
|
${pkgs.kitty}/bin/kitty +kitten icat --clear --stdin no --silent --transfer-mode file < /dev/null > /dev/tty
|
||||||
|
'';
|
||||||
|
in
|
||||||
|
''
|
||||||
|
set cleaner ${cleaner}/bin/clean.sh
|
||||||
|
set previewer ${previewer}/bin/pv.sh
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
@@ -0,0 +1,6 @@
|
|||||||
|
{ ... }:
|
||||||
|
{
|
||||||
|
imports = [
|
||||||
|
./mako.nix
|
||||||
|
];
|
||||||
|
}
|
||||||
@@ -0,0 +1,18 @@
|
|||||||
|
{ lib, smayzy, ... }:
|
||||||
|
let
|
||||||
|
inherit (lib) mkIf;
|
||||||
|
in
|
||||||
|
{
|
||||||
|
config = mkIf smayzy.hyprland.enable {
|
||||||
|
services.mako = {
|
||||||
|
enable = true;
|
||||||
|
settings = {
|
||||||
|
font = "JetBrainsMono 10";
|
||||||
|
background-color = "#282828";
|
||||||
|
text-color = "#ebdbb2";
|
||||||
|
border-color = "#98971a";
|
||||||
|
border-size = 2;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
@@ -0,0 +1,46 @@
|
|||||||
|
{ smayzy, lib, ... }:
|
||||||
|
let
|
||||||
|
inherit (lib) mkIf mkOption types;
|
||||||
|
in
|
||||||
|
{
|
||||||
|
options.smayzy.alacritty.enable = mkOption {
|
||||||
|
type = types.bool;
|
||||||
|
default = false;
|
||||||
|
description = "alacritty config";
|
||||||
|
};
|
||||||
|
|
||||||
|
config = mkIf smayzy.alacritty.enable {
|
||||||
|
programs.alacritty = {
|
||||||
|
enable = true;
|
||||||
|
settings = {
|
||||||
|
window = {
|
||||||
|
padding = {
|
||||||
|
x = 5;
|
||||||
|
y = 5;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
font = {
|
||||||
|
normal = {
|
||||||
|
family = "JetBrainsMono Nerd Font";
|
||||||
|
style = "Medium";
|
||||||
|
};
|
||||||
|
bold = {
|
||||||
|
family = "JetBrainsMono Nerd Font";
|
||||||
|
style = "Bold";
|
||||||
|
};
|
||||||
|
italic = {
|
||||||
|
family = "JetBrainsMono Nerd Font";
|
||||||
|
style = "MediumItalic";
|
||||||
|
};
|
||||||
|
bold_italic = {
|
||||||
|
family = "JetBrainsMono Nerd Font";
|
||||||
|
style = "BoldItalic";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
cursor = {
|
||||||
|
style = "Underline";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
@@ -0,0 +1,7 @@
|
|||||||
|
{ ... }:
|
||||||
|
{
|
||||||
|
imports = [
|
||||||
|
./alacritty.nix
|
||||||
|
./kitty.nix
|
||||||
|
];
|
||||||
|
}
|
||||||
@@ -0,0 +1,27 @@
|
|||||||
|
{ smayzy, lib, ... }:
|
||||||
|
let
|
||||||
|
inherit (lib) mkIf;
|
||||||
|
in
|
||||||
|
{
|
||||||
|
config = mkIf smayzy.kitty.enable {
|
||||||
|
programs.kitty = {
|
||||||
|
enable = true;
|
||||||
|
settings = {
|
||||||
|
cursor = "#c7c7c7";
|
||||||
|
cursor_trail = 3;
|
||||||
|
cursor_text_color = "#feffff";
|
||||||
|
selection_foreground = "#3e3e3e";
|
||||||
|
selection_background = "#c1ddff";
|
||||||
|
foreground = "#c8c8c8";
|
||||||
|
background = "#323232";
|
||||||
|
background_opacity = 0.8;
|
||||||
|
confirm_os_window_close = 0;
|
||||||
|
font_family = "JetBrainsMono Nerd Font";
|
||||||
|
bold_font = "JetBrainsMono Nerd Font Bold";
|
||||||
|
italic_font = "JetBrainsMono Nerd Font Italic";
|
||||||
|
bold_italic_font = "JetBrainsMono Nerd Font Bold Italic";
|
||||||
|
font_size = 10.0;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
@@ -0,0 +1,6 @@
|
|||||||
|
{ ... }:
|
||||||
|
{
|
||||||
|
imports = [
|
||||||
|
./qemu.nix
|
||||||
|
];
|
||||||
|
}
|
||||||
@@ -0,0 +1,14 @@
|
|||||||
|
{ lib, smayzy, ... }:
|
||||||
|
let
|
||||||
|
inherit (lib) mkIf;
|
||||||
|
in
|
||||||
|
{
|
||||||
|
config = mkIf smayzy.virt.enable {
|
||||||
|
dconf.settings = {
|
||||||
|
"org/virt-manager/virt-manager/connections" = {
|
||||||
|
autoconnect = [ "qemu:///system" ];
|
||||||
|
uris = [ "qemu:///system" ];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
{ lib, pkgs, inputs, ... }:
|
|
||||||
let
|
|
||||||
browser = lib.getExe pkgs.firefox;
|
|
||||||
in
|
|
||||||
{
|
|
||||||
xdg.desktopEntries.jellyfin = {
|
|
||||||
name = "Jellyfin";
|
|
||||||
exec = "${browser} --no-remote -P jellyfin --new-window --kiosk https://jellyfin.smayzy.ovh";
|
|
||||||
};
|
|
||||||
}
|
|
||||||
@@ -0,0 +1,6 @@
|
|||||||
|
{ ... }:
|
||||||
|
{
|
||||||
|
imports = [
|
||||||
|
./hyprland.nix
|
||||||
|
];
|
||||||
|
}
|
||||||
@@ -0,0 +1,77 @@
|
|||||||
|
{
|
||||||
|
lib,
|
||||||
|
pkgs,
|
||||||
|
smayzy,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
let
|
||||||
|
mkIf = lib.mkIf;
|
||||||
|
in
|
||||||
|
{
|
||||||
|
config = mkIf smayzy.hyprland.enable {
|
||||||
|
|
||||||
|
home.file = lib.mkMerge [
|
||||||
|
{
|
||||||
|
".config/wofi" = {
|
||||||
|
source = builtins.toPath ../../../dotfiles/wofi;
|
||||||
|
recursive = true;
|
||||||
|
force = true;
|
||||||
|
};
|
||||||
|
"wallpaper" = {
|
||||||
|
source = builtins.toPath ../../../wallpapers;
|
||||||
|
recursive = true;
|
||||||
|
force = true;
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
||||||
|
(mkIf smayzy.desktop.enable {
|
||||||
|
".config/hypr" = {
|
||||||
|
source = builtins.toPath ../../../dotfiles/hypr-desk;
|
||||||
|
recursive = true;
|
||||||
|
force = true;
|
||||||
|
};
|
||||||
|
".config/waybar" = {
|
||||||
|
source = builtins.toPath ../../../dotfiles/waybar-desk;
|
||||||
|
recursive = true;
|
||||||
|
force = true;
|
||||||
|
};
|
||||||
|
".config/wlogout" = {
|
||||||
|
source = builtins.toPath ../../../dotfiles/wlogout-desk;
|
||||||
|
recursive = true;
|
||||||
|
force = true;
|
||||||
|
};
|
||||||
|
})
|
||||||
|
|
||||||
|
(mkIf smayzy.laptop.enable {
|
||||||
|
".config/hypr" = {
|
||||||
|
source = builtins.toPath ../../../dotfiles/hypr-lap;
|
||||||
|
recursive = true;
|
||||||
|
force = true;
|
||||||
|
};
|
||||||
|
".config/waybar" = {
|
||||||
|
source = builtins.toPath ../../../dotfiles/waybar-lap;
|
||||||
|
recursive = true;
|
||||||
|
force = true;
|
||||||
|
};
|
||||||
|
".config/wlogout" = {
|
||||||
|
source = builtins.toPath ../../../dotfiles/wlogout-lap;
|
||||||
|
recursive = true;
|
||||||
|
force = true;
|
||||||
|
};
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
|
systemd.user.services.hypr-wallpaper = {
|
||||||
|
Unit = {
|
||||||
|
Description = "Wallpaper auto-changer";
|
||||||
|
};
|
||||||
|
|
||||||
|
Service = {
|
||||||
|
ExecStart = "${pkgs.bash}/bin/bash /home/smayzy/.config/hypr/wallpaper.sh";
|
||||||
|
Restart = "always";
|
||||||
|
RestartSec = 10;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
@@ -0,0 +1,30 @@
|
|||||||
|
{
|
||||||
|
lib,
|
||||||
|
config,
|
||||||
|
pkgs,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
let
|
||||||
|
inherit (lib) mkIf mkOption types;
|
||||||
|
in
|
||||||
|
{
|
||||||
|
options.smayzy.ardour.enable = mkOption {
|
||||||
|
type = types.bool;
|
||||||
|
default = false;
|
||||||
|
description = "ardour suite";
|
||||||
|
};
|
||||||
|
|
||||||
|
config = mkIf config.smayzy.ardour.enable {
|
||||||
|
environment.systemPackages = with pkgs; [
|
||||||
|
ardour
|
||||||
|
guitarix
|
||||||
|
tuxguitar
|
||||||
|
caps
|
||||||
|
lsp-plugins
|
||||||
|
calf
|
||||||
|
dragonfly-reverb
|
||||||
|
tap-plugins
|
||||||
|
hydrogen
|
||||||
|
];
|
||||||
|
};
|
||||||
|
}
|
||||||
@@ -0,0 +1,7 @@
|
|||||||
|
{ ... }:
|
||||||
|
{
|
||||||
|
imports = [
|
||||||
|
./pipewire.nix
|
||||||
|
./ardour.nix
|
||||||
|
];
|
||||||
|
}
|
||||||
@@ -0,0 +1,32 @@
|
|||||||
|
{ config, lib, pkgs, ... }:
|
||||||
|
let
|
||||||
|
inherit (lib) mkIf mkOption types;
|
||||||
|
in
|
||||||
|
{
|
||||||
|
options.smayzy.audio.enable = mkOption {
|
||||||
|
type = types.bool;
|
||||||
|
default = false;
|
||||||
|
description = "audio settings";
|
||||||
|
};
|
||||||
|
|
||||||
|
config = mkIf config.smayzy.audio.enable {
|
||||||
|
services.pulseaudio.enable = false;
|
||||||
|
security.rtkit.enable = true;
|
||||||
|
services.pipewire = {
|
||||||
|
enable = true;
|
||||||
|
alsa.enable = true;
|
||||||
|
alsa.support32Bit = true;
|
||||||
|
pulse.enable = true;
|
||||||
|
jack.enable = true;
|
||||||
|
extraConfig.pipewire."92-low-latency" = {
|
||||||
|
"context.properties" = {
|
||||||
|
"default.clock.rate" = 48000;
|
||||||
|
"default.clock.quantum" = 128;
|
||||||
|
"default.clock.min-quantum" = 128;
|
||||||
|
"default.clock.max-quantum" = 128;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
environment.systemPackages = with pkgs; [ pulseaudioFull ];
|
||||||
|
};
|
||||||
|
}
|
||||||
@@ -0,0 +1,9 @@
|
|||||||
|
{ ... }:
|
||||||
|
{
|
||||||
|
imports = [
|
||||||
|
./fzf.nix
|
||||||
|
./nh.nix
|
||||||
|
./nvf.nix
|
||||||
|
./pkgs.nix
|
||||||
|
];
|
||||||
|
}
|
||||||
@@ -0,0 +1,23 @@
|
|||||||
|
{
|
||||||
|
config,
|
||||||
|
lib,
|
||||||
|
pkgs,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
let
|
||||||
|
inherit (lib) mkIf mkOption types;
|
||||||
|
in
|
||||||
|
{
|
||||||
|
options.smayzy.fzf.enable = mkOption {
|
||||||
|
type = types.bool;
|
||||||
|
default = false;
|
||||||
|
description = "use fzf";
|
||||||
|
};
|
||||||
|
|
||||||
|
config = mkIf config.smayzy.fzf.enable {
|
||||||
|
environment.systemPackages = with pkgs; [
|
||||||
|
fzf
|
||||||
|
];
|
||||||
|
programs.fzf.keybindings = true;
|
||||||
|
};
|
||||||
|
}
|
||||||
@@ -0,0 +1,23 @@
|
|||||||
|
{ config, lib, ... }:
|
||||||
|
let
|
||||||
|
inherit (lib) mkIf mkOption types;
|
||||||
|
in
|
||||||
|
{
|
||||||
|
options.smayzy.nh.enable = mkOption {
|
||||||
|
type = types.bool;
|
||||||
|
default = false;
|
||||||
|
description = "use nh";
|
||||||
|
};
|
||||||
|
|
||||||
|
config = mkIf config.smayzy.nh.enable {
|
||||||
|
programs.nh = {
|
||||||
|
enable = true;
|
||||||
|
clean = {
|
||||||
|
enable = true;
|
||||||
|
extraArgs = "--keep 10";
|
||||||
|
dates = "hourly";
|
||||||
|
};
|
||||||
|
flake = "/home/smayzy/nix-config";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
@@ -0,0 +1,54 @@
|
|||||||
|
{
|
||||||
|
config,
|
||||||
|
lib,
|
||||||
|
pkgs,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
let
|
||||||
|
inherit (lib) mkIf mkOption types;
|
||||||
|
in
|
||||||
|
{
|
||||||
|
options.smayzy.nvf.enable = mkOption {
|
||||||
|
type = types.bool;
|
||||||
|
default = false;
|
||||||
|
description = "nvf config";
|
||||||
|
};
|
||||||
|
|
||||||
|
config = mkIf config.smayzy.nvf.enable {
|
||||||
|
programs.nvf = {
|
||||||
|
enable = true;
|
||||||
|
settings = {
|
||||||
|
vim = {
|
||||||
|
viAlias = false;
|
||||||
|
vimAlias = true;
|
||||||
|
lsp = {
|
||||||
|
enable = true;
|
||||||
|
servers.nil = {
|
||||||
|
enable = true;
|
||||||
|
settings.nil.nix.autoArchive = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
languages = {
|
||||||
|
nix.enable = true;
|
||||||
|
clang.enable = true;
|
||||||
|
rust.enable = true;
|
||||||
|
arduino.enable = true;
|
||||||
|
bash.enable = true;
|
||||||
|
lua.enable = true;
|
||||||
|
};
|
||||||
|
theme = {
|
||||||
|
enable = true;
|
||||||
|
name = lib.mkForce "dracula";
|
||||||
|
};
|
||||||
|
treesitter.enable = true;
|
||||||
|
statusline.lualine.enable = true;
|
||||||
|
telescope.enable = true;
|
||||||
|
autocomplete.nvim-cmp.enable = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
environment.systemPackages = [
|
||||||
|
pkgs.nil
|
||||||
|
];
|
||||||
|
};
|
||||||
|
}
|
||||||
@@ -0,0 +1,45 @@
|
|||||||
|
{
|
||||||
|
config,
|
||||||
|
lib,
|
||||||
|
pkgs,
|
||||||
|
agenix,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
let
|
||||||
|
inherit (lib) mkIf mkOption types;
|
||||||
|
in
|
||||||
|
{
|
||||||
|
options.smayzy.base-cli-pkgs.enable = mkOption {
|
||||||
|
type = types.bool;
|
||||||
|
default = false;
|
||||||
|
description = "install base cli pkgs that doesn't need extra config";
|
||||||
|
};
|
||||||
|
|
||||||
|
config = mkIf config.smayzy.base-cli-pkgs.enable {
|
||||||
|
environment.systemPackages = with pkgs; [
|
||||||
|
wget
|
||||||
|
tldr
|
||||||
|
tree
|
||||||
|
dig
|
||||||
|
btop
|
||||||
|
file
|
||||||
|
vim
|
||||||
|
man-pages
|
||||||
|
man-pages-posix
|
||||||
|
fastfetch
|
||||||
|
lf
|
||||||
|
tshark
|
||||||
|
nixfmt
|
||||||
|
usbutils
|
||||||
|
git
|
||||||
|
unzip
|
||||||
|
nixfmt-tree
|
||||||
|
efibootmgr
|
||||||
|
nfs-utils
|
||||||
|
nmap
|
||||||
|
agenix.packages.${stdenv.hostPlatform.system}.default
|
||||||
|
nixpkgs-review
|
||||||
|
];
|
||||||
|
programs.nix-index-database.comma.enable = true;
|
||||||
|
};
|
||||||
|
}
|
||||||
@@ -0,0 +1,9 @@
|
|||||||
|
{ ... }:
|
||||||
|
{
|
||||||
|
imports = [
|
||||||
|
./nixos
|
||||||
|
./nixos.nix
|
||||||
|
./docker
|
||||||
|
./docker.nix
|
||||||
|
];
|
||||||
|
}
|
||||||
@@ -0,0 +1,20 @@
|
|||||||
|
{
|
||||||
|
lib,
|
||||||
|
config,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
let
|
||||||
|
inherit (lib) mkIf mkOption types;
|
||||||
|
in
|
||||||
|
{
|
||||||
|
options.smayzy.docker.enable = mkOption {
|
||||||
|
type = types.bool;
|
||||||
|
default = false;
|
||||||
|
description = "enable docker";
|
||||||
|
};
|
||||||
|
|
||||||
|
config = mkIf config.smayzy.docker.enable {
|
||||||
|
virtualisation.docker.enable = true;
|
||||||
|
users.extraGroups.docker.members = [ "smayzy" ];
|
||||||
|
};
|
||||||
|
}
|
||||||