mirror of
https://github.com/szymon-jozef/amazing-dotfiles.git
synced 2026-09-07 20:20:43 +02:00
Compare commits
129 Commits
thinkpad
...
3fd48c0e3b
| Author | SHA1 | Date | |
|---|---|---|---|
| 3fd48c0e3b | |||
| 21d688754e | |||
| 71572218ae | |||
| ce671c7440 | |||
| 5ace7fac43 | |||
| b2eb274866 | |||
| c397420d56 | |||
| b206b41cf0 | |||
| 2dc61bdcd3 | |||
| 7133fcb823 | |||
| a4863c3c4f | |||
| 843129eeb1 | |||
| 740deb2519 | |||
| a6cd239eaf | |||
| 2971626335 | |||
| 5c5e184141 | |||
| b531e290d2 | |||
| d63944a9aa | |||
| 375389307b | |||
| 0f9855aff4 | |||
| ec868f65ad | |||
| cbcc5d00a1 | |||
| adc8ba3802 | |||
| beab2afa3c | |||
| 262ca1845c | |||
| 52525169cc | |||
| bb04235569 | |||
| 3100a4930f | |||
| de80b905d5 | |||
| 63aea4d9bf | |||
| 3502073527 | |||
| 091e2295ea | |||
| 06e9335403 | |||
| 04e08bcc1c | |||
| 85168c9ae2 | |||
| 8d07ed6be6 | |||
| c2fa7f803f | |||
| 408555cc47 | |||
| cdb5403c04 | |||
| 41959e08d1 | |||
| a62512d9b6 | |||
| efaaadb75e | |||
| e83c3edf26 | |||
| 2c7c484bb4 | |||
| 0aa23ec425 | |||
| bda596fa9d | |||
| 8ca17b6223 | |||
| afce7de729 | |||
| ab931a45c7 | |||
| 60679bad0b | |||
| 780abf3967 | |||
| a2e1a41d41 | |||
| 177e426d58 | |||
| 8b81015fd7 | |||
| c2821a6132 | |||
| 2e22e49b35 | |||
| 6b977a8416 | |||
| 0142567dfc | |||
| 7e75c2c895 | |||
| cb614c97e3 | |||
| 34566f9e5a | |||
| 17ee7e057d | |||
| 92bff3b748 | |||
| beb360aaa3 | |||
| 4f15f4c702 | |||
| 302fe9d948 | |||
| 591991d91f | |||
| b072cc6a5d | |||
| a07cb98151 | |||
| c0aed52d5a | |||
| 2054bacade | |||
| 55dd9dfd6d | |||
| 5d6f732723 | |||
| 7c45a9d042 | |||
| 5500f39c8c | |||
| 0749c86085 | |||
| 61026947d3 | |||
| 8ee4e578f3 | |||
| c658be8e17 | |||
| b519e6226a | |||
| 3389ca5a36 | |||
| 09e586f445 | |||
| 556236c0b9 | |||
| 3c30125a0f | |||
| 562586d932 | |||
| c97f6bc5fc | |||
| a5d49c1490 | |||
| 1eb08b32bc | |||
| 749e8c99fd | |||
| b2fcebb5af | |||
| d8ea7550f0 | |||
| 5f115d7d36 | |||
| 8c341b9052 | |||
| 847fb32980 | |||
| 05f1c95542 | |||
| 3d6e53a1f1 | |||
| b4a4064c3d | |||
| 7694e7e5f9 | |||
| a47ec37bab | |||
| 75719f3c5e | |||
| 04210f9d25 | |||
| 0b7364b4bd | |||
| 71e8871aa0 | |||
| de109a7dd9 | |||
| 27144d7e49 | |||
| b93e319d78 | |||
| 313050d577 | |||
| 272d026e54 | |||
| 0288a57961 | |||
| d24395e1bd | |||
| a7c5193cf7 | |||
| 529b52712e | |||
| 027a74e588 | |||
| 42193b3ab2 | |||
| 7c12cb82aa | |||
| 2886f0517b | |||
| 6f0d08bf48 | |||
| c4617cad86 | |||
| 16d9094435 | |||
| 96e33b9bc4 | |||
| 5889e11254 | |||
| ff8b2befb6 | |||
| 7e694f9994 | |||
| 9c545347a7 | |||
| 99aea6fed5 | |||
| 507f496a53 | |||
| 152ab8bfe1 | |||
| 997e669803 | |||
| cbc68e2b5a |
601
flake.lock
generated
601
flake.lock
generated
@@ -1,48 +1,17 @@
|
|||||||
{
|
{
|
||||||
"nodes": {
|
"nodes": {
|
||||||
"aquamarine": {
|
"catppuccin": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"hyprutils": [
|
|
||||||
"hyprland",
|
|
||||||
"hyprutils"
|
|
||||||
],
|
|
||||||
"hyprwayland-scanner": [
|
|
||||||
"hyprland",
|
|
||||||
"hyprwayland-scanner"
|
|
||||||
],
|
|
||||||
"nixpkgs": [
|
"nixpkgs": [
|
||||||
"hyprland",
|
|
||||||
"nixpkgs"
|
"nixpkgs"
|
||||||
],
|
|
||||||
"systems": [
|
|
||||||
"hyprland",
|
|
||||||
"systems"
|
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1771610171,
|
"lastModified": 1777024856,
|
||||||
"narHash": "sha256-+DeInuhbm6a6PpHDNUS7pozDouq2+8xSDefoNaZLW0E=",
|
"narHash": "sha256-OQ+yIcRMXo4UaHyX+W5DCgBvJ5dZo/3kFGWPJiuR6x8=",
|
||||||
"owner": "hyprwm",
|
|
||||||
"repo": "aquamarine",
|
|
||||||
"rev": "7f9eb087703ec4acc6b288d02fa9ea3db803cd3d",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "hyprwm",
|
|
||||||
"repo": "aquamarine",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"catppuccin": {
|
|
||||||
"inputs": {
|
|
||||||
"nixpkgs": "nixpkgs"
|
|
||||||
},
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1771587924,
|
|
||||||
"narHash": "sha256-eVYOGmF8nQBhudJyU6lHdgJI87kvGz8JyCq5/Vi9Mjk=",
|
|
||||||
"owner": "catppuccin",
|
"owner": "catppuccin",
|
||||||
"repo": "nix",
|
"repo": "nix",
|
||||||
"rev": "b0c65edbf31c2ad3d84438d82c2310f2c28373f3",
|
"rev": "f41cc1cf13647e482b7317396f749840ef715e16",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -51,22 +20,6 @@
|
|||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"flake-compat": {
|
|
||||||
"flake": false,
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1767039857,
|
|
||||||
"narHash": "sha256-vNpUSpF5Nuw8xvDLj2KCwwksIbjua2LZCqhV1LNRDns=",
|
|
||||||
"owner": "NixOS",
|
|
||||||
"repo": "flake-compat",
|
|
||||||
"rev": "5edf11c44bc78a0d334f6334cdaf7d60d732daab",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "NixOS",
|
|
||||||
"repo": "flake-compat",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"flake-parts": {
|
"flake-parts": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"nixpkgs-lib": [
|
"nixpkgs-lib": [
|
||||||
@@ -75,11 +28,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,25 +41,21 @@
|
|||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"gitignore": {
|
"flake-utils": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"nixpkgs": [
|
"systems": "systems_2"
|
||||||
"hyprland",
|
|
||||||
"pre-commit-hooks",
|
|
||||||
"nixpkgs"
|
|
||||||
]
|
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1709087332,
|
"lastModified": 1731533236,
|
||||||
"narHash": "sha256-HG2cCnktfHsKV0s4XW83gU3F57gaTljL9KNSuG6bnQs=",
|
"narHash": "sha256-l0KFg5HjrsfsO/JpG+r7fRrqm12kzFHyUHqHCVpMMbI=",
|
||||||
"owner": "hercules-ci",
|
"owner": "numtide",
|
||||||
"repo": "gitignore.nix",
|
"repo": "flake-utils",
|
||||||
"rev": "637db329424fd7e46cf4185293b9cc8c88c95394",
|
"rev": "11707dc2f618dd54ca8739b309ec4fc024de578b",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"owner": "hercules-ci",
|
"owner": "numtide",
|
||||||
"repo": "gitignore.nix",
|
"repo": "flake-utils",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -117,11 +66,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1771851181,
|
"lastModified": 1777218285,
|
||||||
"narHash": "sha256-gFgE6mGUftwseV3DUENMb0k0EiHd739lZexPo5O/sdQ=",
|
"narHash": "sha256-d2FY71SBVKVbT1PsfXA71jz0vD520NijS4lrcvUMeGk=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "home-manager",
|
"repo": "home-manager",
|
||||||
"rev": "9a4b494b1aa1b93d8edf167f46dc8e0c0011280c",
|
"rev": "c55c498c9aa205b16cca78b57a7275625726d532",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -130,336 +79,35 @@
|
|||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"hyprcursor": {
|
"hyprcursor-phinger": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"hyprlang": [
|
"nixpkgs": "nixpkgs"
|
||||||
"hyprland",
|
|
||||||
"hyprlang"
|
|
||||||
],
|
|
||||||
"nixpkgs": [
|
|
||||||
"hyprland",
|
|
||||||
"nixpkgs"
|
|
||||||
],
|
|
||||||
"systems": [
|
|
||||||
"hyprland",
|
|
||||||
"systems"
|
|
||||||
]
|
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1753964049,
|
"lastModified": 1763845612,
|
||||||
"narHash": "sha256-lIqabfBY7z/OANxHoPeIrDJrFyYy9jAM4GQLzZ2feCM=",
|
"narHash": "sha256-78zH5GrYa35bEkzeVnl8uXFbZ/zsiSHayjxZlNt+Xe8=",
|
||||||
"owner": "hyprwm",
|
"owner": "jappie3",
|
||||||
"repo": "hyprcursor",
|
"repo": "hyprcursor-phinger",
|
||||||
"rev": "44e91d467bdad8dcf8bbd2ac7cf49972540980a5",
|
"rev": "1207a845501a28e0e00d4a8e935ee0c9cab30650",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"owner": "hyprwm",
|
"owner": "jappie3",
|
||||||
"repo": "hyprcursor",
|
"repo": "hyprcursor-phinger",
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"hyprgraphics": {
|
|
||||||
"inputs": {
|
|
||||||
"hyprutils": [
|
|
||||||
"hyprland",
|
|
||||||
"hyprutils"
|
|
||||||
],
|
|
||||||
"nixpkgs": [
|
|
||||||
"hyprland",
|
|
||||||
"nixpkgs"
|
|
||||||
],
|
|
||||||
"systems": [
|
|
||||||
"hyprland",
|
|
||||||
"systems"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1770511807,
|
|
||||||
"narHash": "sha256-suKmSbSk34uPOJDTg/GbPrKEJutzK08vj0VoTvAFBCA=",
|
|
||||||
"owner": "hyprwm",
|
|
||||||
"repo": "hyprgraphics",
|
|
||||||
"rev": "7c75487edd43a71b61adb01cae8326d277aab683",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "hyprwm",
|
|
||||||
"repo": "hyprgraphics",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"hyprland": {
|
|
||||||
"inputs": {
|
|
||||||
"aquamarine": "aquamarine",
|
|
||||||
"hyprcursor": "hyprcursor",
|
|
||||||
"hyprgraphics": "hyprgraphics",
|
|
||||||
"hyprland-guiutils": "hyprland-guiutils",
|
|
||||||
"hyprland-protocols": "hyprland-protocols",
|
|
||||||
"hyprlang": "hyprlang",
|
|
||||||
"hyprutils": "hyprutils",
|
|
||||||
"hyprwayland-scanner": "hyprwayland-scanner",
|
|
||||||
"hyprwire": "hyprwire",
|
|
||||||
"nixpkgs": "nixpkgs_2",
|
|
||||||
"pre-commit-hooks": "pre-commit-hooks",
|
|
||||||
"systems": "systems",
|
|
||||||
"xdph": "xdph"
|
|
||||||
},
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1772022552,
|
|
||||||
"narHash": "sha256-L3zktLSXcvsqczTz7YL5PXYgn4a08tRfl9t6YYLESM8=",
|
|
||||||
"owner": "hyprwm",
|
|
||||||
"repo": "Hyprland",
|
|
||||||
"rev": "457617b5a31f70ea63e1fcc0729f29e4a9e6b486",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "hyprwm",
|
|
||||||
"repo": "Hyprland",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"hyprland-guiutils": {
|
|
||||||
"inputs": {
|
|
||||||
"aquamarine": [
|
|
||||||
"hyprland",
|
|
||||||
"aquamarine"
|
|
||||||
],
|
|
||||||
"hyprgraphics": [
|
|
||||||
"hyprland",
|
|
||||||
"hyprgraphics"
|
|
||||||
],
|
|
||||||
"hyprlang": [
|
|
||||||
"hyprland",
|
|
||||||
"hyprlang"
|
|
||||||
],
|
|
||||||
"hyprtoolkit": "hyprtoolkit",
|
|
||||||
"hyprutils": [
|
|
||||||
"hyprland",
|
|
||||||
"hyprutils"
|
|
||||||
],
|
|
||||||
"hyprwayland-scanner": [
|
|
||||||
"hyprland",
|
|
||||||
"hyprwayland-scanner"
|
|
||||||
],
|
|
||||||
"nixpkgs": [
|
|
||||||
"hyprland",
|
|
||||||
"nixpkgs"
|
|
||||||
],
|
|
||||||
"systems": [
|
|
||||||
"hyprland",
|
|
||||||
"systems"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1767023960,
|
|
||||||
"narHash": "sha256-R2HgtVS1G3KSIKAQ77aOZ+Q0HituOmPgXW9nBNkpp3Q=",
|
|
||||||
"owner": "hyprwm",
|
|
||||||
"repo": "hyprland-guiutils",
|
|
||||||
"rev": "c2e906261142f5dd1ee0bfc44abba23e2754c660",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "hyprwm",
|
|
||||||
"repo": "hyprland-guiutils",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"hyprland-protocols": {
|
|
||||||
"inputs": {
|
|
||||||
"nixpkgs": [
|
|
||||||
"hyprland",
|
|
||||||
"nixpkgs"
|
|
||||||
],
|
|
||||||
"systems": [
|
|
||||||
"hyprland",
|
|
||||||
"systems"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1765214753,
|
|
||||||
"narHash": "sha256-P9zdGXOzToJJgu5sVjv7oeOGPIIwrd9hAUAP3PsmBBs=",
|
|
||||||
"owner": "hyprwm",
|
|
||||||
"repo": "hyprland-protocols",
|
|
||||||
"rev": "3f3860b869014c00e8b9e0528c7b4ddc335c21ab",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "hyprwm",
|
|
||||||
"repo": "hyprland-protocols",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"hyprlang": {
|
|
||||||
"inputs": {
|
|
||||||
"hyprutils": [
|
|
||||||
"hyprland",
|
|
||||||
"hyprutils"
|
|
||||||
],
|
|
||||||
"nixpkgs": [
|
|
||||||
"hyprland",
|
|
||||||
"nixpkgs"
|
|
||||||
],
|
|
||||||
"systems": [
|
|
||||||
"hyprland",
|
|
||||||
"systems"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1771866172,
|
|
||||||
"narHash": "sha256-fYFoXhQLrm1rD8vSFKQBOEX4OGCuJdLt1amKfHd5GAw=",
|
|
||||||
"owner": "hyprwm",
|
|
||||||
"repo": "hyprlang",
|
|
||||||
"rev": "0b219224910e7642eb0ed49f0db5ec3d008e3e41",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "hyprwm",
|
|
||||||
"repo": "hyprlang",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"hyprtoolkit": {
|
|
||||||
"inputs": {
|
|
||||||
"aquamarine": [
|
|
||||||
"hyprland",
|
|
||||||
"hyprland-guiutils",
|
|
||||||
"aquamarine"
|
|
||||||
],
|
|
||||||
"hyprgraphics": [
|
|
||||||
"hyprland",
|
|
||||||
"hyprland-guiutils",
|
|
||||||
"hyprgraphics"
|
|
||||||
],
|
|
||||||
"hyprlang": [
|
|
||||||
"hyprland",
|
|
||||||
"hyprland-guiutils",
|
|
||||||
"hyprlang"
|
|
||||||
],
|
|
||||||
"hyprutils": [
|
|
||||||
"hyprland",
|
|
||||||
"hyprland-guiutils",
|
|
||||||
"hyprutils"
|
|
||||||
],
|
|
||||||
"hyprwayland-scanner": [
|
|
||||||
"hyprland",
|
|
||||||
"hyprland-guiutils",
|
|
||||||
"hyprwayland-scanner"
|
|
||||||
],
|
|
||||||
"nixpkgs": [
|
|
||||||
"hyprland",
|
|
||||||
"hyprland-guiutils",
|
|
||||||
"nixpkgs"
|
|
||||||
],
|
|
||||||
"systems": [
|
|
||||||
"hyprland",
|
|
||||||
"hyprland-guiutils",
|
|
||||||
"systems"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1764592794,
|
|
||||||
"narHash": "sha256-7CcO+wbTJ1L1NBQHierHzheQGPWwkIQug/w+fhTAVuU=",
|
|
||||||
"owner": "hyprwm",
|
|
||||||
"repo": "hyprtoolkit",
|
|
||||||
"rev": "5cfe0743f0e608e1462972303778d8a0859ee63e",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "hyprwm",
|
|
||||||
"repo": "hyprtoolkit",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"hyprutils": {
|
|
||||||
"inputs": {
|
|
||||||
"nixpkgs": [
|
|
||||||
"hyprland",
|
|
||||||
"nixpkgs"
|
|
||||||
],
|
|
||||||
"systems": [
|
|
||||||
"hyprland",
|
|
||||||
"systems"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1771271487,
|
|
||||||
"narHash": "sha256-41gEiUS0Pyw3L/ge1l8MXn61cK14VAhgWB/JV8s/oNI=",
|
|
||||||
"owner": "hyprwm",
|
|
||||||
"repo": "hyprutils",
|
|
||||||
"rev": "340a792e3b3d482c4ae5f66d27a9096bdee6d76d",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "hyprwm",
|
|
||||||
"repo": "hyprutils",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"hyprwayland-scanner": {
|
|
||||||
"inputs": {
|
|
||||||
"nixpkgs": [
|
|
||||||
"hyprland",
|
|
||||||
"nixpkgs"
|
|
||||||
],
|
|
||||||
"systems": [
|
|
||||||
"hyprland",
|
|
||||||
"systems"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1770501770,
|
|
||||||
"narHash": "sha256-NWRM6+YxTRv+bT9yvlhhJ2iLae1B1pNH3mAL5wi2rlQ=",
|
|
||||||
"owner": "hyprwm",
|
|
||||||
"repo": "hyprwayland-scanner",
|
|
||||||
"rev": "0bd8b6cde9ec27d48aad9e5b4deefb3746909d40",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "hyprwm",
|
|
||||||
"repo": "hyprwayland-scanner",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"hyprwire": {
|
|
||||||
"inputs": {
|
|
||||||
"hyprutils": [
|
|
||||||
"hyprland",
|
|
||||||
"hyprutils"
|
|
||||||
],
|
|
||||||
"nixpkgs": [
|
|
||||||
"hyprland",
|
|
||||||
"nixpkgs"
|
|
||||||
],
|
|
||||||
"systems": [
|
|
||||||
"hyprland",
|
|
||||||
"systems"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1771606233,
|
|
||||||
"narHash": "sha256-F3PLUqQ/TwgR70U+UeOqJnihJZ2EuunzojYC4g5xHr0=",
|
|
||||||
"owner": "hyprwm",
|
|
||||||
"repo": "hyprwire",
|
|
||||||
"rev": "06c7f1f8c4194786c8400653c4efc49dc14c0f3a",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "hyprwm",
|
|
||||||
"repo": "hyprwire",
|
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"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,27 +115,11 @@
|
|||||||
},
|
},
|
||||||
"nixpkgs_2": {
|
"nixpkgs_2": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1771848320,
|
"lastModified": 1776877367,
|
||||||
"narHash": "sha256-0MAd+0mun3K/Ns8JATeHT1sX28faLII5hVLq0L3BdZU=",
|
"narHash": "sha256-EHq1/OX139R1RvBzOJ0aMRT3xnWyqtHBRUBuO1gFzjI=",
|
||||||
"owner": "NixOS",
|
|
||||||
"repo": "nixpkgs",
|
|
||||||
"rev": "2fc6539b481e1d2569f25f8799236694180c0993",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "NixOS",
|
|
||||||
"ref": "nixos-unstable",
|
|
||||||
"repo": "nixpkgs",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"nixpkgs_3": {
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1771369470,
|
|
||||||
"narHash": "sha256-0NBlEBKkN3lufyvFegY4TYv5mCNHbi5OmBDrzihbBMQ=",
|
|
||||||
"owner": "nixos",
|
"owner": "nixos",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "0182a361324364ae3f436a63005877674cf45efb",
|
"rev": "0726a0ecb6d4e08f6adced58726b95db924cef57",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -503,14 +135,14 @@
|
|||||||
"nixpkgs": [
|
"nixpkgs": [
|
||||||
"nixpkgs"
|
"nixpkgs"
|
||||||
],
|
],
|
||||||
"systems": "systems_2"
|
"systems": "systems"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1771135771,
|
"lastModified": 1777218776,
|
||||||
"narHash": "sha256-wyvBIhDuyCRyjB3yPg77qoyxrlgQtBR1rVW3c9knV3E=",
|
"narHash": "sha256-8juiX5HT2Bp4+qXLCFNRdIL10X8ySiAbgl/QhJDt+24=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "nixvim",
|
"repo": "nixvim",
|
||||||
"rev": "ed0424f0b08d303a7348f52f7850ad1b2704f9ba",
|
"rev": "d404af65e951f648272d178a34cbb2292fb93689",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -519,26 +151,53 @@
|
|||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"pre-commit-hooks": {
|
"pyproject-build-systems": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"flake-compat": "flake-compat",
|
|
||||||
"gitignore": "gitignore",
|
|
||||||
"nixpkgs": [
|
"nixpkgs": [
|
||||||
"hyprland",
|
"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"
|
"nixpkgs"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1771858127,
|
"lastModified": 1771518446,
|
||||||
"narHash": "sha256-Gtre9YoYl3n25tJH2AoSdjuwcqij5CPxL3U3xysYD08=",
|
"narHash": "sha256-nFJSfD89vWTu92KyuJWDoTQJuoDuddkJV3TlOl1cOic=",
|
||||||
"owner": "cachix",
|
"owner": "pyproject-nix",
|
||||||
"repo": "git-hooks.nix",
|
"repo": "pyproject.nix",
|
||||||
"rev": "49bbbfc218bf3856dfa631cead3b052d78248b83",
|
"rev": "eb204c6b3335698dec6c7fc1da0ebc3c6df05937",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"owner": "cachix",
|
"owner": "pyproject-nix",
|
||||||
"repo": "git-hooks.nix",
|
"repo": "pyproject.nix",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -546,24 +205,26 @@
|
|||||||
"inputs": {
|
"inputs": {
|
||||||
"catppuccin": "catppuccin",
|
"catppuccin": "catppuccin",
|
||||||
"home-manager": "home-manager",
|
"home-manager": "home-manager",
|
||||||
"hyprland": "hyprland",
|
"hyprcursor-phinger": "hyprcursor-phinger",
|
||||||
"nixpkgs": "nixpkgs_3",
|
"nixpkgs": "nixpkgs_2",
|
||||||
"nixvim": "nixvim",
|
"nixvim": "nixvim",
|
||||||
"wallpapers": "wallpapers"
|
"wallpapers": "wallpapers",
|
||||||
|
"zut-calendar": "zut-calendar",
|
||||||
|
"zutui": "zutui"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"systems": {
|
"systems": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1689347949,
|
"lastModified": 1681028828,
|
||||||
"narHash": "sha256-12tWmuL2zgBgZkdoB6qXZsgJEH9LR3oUgpaQq2RbI80=",
|
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
|
||||||
"owner": "nix-systems",
|
"owner": "nix-systems",
|
||||||
"repo": "default-linux",
|
"repo": "default",
|
||||||
"rev": "31732fcf5e8fea42e59c2488ad31a0e651500f68",
|
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"owner": "nix-systems",
|
"owner": "nix-systems",
|
||||||
"repo": "default-linux",
|
"repo": "default",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -582,6 +243,31 @@
|
|||||||
"type": "github"
|
"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": {
|
||||||
@@ -598,44 +284,47 @@
|
|||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"xdph": {
|
"zut-calendar": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"hyprland-protocols": [
|
|
||||||
"hyprland",
|
|
||||||
"hyprland-protocols"
|
|
||||||
],
|
|
||||||
"hyprlang": [
|
|
||||||
"hyprland",
|
|
||||||
"hyprlang"
|
|
||||||
],
|
|
||||||
"hyprutils": [
|
|
||||||
"hyprland",
|
|
||||||
"hyprutils"
|
|
||||||
],
|
|
||||||
"hyprwayland-scanner": [
|
|
||||||
"hyprland",
|
|
||||||
"hyprwayland-scanner"
|
|
||||||
],
|
|
||||||
"nixpkgs": [
|
"nixpkgs": [
|
||||||
"hyprland",
|
|
||||||
"nixpkgs"
|
"nixpkgs"
|
||||||
],
|
],
|
||||||
"systems": [
|
"pyproject-build-systems": "pyproject-build-systems",
|
||||||
"hyprland",
|
"pyproject-nix": "pyproject-nix",
|
||||||
"systems"
|
"uv2nix": "uv2nix"
|
||||||
]
|
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1761431178,
|
"lastModified": 1773515729,
|
||||||
"narHash": "sha256-xzjC1CV3+wpUQKNF+GnadnkeGUCJX+vgaWIZsnz9tzI=",
|
"narHash": "sha256-+TfrJdqRxmzarLednTCFfxDi1uGNYnIbtyLAFw2Pj0U=",
|
||||||
"owner": "hyprwm",
|
"owner": "szymon-jozef",
|
||||||
"repo": "xdg-desktop-portal-hyprland",
|
"repo": "zut-calendar",
|
||||||
"rev": "4b8801228ff958d028f588f0c2b911dbf32297f9",
|
"rev": "3284491807e196414445326d11913b43e7a0225f",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"owner": "hyprwm",
|
"owner": "szymon-jozef",
|
||||||
"repo": "xdg-desktop-portal-hyprland",
|
"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"
|
"type": "github"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
139
flake.nix
139
flake.nix
@@ -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 = "eDP-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
1
hash.txt
Normal file
@@ -0,0 +1 @@
|
|||||||
|
got: sha256-IGkP0z8gJj1dbNclpMebZXZvaRby1F8zGNEDPtitfqo=
|
||||||
21
home.nix
21
home.nix
@@ -21,7 +21,7 @@
|
|||||||
catppuccin = {
|
catppuccin = {
|
||||||
enable = true;
|
enable = true;
|
||||||
flavor = "mocha";
|
flavor = "mocha";
|
||||||
accent = "mauve";
|
accent = "sapphire";
|
||||||
};
|
};
|
||||||
|
|
||||||
imports = [
|
imports = [
|
||||||
@@ -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;
|
||||||
|
|||||||
0
install_nix_and_home_manager_on_arch.sh
Normal file → Executable file
0
install_nix_and_home_manager_on_arch.sh
Normal file → Executable 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 ];
|
||||||
@@ -18,7 +17,7 @@
|
|||||||
modules = {
|
modules = {
|
||||||
|
|
||||||
left = [
|
left = [
|
||||||
"Clock"
|
"Tempo"
|
||||||
"Workspaces"
|
"Workspaces"
|
||||||
];
|
];
|
||||||
center = [ "WindowTitle" ];
|
center = [ "WindowTitle" ];
|
||||||
@@ -67,8 +66,13 @@
|
|||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
clock = {
|
tempo = {
|
||||||
format = "%H:%M | %e.%m ";
|
clock_format = "%H:%M | %e.%m ";
|
||||||
|
};
|
||||||
|
|
||||||
|
media_player = {
|
||||||
|
max_title_length = 50;
|
||||||
|
indicator_format = "Icon";
|
||||||
};
|
};
|
||||||
|
|
||||||
settings = {
|
settings = {
|
||||||
@@ -77,7 +81,7 @@
|
|||||||
|
|
||||||
appearance = {
|
appearance = {
|
||||||
scale_factor = 1.2;
|
scale_factor = 1.2;
|
||||||
style = "Gradient";
|
style = "Islands";
|
||||||
success_color = "#a6e3a1";
|
success_color = "#a6e3a1";
|
||||||
text_color = "#cdd6f4";
|
text_color = "#cdd6f4";
|
||||||
workspace_colors = [
|
workspace_colors = [
|
||||||
|
|||||||
@@ -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";
|
||||||
|
|||||||
@@ -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;
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -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";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -41,6 +41,7 @@
|
|||||||
"node_modules"
|
"node_modules"
|
||||||
"result"
|
"result"
|
||||||
"__pycache__"
|
"__pycache__"
|
||||||
|
".direnv"
|
||||||
];
|
];
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -100,6 +100,39 @@
|
|||||||
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";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
mode = "n";
|
||||||
|
key = "<leader>cr";
|
||||||
|
action = ":w<CR>:TermExec cmd='mkdir -p ./out && g++ \"%\" -o \"./out/%:r\" && ./out/\"%:r\"'<CR>";
|
||||||
|
options = {
|
||||||
|
desc = "Compile and run current cpp file";
|
||||||
|
silent = true;
|
||||||
|
};
|
||||||
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
autoGroups = {
|
autoGroups = {
|
||||||
@@ -169,7 +202,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,11 +251,18 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
indent-blankline = {
|
cursorline = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings.scope.enabled = true;
|
timeout = 0;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
mini-indentscope = {
|
||||||
|
enable = true;
|
||||||
|
settings.draw.delay = 0;
|
||||||
|
};
|
||||||
|
|
||||||
|
toggleterm.enable = true;
|
||||||
|
|
||||||
cmp = {
|
cmp = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = {
|
settings = {
|
||||||
|
|||||||
@@ -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;
|
||||||
|
|||||||
@@ -4,6 +4,7 @@
|
|||||||
gtk = {
|
gtk = {
|
||||||
enable = true;
|
enable = true;
|
||||||
colorScheme = "dark";
|
colorScheme = "dark";
|
||||||
|
gtk4.theme = null;
|
||||||
};
|
};
|
||||||
|
|
||||||
dconf = {
|
dconf = {
|
||||||
|
|||||||
@@ -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;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,18 +1,18 @@
|
|||||||
{ 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;
|
||||||
enable_audio_bell = false;
|
enable_audio_bell = false;
|
||||||
mouse_hide_wait = "-1.0";
|
mouse_hide_wait = "-1.0";
|
||||||
window_padding_width = 10;
|
window_padding_width = 10;
|
||||||
background_opacity = "0.5";
|
background_opacity = "0.95";
|
||||||
font_size = 14;
|
font_size = 12;
|
||||||
background_blur = 5;
|
background_blur = 15;
|
||||||
symbol_map =
|
symbol_map =
|
||||||
let
|
let
|
||||||
mappings = [
|
mappings = [
|
||||||
|
|||||||
@@ -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"
|
||||||
|
|||||||
@@ -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 = ''
|
||||||
|
|||||||
@@ -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 = ''
|
||||||
|
|||||||
@@ -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 = {
|
||||||
|
|||||||
@@ -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;
|
||||||
|
|||||||
@@ -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 = {
|
||||||
|
|||||||
@@ -1,12 +1,12 @@
|
|||||||
{
|
{
|
||||||
isNixOS,
|
|
||||||
lib,
|
lib,
|
||||||
userConfig,
|
userConfig,
|
||||||
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";
|
||||||
@@ -14,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";
|
||||||
@@ -24,15 +24,23 @@ in
|
|||||||
{
|
{
|
||||||
wayland.windowManager.hyprland = {
|
wayland.windowManager.hyprland = {
|
||||||
enable = true;
|
enable = true;
|
||||||
package = lib.mkIf (!isNixOS) null;
|
package =
|
||||||
|
if userConfig.isNixOS then
|
||||||
|
# inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.hyprland
|
||||||
|
pkgs.hyprland
|
||||||
|
else
|
||||||
|
null;
|
||||||
|
#portalPackage = lib.mkIf (userConfig.isNixOS
|
||||||
|
#) inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.xdg-desktop-portal-hyprland;
|
||||||
|
xwayland.enable = true;
|
||||||
|
|
||||||
settings = {
|
settings = {
|
||||||
"$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 = [
|
||||||
@@ -50,11 +58,11 @@ in
|
|||||||
"col.inactive_border" = "$overlay1";
|
"col.inactive_border" = "$overlay1";
|
||||||
resize_on_border = false;
|
resize_on_border = false;
|
||||||
allow_tearing = false;
|
allow_tearing = false;
|
||||||
layout = "dwindle";
|
layout = "scrolling";
|
||||||
};
|
};
|
||||||
|
|
||||||
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"
|
||||||
@@ -102,7 +110,6 @@ in
|
|||||||
};
|
};
|
||||||
|
|
||||||
dwindle = {
|
dwindle = {
|
||||||
pseudotile = true;
|
|
||||||
preserve_split = true;
|
preserve_split = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -129,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;
|
||||||
@@ -162,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"
|
||||||
@@ -191,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"
|
||||||
@@ -202,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"
|
||||||
@@ -343,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"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -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;
|
||||||
|
|||||||
@@ -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";
|
||||||
|
|||||||
@@ -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 \"$@\"");
|
||||||
|
|||||||
@@ -19,5 +19,11 @@
|
|||||||
slurp
|
slurp
|
||||||
bc
|
bc
|
||||||
nh
|
nh
|
||||||
|
runc
|
||||||
];
|
];
|
||||||
|
|
||||||
|
xdg.configFile."containers/containers.conf".text = ''
|
||||||
|
[engine]
|
||||||
|
runtime = "runc"
|
||||||
|
'';
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -59,5 +59,6 @@ in
|
|||||||
videos = "$HOME/Video";
|
videos = "$HOME/Video";
|
||||||
templates = null;
|
templates = null;
|
||||||
publicShare = null;
|
publicShare = null;
|
||||||
|
setSessionVariables = true;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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/
|
||||||
|
|||||||
Reference in New Issue
Block a user