Compare commits

..

105 Commits

Author SHA1 Message Date
262ca1845c chore: update home flake.lock 2026-04-21 15:08:25 +02:00
52525169cc chore: state before home-manager update 2026-04-21 15:05:31 +02:00
bb04235569 chore: update home flake.lock 2026-04-20 22:43:02 +02:00
3100a4930f chore: state before home-manager update 2026-04-20 22:42:59 +02:00
de80b905d5 chore: update home flake.lock 2026-04-19 20:08:58 +02:00
63aea4d9bf chore: state before home-manager update 2026-04-19 20:08:55 +02:00
3502073527 chore: update home flake.lock 2026-04-18 23:21:54 +02:00
091e2295ea chore: state before home-manager update 2026-04-18 23:21:47 +02:00
06e9335403 chore: update home flake.lock 2026-04-16 21:31:17 +02:00
04e08bcc1c chore: state before home-manager update 2026-04-16 21:31:15 +02:00
85168c9ae2 chore: update home flake.lock 2026-04-16 21:30:17 +02:00
8d07ed6be6 chore: state before home-manager update 2026-04-16 21:30:13 +02:00
c2fa7f803f chore: update home flake.lock 2026-04-15 22:06:35 +02:00
408555cc47 chore: state before home-manager update 2026-04-15 22:06:19 +02:00
cdb5403c04 chore: update home flake.lock 2026-04-14 19:50:19 +02:00
41959e08d1 chore: state before home-manager update 2026-04-14 19:50:14 +02:00
a62512d9b6 chore: update home flake.lock 2026-04-12 22:17:21 +02:00
efaaadb75e chore: state before home-manager update 2026-04-12 22:17:11 +02:00
e83c3edf26 chore: update home flake.lock 2026-04-10 23:31:52 +02:00
2c7c484bb4 chore: state before home-manager update 2026-04-10 23:31:42 +02:00
0aa23ec425 chore: update home flake.lock 2026-04-09 16:30:02 +02:00
bda596fa9d chore: state before home-manager update 2026-04-09 16:29:58 +02:00
8ca17b6223 chore: update home flake.lock 2026-04-07 16:49:07 +02:00
afce7de729 chore: state before home-manager update 2026-04-07 16:49:02 +02:00
ab931a45c7 chore: update home flake.lock 2026-04-06 10:33:27 +02:00
60679bad0b chore: state before home-manager update 2026-04-06 10:33:18 +02:00
780abf3967 chore: update home flake.lock 2026-04-04 19:38:44 +02:00
a2e1a41d41 chore: state before home-manager update 2026-04-04 19:38:36 +02:00
177e426d58 chore: update home flake.lock 2026-04-04 19:32:45 +02:00
8b81015fd7 chore: state before home-manager update 2026-04-04 19:32:35 +02:00
c2821a6132 update: modules/hypr/hyprland.nix 2026-04-04 09:20:01 +02:00
2e22e49b35 chore: update home flake.lock 2026-04-03 23:46:00 +02:00
6b977a8416 chore: state before home-manager update 2026-04-03 23:45:57 +02:00
0142567dfc chore: update home flake.lock 2026-04-03 15:49:59 +02:00
7e75c2c895 chore: state before home-manager update 2026-04-03 15:49:49 +02:00
cb614c97e3 update: modules/cli/nixvim.nix 2026-04-02 20:21:50 +02:00
34566f9e5a update: modules/cli/nixvim.nix 2026-04-02 20:14:30 +02:00
17ee7e057d chore: update home flake.lock 2026-03-31 18:44:30 +02:00
92bff3b748 chore: state before home-manager update 2026-03-31 18:44:20 +02:00
beb360aaa3 chore: update home flake.lock 2026-03-31 09:08:02 +02:00
4f15f4c702 chore: state before home-manager update 2026-03-31 09:07:52 +02:00
302fe9d948 chore: update home flake.lock 2026-03-28 21:11:56 +01:00
591991d91f chore: state before home-manager update 2026-03-28 21:11:47 +01:00
b072cc6a5d chore: update home flake.lock 2026-03-27 10:45:15 +01:00
a07cb98151 chore: state before home-manager update 2026-03-27 10:45:07 +01:00
c0aed52d5a chore: update home flake.lock 2026-03-27 10:43:02 +01:00
2054bacade chore: state before home-manager update 2026-03-27 10:42:51 +01:00
55dd9dfd6d update flake 2026-03-25 15:01:00 +01:00
5d6f732723 xdkslajf 2026-03-24 19:48:18 +01:00
7c45a9d042 fix 2026-03-24 11:05:28 +01:00
5500f39c8c update: modules/cli/fish.nix 2026-03-24 10:48:41 +01:00
0749c86085 refactor 2026-03-24 10:40:31 +01:00
61026947d3 update: modules/cli/fish.nix 2026-03-24 09:06:59 +01:00
8ee4e578f3 chore: update home flake.lock 2026-03-22 22:03:15 +01:00
c658be8e17 chore: state before home-manager update 2026-03-22 22:03:05 +01:00
b519e6226a chore: update home flake.lock 2026-03-20 23:43:24 +01:00
3389ca5a36 chore: state before home-manager update 2026-03-20 23:43:14 +01:00
09e586f445 update: modules/cli/git.nix 2026-03-16 18:22:37 +01:00
556236c0b9 update: modules/cli/nixvim.nix 2026-03-15 11:30:46 +01:00
3c30125a0f chore: update home flake.lock 2026-03-14 20:16:38 +01:00
562586d932 chore: state before home-manager update 2026-03-14 20:16:30 +01:00
c97f6bc5fc chore: update home flake.lock 2026-03-14 18:40:00 +01:00
a5d49c1490 chore: state before home-manager update 2026-03-14 18:39:53 +01:00
1eb08b32bc chore: update home flake.lock 2026-03-12 17:18:13 +01:00
749e8c99fd chore: state before home-manager update 2026-03-12 17:18:03 +01:00
b2fcebb5af update 2026-03-11 19:37:19 +01:00
d8ea7550f0 chore: update home flake.lock 2026-03-10 20:33:11 +01:00
5f115d7d36 chore: state before home-manager update 2026-03-10 20:33:09 +01:00
8c341b9052 chore: update home flake.lock 2026-03-10 20:29:05 +01:00
847fb32980 chore: state before home-manager update 2026-03-10 20:29:05 +01:00
05f1c95542 chore: update home flake.lock 2026-03-10 20:28:36 +01:00
3d6e53a1f1 chore: state before home-manager update 2026-03-10 20:28:32 +01:00
b4a4064c3d chore: update home flake.lock 2026-03-10 20:26:06 +01:00
7694e7e5f9 chore: state before home-manager update 2026-03-10 20:25:58 +01:00
a47ec37bab chore: update home flake.lock 2026-03-09 21:02:21 +01:00
75719f3c5e chore: state before home-manager update 2026-03-09 21:02:14 +01:00
04210f9d25 fix hypr config 2026-03-09 12:17:50 +01:00
0b7364b4bd chore: update home flake.lock 2026-03-09 11:59:49 +01:00
71e8871aa0 chore: state before home-manager update 2026-03-09 11:59:40 +01:00
de109a7dd9 chore: update home flake.lock 2026-03-03 22:25:08 +01:00
27144d7e49 chore: state before home-manager update 2026-03-03 22:25:00 +01:00
b93e319d78 Merge branch 'master' of github.com:szymon-jozef/amazing-dotfiles 2026-03-03 21:54:28 +01:00
313050d577 dedede 2026-03-03 19:21:55 +01:00
272d026e54 flake lock update 2026-03-03 18:46:44 +01:00
0288a57961 before home-manager update 2026-03-03 18:46:37 +01:00
d24395e1bd Merge branch 'master' of github.com:szymon-jozef/amazing-dotfiles 2026-03-01 23:20:39 +01:00
a7c5193cf7 function and nixvim 2026-03-01 23:20:25 +01:00
529b52712e phinger cursor 2026-03-01 22:27:08 +01:00
027a74e588 xddxdxdx 2026-03-01 21:44:29 +01:00
42193b3ab2 cursor 2026-03-01 21:25:36 +01:00
7c12cb82aa update 2026-03-01 20:55:16 +01:00
2886f0517b Merge branch 'master' of github.com:szymon-jozef/amazing-dotfiles 2026-03-01 19:25:04 +01:00
6f0d08bf48 add paderewski-nix profile 2026-03-01 19:24:55 +01:00
c4617cad86 Merge branch 'master' of https://github.com/szymon-jozef/amazing-dotfiles 2026-02-28 09:33:10 +01:00
16d9094435 hypr 2026-02-28 09:33:07 +01:00
96e33b9bc4 update: modules/hypr/hyprland.nix 2026-02-28 09:07:16 +01:00
5889e11254 update: modules/hypr/hyprland.nix 2026-02-28 09:06:11 +01:00
ff8b2befb6 update: modules/hypr/hyprland.nix 2026-02-28 09:03:53 +01:00
7e694f9994 update: modules/hypr/hyprland.nix 2026-02-28 09:02:09 +01:00
9c545347a7 update: modules/hypr/hyprland.nix 2026-02-28 09:00:23 +01:00
99aea6fed5 update: modules/hypr/hyprland.nix 2026-02-28 08:59:25 +01:00
507f496a53 update: modules/hypr/hyprland.nix 2026-02-28 08:56:57 +01:00
152ab8bfe1 update: modules/hypr/hyprland.nix 2026-02-28 08:51:09 +01:00
997e669803 move host names to flakes 2026-02-27 21:14:37 +01:00
cbc68e2b5a branching — not good idea... 2026-02-27 20:58:22 +01:00
27 changed files with 576 additions and 207 deletions

303
flake.lock generated
View File

@@ -20,11 +20,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1771610171, "lastModified": 1775558810,
"narHash": "sha256-+DeInuhbm6a6PpHDNUS7pozDouq2+8xSDefoNaZLW0E=", "narHash": "sha256-fy95EdPnqQlpbP8+rk0yWKclWShCUS5VKs6P7/1MF2c=",
"owner": "hyprwm", "owner": "hyprwm",
"repo": "aquamarine", "repo": "aquamarine",
"rev": "7f9eb087703ec4acc6b288d02fa9ea3db803cd3d", "rev": "7371b669b22aa2af980f913fc312a786d2f1abb2",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -35,14 +35,16 @@
}, },
"catppuccin": { "catppuccin": {
"inputs": { "inputs": {
"nixpkgs": "nixpkgs" "nixpkgs": [
"nixpkgs"
]
}, },
"locked": { "locked": {
"lastModified": 1771587924, "lastModified": 1776681486,
"narHash": "sha256-eVYOGmF8nQBhudJyU6lHdgJI87kvGz8JyCq5/Vi9Mjk=", "narHash": "sha256-akO/L6Jt4341uBnf3CIpJOTTYyCBQsSvP2hnikV2oMY=",
"owner": "catppuccin", "owner": "catppuccin",
"repo": "nix", "repo": "nix",
"rev": "b0c65edbf31c2ad3d84438d82c2310f2c28373f3", "rev": "b85b328ecc9874f4e7424db2820333c148e8dd66",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -75,11 +77,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1769996383, "lastModified": 1775087534,
"narHash": "sha256-AnYjnFWgS49RlqX7LrC4uA+sCCDBj0Ry/WOJ5XWAsa0=", "narHash": "sha256-91qqW8lhL7TLwgQWijoGBbiD4t7/q75KTi8NxjVmSmA=",
"owner": "hercules-ci", "owner": "hercules-ci",
"repo": "flake-parts", "repo": "flake-parts",
"rev": "57928607ea566b5db3ad13af0e57e921e6b12381", "rev": "3107b77cd68437b9a76194f0f7f9c55f2329ca5b",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -88,6 +90,24 @@
"type": "github" "type": "github"
} }
}, },
"flake-utils": {
"inputs": {
"systems": "systems_3"
},
"locked": {
"lastModified": 1731533236,
"narHash": "sha256-l0KFg5HjrsfsO/JpG+r7fRrqm12kzFHyUHqHCVpMMbI=",
"owner": "numtide",
"repo": "flake-utils",
"rev": "11707dc2f618dd54ca8739b309ec4fc024de578b",
"type": "github"
},
"original": {
"owner": "numtide",
"repo": "flake-utils",
"type": "github"
}
},
"gitignore": { "gitignore": {
"inputs": { "inputs": {
"nixpkgs": [ "nixpkgs": [
@@ -117,11 +137,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1772060133, "lastModified": 1776721614,
"narHash": "sha256-VuyRptb8v1lVGMlLp4/1vRX3Efwec0CN0S6mKmDPzLg=", "narHash": "sha256-zGuW7C4tsScib2560yE5VV6lY/MdRs30aU9cbg3RP+U=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "ce9b6e52500a0ea0ec48f0bbf6d7a3e431d9dfa4", "rev": "c555a4a34a260493be5adb795c54e013c58f2d34",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -146,11 +166,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1753964049, "lastModified": 1772461003,
"narHash": "sha256-lIqabfBY7z/OANxHoPeIrDJrFyYy9jAM4GQLzZ2feCM=", "narHash": "sha256-pVICsV7FtcEeVwg5y/LFh3XFUkVJninm/P1j/JHzEbM=",
"owner": "hyprwm", "owner": "hyprwm",
"repo": "hyprcursor", "repo": "hyprcursor",
"rev": "44e91d467bdad8dcf8bbd2ac7cf49972540980a5", "rev": "b62396457b9cfe2ebf24fe05404b09d2a40f8ed7",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -159,6 +179,24 @@
"type": "github" "type": "github"
} }
}, },
"hyprcursor-phinger": {
"inputs": {
"nixpkgs": "nixpkgs"
},
"locked": {
"lastModified": 1763845612,
"narHash": "sha256-78zH5GrYa35bEkzeVnl8uXFbZ/zsiSHayjxZlNt+Xe8=",
"owner": "jappie3",
"repo": "hyprcursor-phinger",
"rev": "1207a845501a28e0e00d4a8e935ee0c9cab30650",
"type": "github"
},
"original": {
"owner": "jappie3",
"repo": "hyprcursor-phinger",
"type": "github"
}
},
"hyprgraphics": { "hyprgraphics": {
"inputs": { "inputs": {
"hyprutils": [ "hyprutils": [
@@ -175,11 +213,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1770511807, "lastModified": 1775496928,
"narHash": "sha256-suKmSbSk34uPOJDTg/GbPrKEJutzK08vj0VoTvAFBCA=", "narHash": "sha256-Ds759WU03mGWtu3I43J+5GF5Ni8TvF+GYQUFD+fVeMo=",
"owner": "hyprwm", "owner": "hyprwm",
"repo": "hyprgraphics", "repo": "hyprgraphics",
"rev": "7c75487edd43a71b61adb01cae8326d277aab683", "rev": "cf95d93d17baa18f1d9b016b3afe27f820521a6e",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -205,11 +243,11 @@
"xdph": "xdph" "xdph": "xdph"
}, },
"locked": { "locked": {
"lastModified": 1772107319, "lastModified": 1776710722,
"narHash": "sha256-qdeeNrWmUe1P2FsnNU1ngoZl8UxczEMJBziwm78V42I=", "narHash": "sha256-r3wsMIWSPbT6EEReEyVJ7sULgddOTitn8O0w7mGCjVk=",
"owner": "hyprwm", "owner": "hyprwm",
"repo": "Hyprland", "repo": "Hyprland",
"rev": "c71fbd854dfdedaae011f4b8b1fdb81f8054b309", "rev": "73f48077965d5b895a731c34ab648f73fdb7b2ce",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -251,11 +289,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1767023960, "lastModified": 1774710575,
"narHash": "sha256-R2HgtVS1G3KSIKAQ77aOZ+Q0HituOmPgXW9nBNkpp3Q=", "narHash": "sha256-p7Rcw13+gA4Z9EI3oGYe3neQ3FqyOOfZCleBTfhJ95Q=",
"owner": "hyprwm", "owner": "hyprwm",
"repo": "hyprland-guiutils", "repo": "hyprland-guiutils",
"rev": "c2e906261142f5dd1ee0bfc44abba23e2754c660", "rev": "0703df899520001209646246bef63358c9881e36",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -276,11 +314,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1765214753, "lastModified": 1772460177,
"narHash": "sha256-P9zdGXOzToJJgu5sVjv7oeOGPIIwrd9hAUAP3PsmBBs=", "narHash": "sha256-/6G/MsPvtn7bc4Y32pserBT/Z4SUUdBd4XYJpOEKVR4=",
"owner": "hyprwm", "owner": "hyprwm",
"repo": "hyprland-protocols", "repo": "hyprland-protocols",
"rev": "3f3860b869014c00e8b9e0528c7b4ddc335c21ab", "rev": "1cb6db5fd6bb8aee419f4457402fa18293ace917",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -305,11 +343,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1771866172, "lastModified": 1772459629,
"narHash": "sha256-fYFoXhQLrm1rD8vSFKQBOEX4OGCuJdLt1amKfHd5GAw=", "narHash": "sha256-/iwvNUYShmmnwmz/czEUh6+0eF5vCMv0xtDW0STPIuM=",
"owner": "hyprwm", "owner": "hyprwm",
"repo": "hyprlang", "repo": "hyprlang",
"rev": "0b219224910e7642eb0ed49f0db5ec3d008e3e41", "rev": "7615ee388de18239a4ab1400946f3d0e498a8186",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -357,11 +395,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1764592794, "lastModified": 1772462885,
"narHash": "sha256-7CcO+wbTJ1L1NBQHierHzheQGPWwkIQug/w+fhTAVuU=", "narHash": "sha256-5pHXrQK9zasMnIo6yME6EOXmWGFMSnCITcfKshhKJ9I=",
"owner": "hyprwm", "owner": "hyprwm",
"repo": "hyprtoolkit", "repo": "hyprtoolkit",
"rev": "5cfe0743f0e608e1462972303778d8a0859ee63e", "rev": "9af245a69fa6b286b88ddfc340afd288e00a6998",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -382,11 +420,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1771271487, "lastModified": 1774911391,
"narHash": "sha256-41gEiUS0Pyw3L/ge1l8MXn61cK14VAhgWB/JV8s/oNI=", "narHash": "sha256-c4YVwO33Mmw+FIV8E0u3atJZagHvGTJ9Jai6RtiB8rE=",
"owner": "hyprwm", "owner": "hyprwm",
"repo": "hyprutils", "repo": "hyprutils",
"rev": "340a792e3b3d482c4ae5f66d27a9096bdee6d76d", "rev": "e6caa3d4d1427eedbdf556cf4ceb70f2d9c0b56d",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -407,11 +445,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1770501770, "lastModified": 1772459835,
"narHash": "sha256-NWRM6+YxTRv+bT9yvlhhJ2iLae1B1pNH3mAL5wi2rlQ=", "narHash": "sha256-978jRz/y/9TKmZb/qD4lEYHCQGHpEXGqy+8X2lFZsak=",
"owner": "hyprwm", "owner": "hyprwm",
"repo": "hyprwayland-scanner", "repo": "hyprwayland-scanner",
"rev": "0bd8b6cde9ec27d48aad9e5b4deefb3746909d40", "rev": "0a692d4a645165eebd65f109146b8861e3a925e7",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -436,11 +474,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1771606233, "lastModified": 1775414057,
"narHash": "sha256-F3PLUqQ/TwgR70U+UeOqJnihJZ2EuunzojYC4g5xHr0=", "narHash": "sha256-mDpHnf+MkdOxEqIM1TnckYYh9p1SXR8B3KQfNZ12M8s=",
"owner": "hyprwm", "owner": "hyprwm",
"repo": "hyprwire", "repo": "hyprwire",
"rev": "06c7f1f8c4194786c8400653c4efc49dc14c0f3a", "rev": "86012ee01b0fdd8bf3101ef38816f2efbee42490",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -451,15 +489,15 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1771369470, "lastModified": 1762977756,
"narHash": "sha256-0NBlEBKkN3lufyvFegY4TYv5mCNHbi5OmBDrzihbBMQ=", "narHash": "sha256-4PqRErxfe+2toFJFgcRKZ0UI9NSIOJa+7RXVtBhy4KE=",
"owner": "NixOS", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "0182a361324364ae3f436a63005877674cf45efb", "rev": "c5ae371f1a6a7fd27823bc500d9390b38c05fa55",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "NixOS", "owner": "nixos",
"ref": "nixos-unstable", "ref": "nixos-unstable",
"repo": "nixpkgs", "repo": "nixpkgs",
"type": "github" "type": "github"
@@ -467,11 +505,11 @@
}, },
"nixpkgs_2": { "nixpkgs_2": {
"locked": { "locked": {
"lastModified": 1771848320, "lastModified": 1775423009,
"narHash": "sha256-0MAd+0mun3K/Ns8JATeHT1sX28faLII5hVLq0L3BdZU=", "narHash": "sha256-vPKLpjhIVWdDrfiUM8atW6YkIggCEKdSAlJPzzhkQlw=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "2fc6539b481e1d2569f25f8799236694180c0993", "rev": "68d8aa3d661f0e6bd5862291b5bb263b2a6595c9",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -483,11 +521,11 @@
}, },
"nixpkgs_3": { "nixpkgs_3": {
"locked": { "locked": {
"lastModified": 1771848320, "lastModified": 1776548001,
"narHash": "sha256-0MAd+0mun3K/Ns8JATeHT1sX28faLII5hVLq0L3BdZU=", "narHash": "sha256-ZSK0NL4a1BwVbbTBoSnWgbJy9HeZFXLYQizjb2DPF24=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "2fc6539b481e1d2569f25f8799236694180c0993", "rev": "b12141ef619e0a9c1c84dc8c684040326f27cdcc",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -506,11 +544,11 @@
"systems": "systems_2" "systems": "systems_2"
}, },
"locked": { "locked": {
"lastModified": 1771135771, "lastModified": 1776452249,
"narHash": "sha256-wyvBIhDuyCRyjB3yPg77qoyxrlgQtBR1rVW3c9knV3E=", "narHash": "sha256-tpCsY9kIEfcitiV3JwUqYTmxwewwZKQlZSNUBqb9kF0=",
"owner": "nix-community", "owner": "nix-community",
"repo": "nixvim", "repo": "nixvim",
"rev": "ed0424f0b08d303a7348f52f7850ad1b2704f9ba", "rev": "698d17490e19e2e360a6ce49b1af9134d1c6eacd",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -529,11 +567,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1771858127, "lastModified": 1775036584,
"narHash": "sha256-Gtre9YoYl3n25tJH2AoSdjuwcqij5CPxL3U3xysYD08=", "narHash": "sha256-zW0lyy7ZNNT/x8JhzFHBsP2IPx7ATZIPai4FJj12BgU=",
"owner": "cachix", "owner": "cachix",
"repo": "git-hooks.nix", "repo": "git-hooks.nix",
"rev": "49bbbfc218bf3856dfa631cead3b052d78248b83", "rev": "4e0eb042b67d863b1b34b3f64d52ceb9cd926735",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -542,14 +580,67 @@
"type": "github" "type": "github"
} }
}, },
"pyproject-build-systems": {
"inputs": {
"nixpkgs": [
"zut-calendar",
"nixpkgs"
],
"pyproject-nix": [
"zut-calendar",
"pyproject-nix"
],
"uv2nix": [
"zut-calendar",
"uv2nix"
]
},
"locked": {
"lastModified": 1771423342,
"narHash": "sha256-7uXPiWB0YQ4HNaAqRvVndYL34FEp1ZTwVQHgZmyMtC8=",
"owner": "pyproject-nix",
"repo": "build-system-pkgs",
"rev": "04e9c186e01f0830dad3739088070e4c551191a4",
"type": "github"
},
"original": {
"owner": "pyproject-nix",
"repo": "build-system-pkgs",
"type": "github"
}
},
"pyproject-nix": {
"inputs": {
"nixpkgs": [
"zut-calendar",
"nixpkgs"
]
},
"locked": {
"lastModified": 1771518446,
"narHash": "sha256-nFJSfD89vWTu92KyuJWDoTQJuoDuddkJV3TlOl1cOic=",
"owner": "pyproject-nix",
"repo": "pyproject.nix",
"rev": "eb204c6b3335698dec6c7fc1da0ebc3c6df05937",
"type": "github"
},
"original": {
"owner": "pyproject-nix",
"repo": "pyproject.nix",
"type": "github"
}
},
"root": { "root": {
"inputs": { "inputs": {
"catppuccin": "catppuccin", "catppuccin": "catppuccin",
"home-manager": "home-manager", "home-manager": "home-manager",
"hyprcursor-phinger": "hyprcursor-phinger",
"hyprland": "hyprland", "hyprland": "hyprland",
"nixpkgs": "nixpkgs_3", "nixpkgs": "nixpkgs_3",
"nixvim": "nixvim", "nixvim": "nixvim",
"wallpapers": "wallpapers" "wallpapers": "wallpapers",
"zut-calendar": "zut-calendar",
"zutui": "zutui"
} }
}, },
"systems": { "systems": {
@@ -582,6 +673,46 @@
"type": "github" "type": "github"
} }
}, },
"systems_3": {
"locked": {
"lastModified": 1681028828,
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
"owner": "nix-systems",
"repo": "default",
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
"type": "github"
},
"original": {
"owner": "nix-systems",
"repo": "default",
"type": "github"
}
},
"uv2nix": {
"inputs": {
"nixpkgs": [
"zut-calendar",
"nixpkgs"
],
"pyproject-nix": [
"zut-calendar",
"pyproject-nix"
]
},
"locked": {
"lastModified": 1772408201,
"narHash": "sha256-3Va9Tq/tg9ZuCX+PFd9oPgwtBDQRjjh60cYKZjZDxNM=",
"owner": "pyproject-nix",
"repo": "uv2nix",
"rev": "4bac9176117824d4550deeba9b86d9f96ac5d081",
"type": "github"
},
"original": {
"owner": "pyproject-nix",
"repo": "uv2nix",
"type": "github"
}
},
"wallpapers": { "wallpapers": {
"flake": false, "flake": false,
"locked": { "locked": {
@@ -626,11 +757,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1761431178, "lastModified": 1773601989,
"narHash": "sha256-xzjC1CV3+wpUQKNF+GnadnkeGUCJX+vgaWIZsnz9tzI=", "narHash": "sha256-2tJf/CQoHApoIudxHeJye+0Ii7scR0Yyi7pNiWk0Hn8=",
"owner": "hyprwm", "owner": "hyprwm",
"repo": "xdg-desktop-portal-hyprland", "repo": "xdg-desktop-portal-hyprland",
"rev": "4b8801228ff958d028f588f0c2b911dbf32297f9", "rev": "a9b862d1aa000a676d310cc62d249f7ad726233d",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -638,6 +769,50 @@
"repo": "xdg-desktop-portal-hyprland", "repo": "xdg-desktop-portal-hyprland",
"type": "github" "type": "github"
} }
},
"zut-calendar": {
"inputs": {
"nixpkgs": [
"nixpkgs"
],
"pyproject-build-systems": "pyproject-build-systems",
"pyproject-nix": "pyproject-nix",
"uv2nix": "uv2nix"
},
"locked": {
"lastModified": 1773515729,
"narHash": "sha256-+TfrJdqRxmzarLednTCFfxDi1uGNYnIbtyLAFw2Pj0U=",
"owner": "szymon-jozef",
"repo": "zut-calendar",
"rev": "3284491807e196414445326d11913b43e7a0225f",
"type": "github"
},
"original": {
"owner": "szymon-jozef",
"repo": "zut-calendar",
"type": "github"
}
},
"zutui": {
"inputs": {
"flake-utils": "flake-utils",
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1774282006,
"narHash": "sha256-tF+/CbZhOvIl4F/WJtT2V376WjGIXSFXRSDMGI11KJk=",
"owner": "shv187",
"repo": "zutui",
"rev": "fcce7c254c74638efa667df7a4f603d01362a835",
"type": "github"
},
"original": {
"owner": "shv187",
"repo": "zutui",
"type": "github"
}
} }
}, },
"root": "root", "root": "root",

139
flake.nix
View File

@@ -1,24 +1,42 @@
{ {
description = "Home manager config"; description = "Amazing dotfiles";
inputs = { inputs = {
hyprland.url = "github:hyprwm/Hyprland";
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable"; nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
home-manager = { home-manager = {
url = "github:nix-community/home-manager"; url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
}; };
catppuccin.url = "github:catppuccin/nix"; hyprland.url = "github:hyprwm/Hyprland";
wallpapers = {
url = "github:orangci/walls-catppuccin-mocha";
flake = false;
};
nixvim = { nixvim = {
url = "github:nix-community/nixvim"; url = "github:nix-community/nixvim";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
}; };
# theming stuff
catppuccin = {
url = "github:catppuccin/nix";
inputs.nixpkgs.follows = "nixpkgs";
};
hyprcursor-phinger.url = "github:jappie3/hyprcursor-phinger";
wallpapers = {
url = "github:orangci/walls-catppuccin-mocha";
flake = false;
};
# uni stuff
zut-calendar = {
url = "github:szymon-jozef/zut-calendar";
inputs.nixpkgs.follows = "nixpkgs";
};
zutui = {
url = "github:shv187/zutui";
inputs.nixpkgs.follows = "nixpkgs";
};
}; };
outputs = outputs =
@@ -28,68 +46,97 @@
catppuccin, catppuccin,
nixvim, nixvim,
wallpapers, wallpapers,
zut-calendar,
zutui,
... ...
}@inputs: }@inputs:
let let
userConfig = { defaultUserConfig = {
username = "szymon"; username = "szymon";
# for git
email = "szymon_jozef@proton.me"; email = "szymon_jozef@proton.me";
fullName = "Szymon P"; fullName = "Szymon P";
# your public ssh key
signingKey = "~/.ssh/github.pub"; signingKey = "~/.ssh/github.pub";
mainMonitor = "LVDS-1"; # only for some applications: you still need to set hyprland monitors yourself! mainMonitor = "DP-1";
statusBar = "ashell"; # available: ashell|waybar statusBar = "ashell"; # available: ashell | waybar
pathConfig = { pathConfig = {
wallpaper = "Obrazy/tapety/catppuccin"; wallpaper = "Obrazy/tapety/catppuccin";
screenshot = "Obrazy/zrzuty/"; screenshot = "Obrazy/zrzuty/";
obsidian = "Dokumenty/obsidian"; obsidian = "Dokumenty/obsidian";
}; };
isNixOS = true;
hostName = "default";
animations = true;
}; };
system = "x86_64-linux"; system = "x86_64-linux";
pkgs = import nixpkgs {
inherit system;
config.allowUnfree = true;
};
mkHome =
customConfig:
let
userConfig = defaultUserConfig // customConfig;
in
home-manager.lib.homeManagerConfiguration {
inherit pkgs;
extraSpecialArgs = {
inherit inputs userConfig;
};
modules = [
./home.nix
catppuccin.homeModules.catppuccin
nixvim.homeModules.nixvim
inputs.hyprcursor-phinger.homeManagerModules.hyprcursor-phinger
(
{ pkgs, ... }:
{
home.packages = [
zut-calendar.packages.${pkgs.stdenv.hostPlatform.system}.default
zutui.packages.${pkgs.stdenv.hostPlatform.system}.default
];
}
)
]
++ (customConfig.extraModules or [ ]);
};
in in
{ {
homeConfigurations = { homeConfigurations = {
"arch" = home-manager.lib.homeManagerConfiguration { # You can overwrite default configuration here
pkgs = import nixpkgs {
inherit system;
config.allowUnfree = true;
};
extraSpecialArgs = {
inherit
inputs
userConfig
;
isNixOS = false;
};
modules = [
./home.nix
catppuccin.homeModules.catppuccin
nixvim.homeModules.nixvim
];
"arch" = mkHome {
isNixOS = false;
hostName = "arch";
}; };
"nixos" = home-manager.lib.homeManagerConfiguration {
pkgs = import nixpkgs { "nixos" = mkHome {
inherit system; isNixOS = true;
config.allowUnfree = true; hostName = "nixos";
}; };
extraSpecialArgs = {
inherit "${defaultUserConfig.username}@pitagoras" = mkHome {
inputs hostName = "pitagoras";
userConfig mainMonitor = "eDP-1";
; animations = false;
isNixOS = true; };
};
modules = [ "${defaultUserConfig.username}@pilecki" = mkHome {
./home.nix hostName = "pilecki";
catppuccin.homeModules.catppuccin mainMonitor = "LVDS-1";
nixvim.homeModules.nixvim };
];
"${defaultUserConfig.username}@paderewski" = mkHome {
hostName = "paderewski";
}; };
}; };
}; };

1
hash.txt Normal file
View File

@@ -0,0 +1 @@
got: sha256-IGkP0z8gJj1dbNclpMebZXZvaRby1F8zGNEDPtitfqo=

View File

@@ -68,13 +68,24 @@
".config/gtk-3.0/gtk.css".source = ./dotfiles/gtk-3.0/gtk.css; ".config/gtk-3.0/gtk.css".source = ./dotfiles/gtk-3.0/gtk.css;
${userConfig.pathConfig.wallpaper}.source = inputs.wallpapers; ${userConfig.pathConfig.wallpaper}.source = inputs.wallpapers;
}; };
programs.hyprcursor-phinger.enable = true;
# === VARS === # === VARS ===
home.sessionVariables = { home = {
EDITOR = "nvim"; sessionVariables = {
VISUAL = "nvim"; EDITOR = "nvim";
XDG_DATA_DIRS = "$HOME/.nix-profile/share/applications:$XDG_DATA_DIRS"; VISUAL = "nvim";
XDG_DATA_DIRS = "$HOME/.nix-profile/share/applications:$XDG_DATA_DIRS";
};
pointerCursor = {
name = "phinger-cursors-light";
package = pkgs.phinger-cursors;
size = 24;
gtk.enable = true;
x11.enable = true;
};
}; };
programs.home-manager.enable = true; programs.home-manager.enable = true;

View File

@@ -1,6 +1,5 @@
{ {
lib, lib,
isNixOS,
userConfig, userConfig,
pkgs, pkgs,
... ...
@@ -9,7 +8,7 @@
{ {
programs.ashell = { programs.ashell = {
enable = true; enable = true;
package = lib.mkIf (!isNixOS) null; package = lib.mkIf (!userConfig.isNixOS) null;
settings = { settings = {
outputs = { outputs = {
Targets = [ userConfig.mainMonitor ]; Targets = [ userConfig.mainMonitor ];

View File

@@ -1,6 +1,5 @@
{ {
pkgs, pkgs,
isNixOS,
userConfig, userConfig,
... ...
}: }:
@@ -9,7 +8,7 @@
programs.waybar = { programs.waybar = {
enable = true; enable = true;
package = package =
if isNixOS then pkgs.waybar else (pkgs.writeShellScriptBin "waybar" "exec /usr/bin/waybar \"$@\""); if userConfig.isNixOS then pkgs.waybar else (pkgs.writeShellScriptBin "waybar" "exec /usr/bin/waybar \"$@\"");
settings = { settings = {
mainBar = { mainBar = {
layer = "top"; layer = "top";

View File

@@ -36,7 +36,7 @@
xdg.configFile."fastfetch/startup.jsonc".text = builtins.toJSON { xdg.configFile."fastfetch/startup.jsonc".text = builtins.toJSON {
logo = { logo = {
source = "arch_small"; source = "nixos_small";
padding = { padding = {
bottom = 1; bottom = 1;
}; };

View File

@@ -1,4 +1,4 @@
{ isNixOS, ... }: { userConfig, ... }:
{ {
programs.fish = { programs.fish = {
@@ -17,6 +17,8 @@
fish_vi_key_bindings fish_vi_key_bindings
direnv hook fish | source
fastfetch --config ~/.config/fastfetch/startup.jsonc fastfetch --config ~/.config/fastfetch/startup.jsonc
''; '';
@@ -45,7 +47,7 @@
set -l rel_file (realpath --relative-to=$config_dir $file) set -l rel_file (realpath --relative-to=$config_dir $file)
if nh home switch $config_dir -c ${if isNixOS then "nixos" else "arch"} if nh home switch $config_dir
git add -A git add -A
set commit_msg "update: $rel_file" set commit_msg "update: $rel_file"
git commit -m "$commit_msg" git commit -m "$commit_msg"
@@ -61,17 +63,12 @@
reload_dotfiles = { reload_dotfiles = {
body = # fish body = # fish
"nh home switch ~/.config/home-manager -c ${if isNixOS then "nixos" else "arch"}"; "nh home switch ~/.config/home-manager";
}; };
ls = { reload_system = {
body = # fish body = # fish
"eza --long --icons --group-directories-first --git $argv"; "nh os switch /etc/nixos/";
};
lst = {
body = # fish
"eza --long --icons --color --git --tree $argv";
}; };
cp_mail = { cp_mail = {
@@ -79,49 +76,135 @@
"pandoc $argv -t html |wl-copy -t text/html"; "pandoc $argv -t html |wl-copy -t text/html";
}; };
update = { update_files = {
body = # fish body =
# fish
'' ''
echo "===System update===" echo "=== System packages updates ==="
pushd /etc/nixos
if not type -q yay git add -A
echo "Yay not found Is this Arch? If yes, then please consider installing it!" git commit -m 'chore: state before pulling'
else
yay if git pull
reload_system
end end
if type -q pacman popd
echo "===Remove orphans==="
set orphans (pacman -Qtdq) echo "=== User packages update ==="
if test (count $orphans) -gt 0 pushd $HOME/.config/home-manager
sudo pacman -Rns $orphans
end git add -A
git commit -m 'chore: state before pulling'
if git pull
reload_dotfiles
end end
if type -q flatpak popd
echo "===Flatpak update==="
flatpak update --noninteractive
echo "===Flatpak remove unused==="
flatpak uninstall --unused
end
if type -q nix-channel
echo "===Nix update==="
nix-channel --update
echo "===Nix garbage collection==="
home-manager expire-generations "-7 days"
end
''; '';
}; };
rm = { update = {
body = "trash $argv"; body =
}; if userConfig.isNixOS then
# fish
''
echo "=== System packages update ==="
pushd /etc/nixos
open = { if git pull
body = "nohup xdg-open $argv > /dev/null & "; git add -A
}; git commit --allow-empty -m "chore: state before system update"
nix flake update
if test $status -eq 0
git add ./flake.lock
git commit --allow-empty -m "chore: update system flake.lock"
reload_system
git push
else
echo "Error while updating system flake!"
end
else
echo "Error: 'git pull' failed in /etc/nixos. Skipping system update."
end
popd
echo "=== User packages update ==="
pushd $HOME/.config/home-manager
if git pull
git add -A
git commit --allow-empty -m "chore: state before home-manager update"
nix flake update
if test $status -eq 0
git add ./flake.lock
git commit --allow-empty -m "chore: update home flake.lock"
git push
reload_dotfiles
else
echo "Error while updating home flake!"
end
else
echo "Error: 'git pull' failed in home-manager. Skipping user update."
end
popd
if type -q flatpak
echo "=== Flatpak update ==="
flatpak update --noninteractive
echo "=== Flatpak remove unused ==="
flatpak uninstall --unused --noninteractive
end
''
else
# fish
''
echo "===System update==="
if not type -q yay
echo "Yay not found Please consider installing it!"
else
yay
end
if type -q pacman
echo "===Remove orphans==="
set orphans (pacman -Qtdq)
if test (count $orphans) -gt 0
sudo pacman -Rns $orphans
end
end
if type -q flatpak
echo "===Flatpak update==="
flatpak update --noninteractive
echo "===Flatpak remove unused==="
flatpak uninstall --unused
end
if type -q nix-channel
echo "===Nix update==="
nix-channel --update
echo "===Nix garbage collection==="
home-manager expire-generations "-7 days"
end
'';
};
};
shellAliases = {
ls = "eza --long --icons --group-directories-first --git";
lst = "eza --long --icons --color --git --tree";
rm = "trash";
}; };
}; };
} }

View File

@@ -41,6 +41,7 @@
"node_modules" "node_modules"
"result" "result"
"__pycache__" "__pycache__"
".direnv"
]; ];
}; };

View File

@@ -100,6 +100,30 @@
action.__raw = "function() require('harpoon'):list():next() end"; action.__raw = "function() require('harpoon'):list():next() end";
options.desc = "Toggle next harpoon buffer"; options.desc = "Toggle next harpoon buffer";
} }
{
key = "j";
action = "jzz";
}
{
key = "k";
action = "kzz";
}
{
key = "[[";
action = "[[zz";
}
{
key = "]]";
action = "]]zz";
}
{
key = "{{";
action = "{{zz";
}
{
key = "}}";
action = "}}zz";
}
]; ];
autoGroups = { autoGroups = {
@@ -169,7 +193,22 @@
friendly-snippets.enable = true; friendly-snippets.enable = true;
# dev # dev
clangd.enable = true; clangd.enable = true;
pyright.enable = true; pylsp = {
enable = true;
settings = {
plugins = {
ruff = {
enabled = true;
format = [ "I" ];
};
pylsp_mypy.enabled = true;
jedi_completion.enabled = true;
jedi_definition.enabled = true;
};
};
};
rust_analyzer = { rust_analyzer = {
enable = true; enable = true;
installCargo = true; installCargo = true;
@@ -203,9 +242,14 @@
}; };
}; };
indent-blankline = { cursorline = {
enable = true; enable = true;
settings.scope.enabled = true; timeout = 0;
};
mini-indentscope = {
enable = true;
settings.draw.delay = 0;
}; };
cmp = { cmp = {

View File

@@ -2,7 +2,6 @@
{ {
services.ssh-agent.enable = true; services.ssh-agent.enable = true;
services.ssh-agent.enableFishIntegration = true;
programs.ssh = { programs.ssh = {
enableDefaultConfig = false; enableDefaultConfig = false;

View File

@@ -4,6 +4,7 @@
gtk = { gtk = {
enable = true; enable = true;
colorScheme = "dark"; colorScheme = "dark";
gtk4.theme = null;
}; };
dconf = { dconf = {

View File

@@ -1,8 +1,8 @@
{ isNixOS, lib, ... }: { userConfig, lib, ... }:
{ {
programs.chromium = { programs.chromium = {
enable = true; enable = true;
package = lib.mkIf (!isNixOS) null; package = lib.mkIf (!userConfig.isNixOS) null;
}; };
} }

View File

@@ -1,9 +1,9 @@
{ lib, isNixOS, ... }: { lib, userConfig, ... }:
{ {
programs.kitty = { programs.kitty = {
enable = true; enable = true;
package = lib.mkIf (!isNixOS) null; package = lib.mkIf (!userConfig.isNixOS) null;
settings = { settings = {
confirm_os_window_close = 0; confirm_os_window_close = 0;
dynamic_background_opacity = true; dynamic_background_opacity = true;

View File

@@ -1,4 +1,4 @@
{ isNixOS, pkgs, ... }: { userConfig, pkgs, ... }:
{ {
services.mako = { services.mako = {
@@ -21,7 +21,7 @@
progress-color = "over #313244"; progress-color = "over #313244";
output = "DP-1"; output = "DP-1";
on-notify = on-notify =
if isNixOS then if userConfig.isNixOS then
"exec ${pkgs.pulseaudio}/bin/paplay ${pkgs.sound-theme-freedesktop}/share/sounds/freedesktop/stereo/dialog-information.oga" "exec ${pkgs.pulseaudio}/bin/paplay ${pkgs.sound-theme-freedesktop}/share/sounds/freedesktop/stereo/dialog-information.oga"
else else
"exec paplay /usr/share/sounds/freedesktop/stereo/dialog-information.oga"; "exec paplay /usr/share/sounds/freedesktop/stereo/dialog-information.oga";
@@ -36,7 +36,7 @@
[urgency=critical] [urgency=critical]
on-notify=${ on-notify=${
if isNixOS then if userConfig.isNixOS then
"exec ${pkgs.pulseaudio}/bin/paplay ${pkgs.sound-theme-freedesktop}/share/sounds/freedesktop/stereo/dialog-information.oga" "exec ${pkgs.pulseaudio}/bin/paplay ${pkgs.sound-theme-freedesktop}/share/sounds/freedesktop/stereo/dialog-information.oga"
else else
"exec paplay /usr/share/sounds/freedesktop/stereo/dialog-information.oga" "exec paplay /usr/share/sounds/freedesktop/stereo/dialog-information.oga"

View File

@@ -1,7 +1,7 @@
{ {
config, config,
pkgs, pkgs,
isNixOS, userConfig,
... ...
}: }:
@@ -10,7 +10,7 @@
programs.mangohud = { programs.mangohud = {
enable = true; enable = true;
package = if isNixOS then pkgs.mangohud else (pkgs.runCommand "dummy-mangohud" { } "mkdir $out"); package = if userConfig.isNixOS then pkgs.mangohud else (pkgs.runCommand "dummy-mangohud" { } "mkdir $out");
}; };
xdg.configFile."MangoHud/MangoHud.conf".text = '' xdg.configFile."MangoHud/MangoHud.conf".text = ''

View File

@@ -11,7 +11,7 @@ stdenv.mkDerivation {
owner = "catppuccin"; owner = "catppuccin";
repo = "obsidian"; repo = "obsidian";
rev = "main"; rev = "main";
hash = "sha256-sN5k263geOtJ1mOCQGM8UdmA/71OhBI5NRwGxJwd80E="; hash = "sha256-uB0a2nSZkHHf65xBYXyNh50vaAiqdEpKQVf3eXnCVlE=";
}; };
installPhase = '' installPhase = ''

View File

@@ -1,5 +1,4 @@
{ {
isNixOS,
lib, lib,
pkgs, pkgs,
userConfig, userConfig,
@@ -9,7 +8,7 @@
{ {
programs.obsidian = { programs.obsidian = {
enable = true; enable = true;
package = lib.mkIf (!isNixOS) null; package = lib.mkIf (!userConfig.isNixOS) null;
defaultSettings = { defaultSettings = {
app = { app = {

View File

@@ -1,6 +1,5 @@
{ {
lib, lib,
isNixOS,
userConfig, userConfig,
... ...
}: }:
@@ -8,7 +7,7 @@
{ {
programs.satty = { programs.satty = {
enable = true; enable = true;
package = lib.mkIf (!isNixOS) null; package = lib.mkIf (!userConfig.isNixOS) null;
settings = { settings = {
general = { general = {
fullscreen = true; fullscreen = true;

View File

@@ -1,9 +1,9 @@
{ isNixOS, lib, ... }: { userConfig, lib, ... }:
{ {
services.hypridle = { services.hypridle = {
enable = true; enable = true;
package = lib.mkIf (!isNixOS) null; package = lib.mkIf (!userConfig.isNixOS) null;
settings = { settings = {
general = { general = {

View File

@@ -1,13 +1,12 @@
{ {
isNixOS,
lib, lib,
userConfig, userConfig,
inputs,
pkgs, pkgs,
inputs,
... ...
}: }:
let let
exe = pkg: bin: if isNixOS then "${pkg}/bin/${bin}" else "/usr/bin/${bin}"; exe = pkg: bin: if userConfig.isNixOS then "${pkg}/bin/${bin}" else "/usr/bin/${bin}";
jq = exe pkgs.jq "jq"; jq = exe pkgs.jq "jq";
grim = exe pkgs.grim "grim"; grim = exe pkgs.grim "grim";
@@ -15,7 +14,7 @@ let
wl_copy = exe pkgs.wl-clipboard "wl-copy"; wl_copy = exe pkgs.wl-clipboard "wl-copy";
notify_send = exe pkgs.libnotify "notify-send"; notify_send = exe pkgs.libnotify "notify-send";
xdg-desktop-portal-hyprland = xdg-desktop-portal-hyprland =
if isNixOS then if userConfig.isNixOS then
"${pkgs.xdg-desktop-portal-hyprland}/libexec/xdg-desktop-portal-hyprland" "${pkgs.xdg-desktop-portal-hyprland}/libexec/xdg-desktop-portal-hyprland"
else else
"/usr/lib/xdg-desktop-portal-hyprland"; "/usr/lib/xdg-desktop-portal-hyprland";
@@ -26,9 +25,11 @@ in
wayland.windowManager.hyprland = { wayland.windowManager.hyprland = {
enable = true; enable = true;
package = package =
if isNixOS then inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.hyprland else null; if userConfig.isNixOS then
portalPackage = lib.mkIf ( inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.hyprland
isNixOS else
null;
portalPackage = lib.mkIf (userConfig.isNixOS
) inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.xdg-desktop-portal-hyprland; ) inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.xdg-desktop-portal-hyprland;
xwayland.enable = true; xwayland.enable = true;
@@ -36,9 +37,9 @@ in
"$mainMod" = "SUPER"; "$mainMod" = "SUPER";
"$terminal" = "uwsm app -- kitty"; "$terminal" = "uwsm app -- kitty";
"$menu" = "hyprlauncher"; "$menu" = "hyprlauncher";
"$music_player" = "flatpak run com.spotify.Client"; "$music_player" = if userConfig.isNixOS then "spotify" else "flatpak run com.spotify.Client";
"$notes" = "obsidian"; "$notes" = "obsidian";
"$browser" = "zen-browser"; "$browser" = if userConfig.isNixOS then "zen-beta" else "zen-browser"; # beta on nixos
"$openrgb_color" = "09ce30"; "$openrgb_color" = "09ce30";
env = [ env = [
@@ -60,7 +61,7 @@ in
}; };
animations = { animations = {
enabled = true; enabled = userConfig.animations;
bezier = [ bezier = [
"easeOutQuint,0.23,1,0.32,1" "easeOutQuint,0.23,1,0.32,1"
"easeInOutCubic,0.65,0.05,0.36,1" "easeInOutCubic,0.65,0.05,0.36,1"
@@ -135,13 +136,18 @@ in
kb_options = "caps:escape_shifted_capslock"; kb_options = "caps:escape_shifted_capslock";
kb_rules = ""; kb_rules = "";
follow_mouse = 1; follow_mouse = 1;
left_handed = true; left_handed = false;
sensitivity = 0; sensitivity = -0.5;
touchpad = { touchpad = {
natural_scroll = true; natural_scroll = true;
}; };
}; };
device = {
name = "msft0001:01-06cb:7f28-touchpad";
sensitivity = 0;
};
cursor = { cursor = {
no_hardware_cursors = true; no_hardware_cursors = true;
inactive_timeout = 5; inactive_timeout = 5;
@@ -168,12 +174,13 @@ in
"wl-paste --type text --watch cliphist store" "wl-paste --type text --watch cliphist store"
"wl-paste --type image --watch cliphist store" "wl-paste --type image --watch cliphist store"
"uwsm app -- ${userConfig.statusBar}" "uwsm app -- ${userConfig.statusBar}"
"swww-daemon" "awww-daemon"
"openrgb -c $openrgb_color" "openrgb -c $openrgb_color"
]; ];
workspace = [ workspace = [
"1, monitor:DP-2" "1, monitor:DP-2"
"1, layout: dwindle"
"2, monitor:DP-1" "2, monitor:DP-1"
"3, monitor:DP-1" "3, monitor:DP-1"
"4, monitor:DP-1" "4, monitor:DP-1"
@@ -197,6 +204,7 @@ in
"match:class ^(vesktop)$, workspace 1 silent" "match:class ^(vesktop)$, workspace 1 silent"
"match:class ^(chrome-facebook.com__-Default)$, workspace 1" "match:class ^(chrome-facebook.com__-Default)$, workspace 1"
"match:class ^(zen)$, workspace 2" "match:class ^(zen)$, workspace 2"
"match:class ^(zen-beta)$, workspace 2"
"match:class ^(com.github.IsmaelMartinez.teams_for_linux)$, workspace 2" "match:class ^(com.github.IsmaelMartinez.teams_for_linux)$, workspace 2"
"match:class ^(FreeTube)$, workspace 2" "match:class ^(FreeTube)$, workspace 2"
"match:class ^(brave-x.com__-Default)$, workspace 2" "match:class ^(brave-x.com__-Default)$, workspace 2"
@@ -208,6 +216,7 @@ in
"match:class ^(net.lutris.Lutris)$, workspace 3" "match:class ^(net.lutris.Lutris)$, workspace 3"
"match:class ^(rpcs3)$, workspace 3" "match:class ^(rpcs3)$, workspace 3"
"match:class ^(winboat)$, workspace 5" "match:class ^(winboat)$, workspace 5"
"match:class ^(qemu)$, workspace 5"
"match:class ^(obsidian)$, workspace 6" "match:class ^(obsidian)$, workspace 6"
"match:class ^(gimp)$, workspace 8" "match:class ^(gimp)$, workspace 8"
"match:class .*potify, workspace 9 silent" "match:class .*potify, workspace 9 silent"
@@ -349,8 +358,6 @@ in
bindd = [ bindd = [
"$mainMod, F, Make app fullscreen, fullscreen" "$mainMod, F, Make app fullscreen, fullscreen"
"$mainMod, T, Toggle floating, togglefloating" "$mainMod, T, Toggle floating, togglefloating"
"$mainMod, P, Toggle pseudo, pseudo"
"$mainMod, S, Toggle split, togglesplit"
"$mainMod, Q, Kill active window, killactive" "$mainMod, Q, Kill active window, killactive"
]; ];
}; };

View File

@@ -1,9 +1,9 @@
{ isNixOS, lib, ... }: { userConfig, lib, ... }:
{ {
services.hyprlauncher = { services.hyprlauncher = {
enable = true; enable = true;
package = lib.mkIf (!isNixOS) null; package = lib.mkIf (!userConfig.isNixOS) null;
settings = { settings = {
cache.enabled = true; cache.enabled = true;

View File

@@ -1,9 +1,9 @@
{ isNixOS, lib, ... }: { userConfig, lib, ... }:
{ {
programs.hyprlock = { programs.hyprlock = {
enable = true; enable = true;
package = lib.mkIf (!isNixOS) null; package = lib.mkIf (!userConfig.isNixOS) null;
settings = { settings = {
"$font" = "Monospace"; "$font" = "Monospace";

View File

@@ -1,5 +1,5 @@
{ {
isNixOS, userConfig,
pkgs, pkgs,
... ...
}: }:
@@ -8,7 +8,7 @@
services.hyprsunset = { services.hyprsunset = {
enable = true; enable = true;
package = package =
if isNixOS then if userConfig.isNixOS then
pkgs.hyprsunset pkgs.hyprsunset
else else
(pkgs.writeShellScriptBin "hyprsunset" "exec /usr/bin/hyprsunset \"$@\""); (pkgs.writeShellScriptBin "hyprsunset" "exec /usr/bin/hyprsunset \"$@\"");

View File

@@ -2,9 +2,6 @@
{ {
home.packages = with pkgs; [ home.packages = with pkgs; [
waypaper
swww
gnupg
libnotify libnotify
cliphist cliphist
gh gh
@@ -22,5 +19,11 @@
slurp slurp
bc bc
nh nh
runc
]; ];
xdg.configFile."containers/containers.conf".text = ''
[engine]
runtime = "runc"
'';
} }

View File

@@ -59,5 +59,6 @@ in
videos = "$HOME/Video"; videos = "$HOME/Video";
templates = null; templates = null;
publicShare = null; publicShare = null;
setSessionVariables = true;
}; };
} }

View File

@@ -1,5 +1,5 @@
#!/usr/bin/env bash #!/usr/bin/env bash
set -e set -e
rsync -avh --no-links --delete --exclude=.* --exclude=dyski /home/szymon/ /mnt/backup/home/szymon/ rsync -avh --no-links --delete --exclude=.* --exclude=dyski /home/szymon/ /mnt/uwu_backup/home/szymon/
rsync -avh --no-links --delete --exclude=.* --exclude=dyski /home/szymon/ /mnt/backup_wd/home/szymon/ rsync -avh --no-links --delete --exclude=.* --exclude=dyski /home/szymon/ /mnt/wd_backup/home/szymon/