hyprland module consolidation and some refactoring
This commit is contained in:
724
flake.lock
generated
724
flake.lock
generated
@@ -41,39 +41,6 @@
|
|||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"aquamarine": {
|
|
||||||
"inputs": {
|
|
||||||
"hyprutils": [
|
|
||||||
"hyprland",
|
|
||||||
"hyprutils"
|
|
||||||
],
|
|
||||||
"hyprwayland-scanner": [
|
|
||||||
"hyprland",
|
|
||||||
"hyprwayland-scanner"
|
|
||||||
],
|
|
||||||
"nixpkgs": [
|
|
||||||
"hyprland",
|
|
||||||
"nixpkgs"
|
|
||||||
],
|
|
||||||
"systems": [
|
|
||||||
"hyprland",
|
|
||||||
"systems"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1729527199,
|
|
||||||
"narHash": "sha256-D5/YksfRga8Akd04ZtIkuYSIOjXVrAzQIQBSeplokzU=",
|
|
||||||
"owner": "hyprwm",
|
|
||||||
"repo": "aquamarine",
|
|
||||||
"rev": "8d732fa8aff8b12ef2b1e2f00fc8153e41312b72",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "hyprwm",
|
|
||||||
"repo": "aquamarine",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"chaotic": {
|
"chaotic": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"flake-schemas": "flake-schemas",
|
"flake-schemas": "flake-schemas",
|
||||||
@@ -111,11 +78,11 @@
|
|||||||
},
|
},
|
||||||
"crane_2": {
|
"crane_2": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1728776144,
|
"lastModified": 1730060262,
|
||||||
"narHash": "sha256-fROVjMcKRoGHofDm8dY3uDUtCMwUICh/KjBFQnuBzfg=",
|
"narHash": "sha256-RMgSVkZ9H03sxC+Vh4jxtLTCzSjPq18UWpiM0gq6shQ=",
|
||||||
"owner": "ipetkov",
|
"owner": "ipetkov",
|
||||||
"repo": "crane",
|
"repo": "crane",
|
||||||
"rev": "f876e3d905b922502f031aeec1a84490122254b7",
|
"rev": "498d9f122c413ee1154e8131ace5a35a80d8fa76",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -154,11 +121,11 @@
|
|||||||
"rust-analyzer-src": "rust-analyzer-src"
|
"rust-analyzer-src": "rust-analyzer-src"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1730010749,
|
"lastModified": 1730183653,
|
||||||
"narHash": "sha256-UBckyKItSD0z50+3YQOqfOuyvUI7UjPHiLbOPFUolqo=",
|
"narHash": "sha256-dcJGcoDgNBxTagW8kECwBKsRBA1ZITtQ+p3N6KHg5ps=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "fenix",
|
"repo": "fenix",
|
||||||
"rev": "5fa09829e74070c1e83b2aaa50b71bbc6da3f37c",
|
"rev": "dc19afc39af5f5e69fca78ebae59170e61017df8",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -198,22 +165,6 @@
|
|||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"flake-compat_3": {
|
|
||||||
"flake": false,
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1696426674,
|
|
||||||
"narHash": "sha256-kvjfFW7WAETZlt09AgDn1MrtKzP7t90Vf7vypd3OL1U=",
|
|
||||||
"owner": "edolstra",
|
|
||||||
"repo": "flake-compat",
|
|
||||||
"rev": "0f9255e01c2351cc7d116c072cb317785dd33b33",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "edolstra",
|
|
||||||
"repo": "flake-compat",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"flake-parts": {
|
"flake-parts": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"nixpkgs-lib": [
|
"nixpkgs-lib": [
|
||||||
@@ -297,6 +248,24 @@
|
|||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"flake-parts_5": {
|
||||||
|
"inputs": {
|
||||||
|
"nixpkgs-lib": "nixpkgs-lib"
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1727826117,
|
||||||
|
"narHash": "sha256-K5ZLCyfO/Zj9mPFldf3iwS6oZStJcU4tSpiXTMYaaL0=",
|
||||||
|
"owner": "hercules-ci",
|
||||||
|
"repo": "flake-parts",
|
||||||
|
"rev": "3d04084d54bedc3d6b8b736c70ef449225c361b1",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "hercules-ci",
|
||||||
|
"repo": "flake-parts",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
"flake-schemas": {
|
"flake-schemas": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1721999734,
|
"lastModified": 1721999734,
|
||||||
@@ -350,28 +319,6 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"gitignore": {
|
"gitignore": {
|
||||||
"inputs": {
|
|
||||||
"nixpkgs": [
|
|
||||||
"hyprland",
|
|
||||||
"pre-commit-hooks",
|
|
||||||
"nixpkgs"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1709087332,
|
|
||||||
"narHash": "sha256-HG2cCnktfHsKV0s4XW83gU3F57gaTljL9KNSuG6bnQs=",
|
|
||||||
"owner": "hercules-ci",
|
|
||||||
"repo": "gitignore.nix",
|
|
||||||
"rev": "637db329424fd7e46cf4185293b9cc8c88c95394",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "hercules-ci",
|
|
||||||
"repo": "gitignore.nix",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"gitignore_2": {
|
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"nixpkgs": [
|
"nixpkgs": [
|
||||||
"lanzaboote",
|
"lanzaboote",
|
||||||
@@ -395,11 +342,11 @@
|
|||||||
},
|
},
|
||||||
"hardware": {
|
"hardware": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1729742320,
|
"lastModified": 1730161780,
|
||||||
"narHash": "sha256-u3Of8xRkN//me8PU+RucKA59/6RNy4B2jcGAF36P4jI=",
|
"narHash": "sha256-z5ILcmwMtiCoHTXS1KsQWqigO7HJO8sbyK7f7wn9F/E=",
|
||||||
"owner": "nixos",
|
"owner": "nixos",
|
||||||
"repo": "nixos-hardware",
|
"repo": "nixos-hardware",
|
||||||
"rev": "e8a2f6d5513fe7b7d15701b2d05404ffdc3b6dda",
|
"rev": "07d15e8990d5d86a631641b4c429bc0a7400cfb8",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -429,31 +376,6 @@
|
|||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"hercules-ci-effects": {
|
|
||||||
"inputs": {
|
|
||||||
"flake-parts": [
|
|
||||||
"nixpak",
|
|
||||||
"flake-parts"
|
|
||||||
],
|
|
||||||
"nixpkgs": [
|
|
||||||
"nixpak",
|
|
||||||
"nixpkgs"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1724947644,
|
|
||||||
"narHash": "sha256-MHHrHasTngp7EYQOObHJ1a/IsRF+wodHqOckhH6uZbk=",
|
|
||||||
"owner": "hercules-ci",
|
|
||||||
"repo": "hercules-ci-effects",
|
|
||||||
"rev": "dba4367b9a9d9615456c430a6d6af716f6e84cef",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "hercules-ci",
|
|
||||||
"repo": "hercules-ci-effects",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"hm": {
|
"hm": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"nixpkgs": [
|
"nixpkgs": [
|
||||||
@@ -516,341 +438,6 @@
|
|||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"hyprcursor": {
|
|
||||||
"inputs": {
|
|
||||||
"hyprlang": [
|
|
||||||
"hyprland",
|
|
||||||
"hyprlang"
|
|
||||||
],
|
|
||||||
"nixpkgs": [
|
|
||||||
"hyprland",
|
|
||||||
"nixpkgs"
|
|
||||||
],
|
|
||||||
"systems": [
|
|
||||||
"hyprland",
|
|
||||||
"systems"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1728669738,
|
|
||||||
"narHash": "sha256-EDNAU9AYcx8OupUzbTbWE1d3HYdeG0wO6Msg3iL1muk=",
|
|
||||||
"owner": "hyprwm",
|
|
||||||
"repo": "hyprcursor",
|
|
||||||
"rev": "0264e698149fcb857a66a53018157b41f8d97bb0",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "hyprwm",
|
|
||||||
"repo": "hyprcursor",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"hypridle": {
|
|
||||||
"inputs": {
|
|
||||||
"hyprlang": [
|
|
||||||
"hyprland",
|
|
||||||
"hyprlang"
|
|
||||||
],
|
|
||||||
"hyprutils": [
|
|
||||||
"hyprland",
|
|
||||||
"hyprutils"
|
|
||||||
],
|
|
||||||
"nixpkgs": [
|
|
||||||
"hyprland",
|
|
||||||
"nixpkgs"
|
|
||||||
],
|
|
||||||
"systems": [
|
|
||||||
"hyprland",
|
|
||||||
"systems"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1729679960,
|
|
||||||
"narHash": "sha256-RoFKwZsx4RHKUwO8LhEZtmI08VBVrWt3TdzoJgx1HJ0=",
|
|
||||||
"owner": "hyprwm",
|
|
||||||
"repo": "hypridle",
|
|
||||||
"rev": "4d2fb9e73eb6b75336ed3eb198e900f94ada24f4",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "hyprwm",
|
|
||||||
"repo": "hypridle",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"hyprland": {
|
|
||||||
"inputs": {
|
|
||||||
"aquamarine": "aquamarine",
|
|
||||||
"hyprcursor": "hyprcursor",
|
|
||||||
"hyprland-protocols": "hyprland-protocols",
|
|
||||||
"hyprlang": "hyprlang",
|
|
||||||
"hyprutils": "hyprutils",
|
|
||||||
"hyprwayland-scanner": "hyprwayland-scanner",
|
|
||||||
"nixpkgs": "nixpkgs_5",
|
|
||||||
"pre-commit-hooks": "pre-commit-hooks",
|
|
||||||
"systems": "systems_4",
|
|
||||||
"xdph": "xdph"
|
|
||||||
},
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1729989895,
|
|
||||||
"narHash": "sha256-IFctdjt+v7zRDe24Y8+BdVDaKy0pmn60FWDzpYg4CT0=",
|
|
||||||
"owner": "hyprwm",
|
|
||||||
"repo": "hyprland",
|
|
||||||
"rev": "a3d3b4fd64a51a8c1663b450bd2a408f1f0fa9b3",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "hyprwm",
|
|
||||||
"repo": "hyprland",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"hyprland-contrib": {
|
|
||||||
"inputs": {
|
|
||||||
"nixpkgs": [
|
|
||||||
"hyprland",
|
|
||||||
"nixpkgs"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1729224425,
|
|
||||||
"narHash": "sha256-w9dNUedNe2qnhHuhcRf7A1l29+/6DxdMfwN6g4U3c/w=",
|
|
||||||
"owner": "hyprwm",
|
|
||||||
"repo": "contrib",
|
|
||||||
"rev": "d72bc8b1cd30d448bd438e8328f8eeb4c0f2ddb6",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "hyprwm",
|
|
||||||
"repo": "contrib",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"hyprland-protocols": {
|
|
||||||
"inputs": {
|
|
||||||
"nixpkgs": [
|
|
||||||
"hyprland",
|
|
||||||
"nixpkgs"
|
|
||||||
],
|
|
||||||
"systems": [
|
|
||||||
"hyprland",
|
|
||||||
"systems"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1728345020,
|
|
||||||
"narHash": "sha256-xGbkc7U/Roe0/Cv3iKlzijIaFBNguasI31ynL2IlEoM=",
|
|
||||||
"owner": "hyprwm",
|
|
||||||
"repo": "hyprland-protocols",
|
|
||||||
"rev": "a7c183800e74f337753de186522b9017a07a8cee",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "hyprwm",
|
|
||||||
"repo": "hyprland-protocols",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"hyprlang": {
|
|
||||||
"inputs": {
|
|
||||||
"hyprutils": [
|
|
||||||
"hyprland",
|
|
||||||
"hyprutils"
|
|
||||||
],
|
|
||||||
"nixpkgs": [
|
|
||||||
"hyprland",
|
|
||||||
"nixpkgs"
|
|
||||||
],
|
|
||||||
"systems": [
|
|
||||||
"hyprland",
|
|
||||||
"systems"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1728168612,
|
|
||||||
"narHash": "sha256-AnB1KfiXINmuiW7BALYrKqcjCnsLZPifhb/7BsfPbns=",
|
|
||||||
"owner": "hyprwm",
|
|
||||||
"repo": "hyprlang",
|
|
||||||
"rev": "f054f2e44d6a0b74607a6bc0f52dba337a3db38e",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "hyprwm",
|
|
||||||
"repo": "hyprlang",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"hyprlock": {
|
|
||||||
"inputs": {
|
|
||||||
"hyprlang": [
|
|
||||||
"hyprland",
|
|
||||||
"hyprlang"
|
|
||||||
],
|
|
||||||
"hyprutils": [
|
|
||||||
"hyprland",
|
|
||||||
"hyprutils"
|
|
||||||
],
|
|
||||||
"nixpkgs": [
|
|
||||||
"hyprland",
|
|
||||||
"nixpkgs"
|
|
||||||
],
|
|
||||||
"systems": [
|
|
||||||
"hyprland",
|
|
||||||
"systems"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1729967244,
|
|
||||||
"narHash": "sha256-AfgcduDOjfBCpe4vzjhiuIiRRhmi03sLaN0fX+JrZ3E=",
|
|
||||||
"owner": "hyprwm",
|
|
||||||
"repo": "hyprlock",
|
|
||||||
"rev": "29dd33d6a46242ec49f0145946fd7e05d6970e0d",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "hyprwm",
|
|
||||||
"repo": "hyprlock",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"hyprpaper": {
|
|
||||||
"inputs": {
|
|
||||||
"hyprlang": [
|
|
||||||
"hyprland",
|
|
||||||
"hyprlang"
|
|
||||||
],
|
|
||||||
"hyprutils": [
|
|
||||||
"hyprland",
|
|
||||||
"hyprutils"
|
|
||||||
],
|
|
||||||
"hyprwayland-scanner": "hyprwayland-scanner_2",
|
|
||||||
"nixpkgs": [
|
|
||||||
"hyprland",
|
|
||||||
"nixpkgs"
|
|
||||||
],
|
|
||||||
"systems": [
|
|
||||||
"hyprland",
|
|
||||||
"systems"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1729890887,
|
|
||||||
"narHash": "sha256-Vg98Dm6MaglEUNNTRgLF2Lxy02FrU5ntnlwsMkBSTKg=",
|
|
||||||
"owner": "hyprwm",
|
|
||||||
"repo": "hyprpaper",
|
|
||||||
"rev": "3f8cc92109209364e9d39789b3631e9ac109987a",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "hyprwm",
|
|
||||||
"repo": "hyprpaper",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"hyprsysteminfo": {
|
|
||||||
"inputs": {
|
|
||||||
"hyprutils": [
|
|
||||||
"hyprland",
|
|
||||||
"hyprutils"
|
|
||||||
],
|
|
||||||
"nixpkgs": [
|
|
||||||
"hyprland",
|
|
||||||
"nixpkgs"
|
|
||||||
],
|
|
||||||
"systems": [
|
|
||||||
"hyprland",
|
|
||||||
"systems"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1729184813,
|
|
||||||
"narHash": "sha256-ARrsIQPFCHWjVl9Sxh8tedIoEsvnV4nORaDmYCyK+kk=",
|
|
||||||
"owner": "hyprwm",
|
|
||||||
"repo": "hyprsysteminfo",
|
|
||||||
"rev": "8b271e2ba39a5a9299e4e7bb60245a71704f5a89",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "hyprwm",
|
|
||||||
"repo": "hyprsysteminfo",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"hyprutils": {
|
|
||||||
"inputs": {
|
|
||||||
"nixpkgs": [
|
|
||||||
"hyprland",
|
|
||||||
"nixpkgs"
|
|
||||||
],
|
|
||||||
"systems": [
|
|
||||||
"hyprland",
|
|
||||||
"systems"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1728941256,
|
|
||||||
"narHash": "sha256-WRypmcZ2Bw94lLmcmxYokVOHPJSZ7T06V49QZ4tkZeQ=",
|
|
||||||
"owner": "hyprwm",
|
|
||||||
"repo": "hyprutils",
|
|
||||||
"rev": "fd4be8b9ca932f7384e454bcd923c5451ef2aa85",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "hyprwm",
|
|
||||||
"repo": "hyprutils",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"hyprwayland-scanner": {
|
|
||||||
"inputs": {
|
|
||||||
"nixpkgs": [
|
|
||||||
"hyprland",
|
|
||||||
"nixpkgs"
|
|
||||||
],
|
|
||||||
"systems": [
|
|
||||||
"hyprland",
|
|
||||||
"systems"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1726874836,
|
|
||||||
"narHash": "sha256-VKR0sf0PSNCB0wPHVKSAn41mCNVCnegWmgkrneKDhHM=",
|
|
||||||
"owner": "hyprwm",
|
|
||||||
"repo": "hyprwayland-scanner",
|
|
||||||
"rev": "500c81a9e1a76760371049a8d99e008ea77aa59e",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "hyprwm",
|
|
||||||
"repo": "hyprwayland-scanner",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"hyprwayland-scanner_2": {
|
|
||||||
"inputs": {
|
|
||||||
"nixpkgs": [
|
|
||||||
"hyprpaper",
|
|
||||||
"nixpkgs"
|
|
||||||
],
|
|
||||||
"systems": [
|
|
||||||
"hyprpaper",
|
|
||||||
"systems"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1721324119,
|
|
||||||
"narHash": "sha256-SOOqIT27/X792+vsLSeFdrNTF+OSRp5qXv6Te+fb2Qg=",
|
|
||||||
"owner": "hyprwm",
|
|
||||||
"repo": "hyprwayland-scanner",
|
|
||||||
"rev": "a048a6cb015340bd82f97c1f40a4b595ca85cc30",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "hyprwm",
|
|
||||||
"repo": "hyprwayland-scanner",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"jovian": {
|
"jovian": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"nix-github-actions": "nix-github-actions",
|
"nix-github-actions": "nix-github-actions",
|
||||||
@@ -876,18 +463,18 @@
|
|||||||
"lanzaboote": {
|
"lanzaboote": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"crane": "crane_2",
|
"crane": "crane_2",
|
||||||
"flake-compat": "flake-compat_3",
|
"flake-compat": "flake-compat_2",
|
||||||
"flake-parts": "flake-parts_3",
|
"flake-parts": "flake-parts_3",
|
||||||
"nixpkgs": "nixpkgs_6",
|
"nixpkgs": "nixpkgs_5",
|
||||||
"pre-commit-hooks-nix": "pre-commit-hooks-nix",
|
"pre-commit-hooks-nix": "pre-commit-hooks-nix",
|
||||||
"rust-overlay": "rust-overlay_2"
|
"rust-overlay": "rust-overlay_2"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1729064530,
|
"lastModified": 1730107060,
|
||||||
"narHash": "sha256-oSr/w/5dvf/8ll6NvQlL7+rrK8wzjIcEMP1LvI4Ag08=",
|
"narHash": "sha256-EnVVq1oNcimZmQYl6UlLYs0jhC6aLah0bsFMy2syEak=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "lanzaboote",
|
"repo": "lanzaboote",
|
||||||
"rev": "2fa1368f938b50e35ca87334b5aeba38a3402165",
|
"rev": "0ad4ce46649b390da8bebcc229917f9863c98fe2",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -898,7 +485,7 @@
|
|||||||
},
|
},
|
||||||
"microfetch": {
|
"microfetch": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"nixpkgs": "nixpkgs_7"
|
"nixpkgs": "nixpkgs_6"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1723918449,
|
"lastModified": 1723918449,
|
||||||
@@ -925,11 +512,11 @@
|
|||||||
"umu": "umu"
|
"umu": "umu"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1729993301,
|
"lastModified": 1730186798,
|
||||||
"narHash": "sha256-1SJ5Ky+HSMXAf+uij34MIB2jii0RZwFmOaJg1/e9Rzg=",
|
"narHash": "sha256-rGrhFuH3d869rG1cmfuuuPksKyCJUfkBTenQbtnlsr8=",
|
||||||
"owner": "fufexan",
|
"owner": "fufexan",
|
||||||
"repo": "nix-gaming",
|
"repo": "nix-gaming",
|
||||||
"rev": "655bf9e689c9f7b15ba6521b849321120c0af616",
|
"rev": "8756862665662edad5bbb098d0cba727cde57fec",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -961,30 +548,6 @@
|
|||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"nixpak": {
|
|
||||||
"inputs": {
|
|
||||||
"flake-parts": [
|
|
||||||
"flake-parts"
|
|
||||||
],
|
|
||||||
"hercules-ci-effects": "hercules-ci-effects",
|
|
||||||
"nixpkgs": [
|
|
||||||
"nixpkgs-small"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1729736570,
|
|
||||||
"narHash": "sha256-myif5yBLFTH8D6PGWNTz1G+nm/3Vpk6ccbLtG70W5Rc=",
|
|
||||||
"owner": "nixpak",
|
|
||||||
"repo": "nixpak",
|
|
||||||
"rev": "46c141cc392805a0df2838d2a54860017c4cdb31",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "nixpak",
|
|
||||||
"repo": "nixpak",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1703013332,
|
"lastModified": 1703013332,
|
||||||
@@ -1001,20 +564,16 @@
|
|||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"nixpkgs-small": {
|
"nixpkgs-lib": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1730025694,
|
"lastModified": 1727825735,
|
||||||
"narHash": "sha256-Isj+5RY86+N+JrotqpaXqi6hUAABcF6pIOlIWy2leC8=",
|
"narHash": "sha256-0xHYkMkeLVQAMa7gvkddbPqpxph+hDzdu1XdGPJR+Os=",
|
||||||
"owner": "NixOS",
|
"type": "tarball",
|
||||||
"repo": "nixpkgs",
|
"url": "https://github.com/NixOS/nixpkgs/archive/fb192fec7cc7a4c26d51779e9bab07ce6fa5597a.tar.gz"
|
||||||
"rev": "23664a7358c599dd4f975f16cea0865bf423e83d",
|
|
||||||
"type": "github"
|
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"owner": "NixOS",
|
"type": "tarball",
|
||||||
"ref": "nixos-unstable-small",
|
"url": "https://github.com/NixOS/nixpkgs/archive/fb192fec7cc7a4c26d51779e9bab07ce6fa5597a.tar.gz"
|
||||||
"repo": "nixpkgs",
|
|
||||||
"type": "github"
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"nixpkgs-stable": {
|
"nixpkgs-stable": {
|
||||||
@@ -1033,22 +592,6 @@
|
|||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"nixpkgs-stable_2": {
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1720386169,
|
|
||||||
"narHash": "sha256-NGKVY4PjzwAa4upkGtAMz1npHGoRzWotlSnVlqI40mo=",
|
|
||||||
"owner": "NixOS",
|
|
||||||
"repo": "nixpkgs",
|
|
||||||
"rev": "194846768975b7ad2c4988bdb82572c00222c0d7",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "NixOS",
|
|
||||||
"ref": "nixos-24.05",
|
|
||||||
"repo": "nixpkgs",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"nixpkgs_2": {
|
"nixpkgs_2": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1728492678,
|
"lastModified": 1728492678,
|
||||||
@@ -1099,27 +642,11 @@
|
|||||||
},
|
},
|
||||||
"nixpkgs_5": {
|
"nixpkgs_5": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1729413321,
|
"lastModified": 1730025694,
|
||||||
"narHash": "sha256-I4tuhRpZFa6Fu6dcH9Dlo5LlH17peT79vx1y1SpeKt0=",
|
"narHash": "sha256-Isj+5RY86+N+JrotqpaXqi6hUAABcF6pIOlIWy2leC8=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "1997e4aa514312c1af7e2bda7fad1644e778ff26",
|
"rev": "23664a7358c599dd4f975f16cea0865bf423e83d",
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "NixOS",
|
|
||||||
"ref": "nixos-unstable",
|
|
||||||
"repo": "nixpkgs",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"nixpkgs_6": {
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1728897630,
|
|
||||||
"narHash": "sha256-0utJPs4o2Mody8GDwo4hnGuxc8dJqju4u9lLJY4d/Lw=",
|
|
||||||
"owner": "NixOS",
|
|
||||||
"repo": "nixpkgs",
|
|
||||||
"rev": "c9f0b4a395289ce18727e2a8e43cae6796693ccc",
|
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -1129,7 +656,7 @@
|
|||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"nixpkgs_7": {
|
"nixpkgs_6": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1722719969,
|
"lastModified": 1722719969,
|
||||||
"narHash": "sha256-E47qbT/mRtBCSZra+9S9208sp/QnNeOAq7EhHX+eMNE=",
|
"narHash": "sha256-E47qbT/mRtBCSZra+9S9208sp/QnNeOAq7EhHX+eMNE=",
|
||||||
@@ -1144,23 +671,23 @@
|
|||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"nixpkgs_8": {
|
"nixpkgs_7": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1729880355,
|
"lastModified": 1729880355,
|
||||||
"narHash": "sha256-RP+OQ6koQQLX5nw0NmcDrzvGL8HDLnyXt/jHhL1jwjM=",
|
"narHash": "sha256-RP+OQ6koQQLX5nw0NmcDrzvGL8HDLnyXt/jHhL1jwjM=",
|
||||||
"owner": "nixos",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "18536bf04cd71abd345f9579158841376fdd0c5a",
|
"rev": "18536bf04cd71abd345f9579158841376fdd0c5a",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"owner": "nixos",
|
"owner": "NixOS",
|
||||||
"ref": "nixos-unstable",
|
"ref": "nixos-unstable",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"nixpkgs_9": {
|
"nixpkgs_8": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1726755586,
|
"lastModified": 1726755586,
|
||||||
"narHash": "sha256-PmUr/2GQGvFTIJ6/Tvsins7Q43KTMvMFhvG6oaYK+Wk=",
|
"narHash": "sha256-PmUr/2GQGvFTIJ6/Tvsins7Q43KTMvMFhvG6oaYK+Wk=",
|
||||||
@@ -1176,12 +703,15 @@
|
|||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"pre-commit-hooks": {
|
"pre-commit-hooks-nix": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"flake-compat": "flake-compat_2",
|
"flake-compat": [
|
||||||
|
"lanzaboote",
|
||||||
|
"flake-compat"
|
||||||
|
],
|
||||||
"gitignore": "gitignore",
|
"gitignore": "gitignore",
|
||||||
"nixpkgs": [
|
"nixpkgs": [
|
||||||
"hyprland",
|
"lanzaboote",
|
||||||
"nixpkgs"
|
"nixpkgs"
|
||||||
],
|
],
|
||||||
"nixpkgs-stable": "nixpkgs-stable"
|
"nixpkgs-stable": "nixpkgs-stable"
|
||||||
@@ -1190,35 +720,8 @@
|
|||||||
"lastModified": 1729104314,
|
"lastModified": 1729104314,
|
||||||
"narHash": "sha256-pZRZsq5oCdJt3upZIU4aslS9XwFJ+/nVtALHIciX/BI=",
|
"narHash": "sha256-pZRZsq5oCdJt3upZIU4aslS9XwFJ+/nVtALHIciX/BI=",
|
||||||
"owner": "cachix",
|
"owner": "cachix",
|
||||||
"repo": "git-hooks.nix",
|
|
||||||
"rev": "3c3e88f0f544d6bb54329832616af7eb971b6be6",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "cachix",
|
|
||||||
"repo": "git-hooks.nix",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"pre-commit-hooks-nix": {
|
|
||||||
"inputs": {
|
|
||||||
"flake-compat": [
|
|
||||||
"lanzaboote",
|
|
||||||
"flake-compat"
|
|
||||||
],
|
|
||||||
"gitignore": "gitignore_2",
|
|
||||||
"nixpkgs": [
|
|
||||||
"lanzaboote",
|
|
||||||
"nixpkgs"
|
|
||||||
],
|
|
||||||
"nixpkgs-stable": "nixpkgs-stable_2"
|
|
||||||
},
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1728778939,
|
|
||||||
"narHash": "sha256-WybK5E3hpGxtCYtBwpRj1E9JoiVxe+8kX83snTNaFHE=",
|
|
||||||
"owner": "cachix",
|
|
||||||
"repo": "pre-commit-hooks.nix",
|
"repo": "pre-commit-hooks.nix",
|
||||||
"rev": "ff68f91754be6f3427e4986d7949e6273659be1d",
|
"rev": "3c3e88f0f544d6bb54329832616af7eb971b6be6",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -1239,19 +742,11 @@
|
|||||||
"hardware": "hardware",
|
"hardware": "hardware",
|
||||||
"helix-flake": "helix-flake",
|
"helix-flake": "helix-flake",
|
||||||
"hm": "hm",
|
"hm": "hm",
|
||||||
"hypridle": "hypridle",
|
|
||||||
"hyprland": "hyprland",
|
|
||||||
"hyprland-contrib": "hyprland-contrib",
|
|
||||||
"hyprlock": "hyprlock",
|
|
||||||
"hyprpaper": "hyprpaper",
|
|
||||||
"hyprsysteminfo": "hyprsysteminfo",
|
|
||||||
"lanzaboote": "lanzaboote",
|
"lanzaboote": "lanzaboote",
|
||||||
"microfetch": "microfetch",
|
"microfetch": "microfetch",
|
||||||
"nix-gaming": "nix-gaming",
|
"nix-gaming": "nix-gaming",
|
||||||
"nixpak": "nixpak",
|
"nixpkgs": "nixpkgs_7",
|
||||||
"nixpkgs": "nixpkgs_8",
|
"systems": "systems_4",
|
||||||
"nixpkgs-small": "nixpkgs-small",
|
|
||||||
"systems": "systems_5",
|
|
||||||
"tuirun": "tuirun",
|
"tuirun": "tuirun",
|
||||||
"zen-browser": "zen-browser"
|
"zen-browser": "zen-browser"
|
||||||
}
|
}
|
||||||
@@ -1259,11 +754,11 @@
|
|||||||
"rust-analyzer-src": {
|
"rust-analyzer-src": {
|
||||||
"flake": false,
|
"flake": false,
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1729923686,
|
"lastModified": 1730123801,
|
||||||
"narHash": "sha256-Tc+5E/UmjpXlYGQQ6X2nGDv6J6VQgZ+pVOJLcNCIVQc=",
|
"narHash": "sha256-11FMcPraLSKuvfFF4OzmKWSKE5zXAzFqZOi3k/8/HFg=",
|
||||||
"owner": "rust-lang",
|
"owner": "rust-lang",
|
||||||
"repo": "rust-analyzer",
|
"repo": "rust-analyzer",
|
||||||
"rev": "26d2fbaef2d68a2fccf55d725915188c2634439a",
|
"rev": "cf8f950baab30f335917b177536d2d73e0aaa1ae",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -1302,11 +797,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1728959392,
|
"lastModified": 1729996302,
|
||||||
"narHash": "sha256-fp4he1QQjE+vasDMspZYeXrwTm9otwEqLwEN6FKZ5v0=",
|
"narHash": "sha256-QEU1NQq1+7s1na69Chig9K0iDDTKN0O4Zreo9A9rccA=",
|
||||||
"owner": "oxalica",
|
"owner": "oxalica",
|
||||||
"repo": "rust-overlay",
|
"repo": "rust-overlay",
|
||||||
"rev": "4c6e317300f05b8871f585b826b6f583e7dc4a9b",
|
"rev": "a1b337569f334ff0a01b57627f17b201d746d24c",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -1390,26 +885,11 @@
|
|||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"systems_6": {
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1689347949,
|
|
||||||
"narHash": "sha256-12tWmuL2zgBgZkdoB6qXZsgJEH9LR3oUgpaQq2RbI80=",
|
|
||||||
"owner": "nix-systems",
|
|
||||||
"repo": "default-linux",
|
|
||||||
"rev": "31732fcf5e8fea42e59c2488ad31a0e651500f68",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "nix-systems",
|
|
||||||
"repo": "default-linux",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"tuirun": {
|
"tuirun": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"flake-parts": "flake-parts_4",
|
"flake-parts": "flake-parts_4",
|
||||||
"nixpkgs": "nixpkgs_9",
|
"nixpkgs": "nixpkgs_8",
|
||||||
"systems": "systems_6"
|
"systems": "systems_5"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1727200565,
|
"lastModified": 1727200565,
|
||||||
@@ -1434,11 +914,11 @@
|
|||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"dir": "packaging/nix",
|
"dir": "packaging/nix",
|
||||||
"lastModified": 1729978972,
|
"lastModified": 1730165291,
|
||||||
"narHash": "sha256-Zox0iAi4CRPn4rxrhOetFFZ2jcSipe8tGD8nMTgcjhE=",
|
"narHash": "sha256-XPsXlLuvvaRs7y6tiJR+GQmqHVuLazqN0PCUPdF8xwE=",
|
||||||
"ref": "refs/heads/main",
|
"ref": "refs/heads/main",
|
||||||
"rev": "72499f349ca81cb2838eced9d7c465b2cf71c4a2",
|
"rev": "2d91dc5e98a147784eeb72f451b8cd28042ee241",
|
||||||
"revCount": 825,
|
"revCount": 827,
|
||||||
"submodules": true,
|
"submodules": true,
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/Open-Wine-Components/umu-launcher/"
|
"url": "https://github.com/Open-Wine-Components/umu-launcher/"
|
||||||
@@ -1450,65 +930,25 @@
|
|||||||
"url": "https://github.com/Open-Wine-Components/umu-launcher/"
|
"url": "https://github.com/Open-Wine-Components/umu-launcher/"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"xdph": {
|
|
||||||
"inputs": {
|
|
||||||
"hyprland-protocols": [
|
|
||||||
"hyprland",
|
|
||||||
"hyprland-protocols"
|
|
||||||
],
|
|
||||||
"hyprlang": [
|
|
||||||
"hyprland",
|
|
||||||
"hyprlang"
|
|
||||||
],
|
|
||||||
"hyprutils": [
|
|
||||||
"hyprland",
|
|
||||||
"hyprutils"
|
|
||||||
],
|
|
||||||
"hyprwayland-scanner": [
|
|
||||||
"hyprland",
|
|
||||||
"hyprwayland-scanner"
|
|
||||||
],
|
|
||||||
"nixpkgs": [
|
|
||||||
"hyprland",
|
|
||||||
"nixpkgs"
|
|
||||||
],
|
|
||||||
"systems": [
|
|
||||||
"hyprland",
|
|
||||||
"systems"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1728166987,
|
|
||||||
"narHash": "sha256-w6dVTguAn9zJ+7aPOhBQgDz8bn6YZ7b56cY8Kg5HJRI=",
|
|
||||||
"owner": "hyprwm",
|
|
||||||
"repo": "xdg-desktop-portal-hyprland",
|
|
||||||
"rev": "fb9c8d665af0588bb087f97d0f673ddf0d501787",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "hyprwm",
|
|
||||||
"repo": "xdg-desktop-portal-hyprland",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"zen-browser": {
|
"zen-browser": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
|
"flake-parts": "flake-parts_5",
|
||||||
"nixpkgs": [
|
"nixpkgs": [
|
||||||
"nixpkgs"
|
"nixpkgs"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1730051017,
|
"lastModified": 1730204238,
|
||||||
"narHash": "sha256-7n+4NlrURzLlOhzbYKyXRYjdxBPhVkvuJeAdy8DRuYU=",
|
"narHash": "sha256-DdF10j6dHUe+WGvf/uuCUwZSpoq5Hoo2+yBBY+ZXhsI=",
|
||||||
"owner": "cnsta",
|
"ref": "refs/heads/main",
|
||||||
"repo": "zen-browser-flake",
|
"rev": "daf7b3635cbc0401b20ae4a4f9af3e180dcf7097",
|
||||||
"rev": "f51f96f708c8709c96c17994298b5249d70e3780",
|
"revCount": 48,
|
||||||
"type": "github"
|
"type": "git",
|
||||||
|
"url": "https://git.sr.ht/~canasta/zen-browser-flake"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"owner": "cnsta",
|
"type": "git",
|
||||||
"repo": "zen-browser-flake",
|
"url": "https://git.sr.ht/~canasta/zen-browser-flake"
|
||||||
"type": "github"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
100
flake.nix
100
flake.nix
@@ -19,24 +19,24 @@
|
|||||||
|
|
||||||
inputs = {
|
inputs = {
|
||||||
# Nix environment
|
# Nix environment
|
||||||
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
||||||
nixpkgs-small.url = "github:NixOS/nixpkgs/nixos-unstable-small";
|
|
||||||
systems.url = "github:nix-systems/default-linux";
|
systems.url = "github:nix-systems/default-linux";
|
||||||
hardware.url = "github:nixos/nixos-hardware";
|
hardware.url = "github:nixos/nixos-hardware";
|
||||||
lanzaboote.url = "github:nix-community/lanzaboote";
|
lanzaboote.url = "github:nix-community/lanzaboote";
|
||||||
|
|
||||||
nixpak = {
|
# nixpak = {
|
||||||
url = "github:nixpak/nixpak";
|
# url = "github:nixpak/nixpak";
|
||||||
inputs = {
|
# inputs = {
|
||||||
nixpkgs.follows = "nixpkgs-small";
|
# nixpkgs.follows = "nixpkgs";
|
||||||
flake-parts.follows = "flake-parts";
|
# flake-parts.follows = "flake-parts";
|
||||||
};
|
# };
|
||||||
};
|
# };
|
||||||
|
|
||||||
flake-utils = {
|
flake-utils = {
|
||||||
url = "github:numtide/flake-utils";
|
url = "github:numtide/flake-utils";
|
||||||
inputs.systems.follows = "systems";
|
inputs.systems.follows = "systems";
|
||||||
};
|
};
|
||||||
|
|
||||||
flake-compat.url = "github:edolstra/flake-compat";
|
flake-compat.url = "github:edolstra/flake-compat";
|
||||||
|
|
||||||
hm = {
|
hm = {
|
||||||
@@ -50,51 +50,51 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
# Hyprland environment
|
# Hyprland environment
|
||||||
hyprland.url = "github:hyprwm/hyprland";
|
# hyprland.url = "github:hyprwm/hyprland";
|
||||||
|
|
||||||
hyprland-contrib = {
|
# hyprland-contrib = {
|
||||||
url = "github:hyprwm/contrib";
|
# url = "github:hyprwm/contrib";
|
||||||
inputs.nixpkgs.follows = "hyprland/nixpkgs";
|
# inputs.nixpkgs.follows = "hyprland/nixpkgs";
|
||||||
};
|
# };
|
||||||
|
|
||||||
hyprlock = {
|
# hyprlock = {
|
||||||
url = "github:hyprwm/hyprlock";
|
# url = "github:hyprwm/hyprlock";
|
||||||
inputs = {
|
# inputs = {
|
||||||
hyprlang.follows = "hyprland/hyprlang";
|
# hyprlang.follows = "hyprland/hyprlang";
|
||||||
hyprutils.follows = "hyprland/hyprutils";
|
# hyprutils.follows = "hyprland/hyprutils";
|
||||||
nixpkgs.follows = "hyprland/nixpkgs";
|
# nixpkgs.follows = "hyprland/nixpkgs";
|
||||||
systems.follows = "hyprland/systems";
|
# systems.follows = "hyprland/systems";
|
||||||
};
|
# };
|
||||||
};
|
# };
|
||||||
|
|
||||||
hypridle = {
|
# hypridle = {
|
||||||
url = "github:hyprwm/hypridle";
|
# url = "github:hyprwm/hypridle";
|
||||||
inputs = {
|
# inputs = {
|
||||||
hyprlang.follows = "hyprland/hyprlang";
|
# hyprlang.follows = "hyprland/hyprlang";
|
||||||
hyprutils.follows = "hyprland/hyprutils";
|
# hyprutils.follows = "hyprland/hyprutils";
|
||||||
nixpkgs.follows = "hyprland/nixpkgs";
|
# nixpkgs.follows = "hyprland/nixpkgs";
|
||||||
systems.follows = "hyprland/systems";
|
# systems.follows = "hyprland/systems";
|
||||||
};
|
# };
|
||||||
};
|
# };
|
||||||
|
|
||||||
hyprpaper = {
|
# hyprpaper = {
|
||||||
url = "github:hyprwm/hyprpaper";
|
# url = "github:hyprwm/hyprpaper";
|
||||||
inputs = {
|
# inputs = {
|
||||||
hyprlang.follows = "hyprland/hyprlang";
|
# hyprlang.follows = "hyprland/hyprlang";
|
||||||
hyprutils.follows = "hyprland/hyprutils";
|
# hyprutils.follows = "hyprland/hyprutils";
|
||||||
nixpkgs.follows = "hyprland/nixpkgs";
|
# nixpkgs.follows = "hyprland/nixpkgs";
|
||||||
systems.follows = "hyprland/systems";
|
# systems.follows = "hyprland/systems";
|
||||||
};
|
# };
|
||||||
};
|
# };
|
||||||
|
|
||||||
hyprsysteminfo = {
|
# hyprsysteminfo = {
|
||||||
url = "github:hyprwm/hyprsysteminfo";
|
# url = "github:hyprwm/hyprsysteminfo";
|
||||||
inputs = {
|
# inputs = {
|
||||||
hyprutils.follows = "hyprland/hyprutils";
|
# hyprutils.follows = "hyprland/hyprutils";
|
||||||
nixpkgs.follows = "hyprland/nixpkgs";
|
# nixpkgs.follows = "hyprland/nixpkgs";
|
||||||
systems.follows = "hyprland/systems";
|
# systems.follows = "hyprland/systems";
|
||||||
};
|
# };
|
||||||
};
|
# };
|
||||||
|
|
||||||
# Chaotic
|
# Chaotic
|
||||||
chaotic.url = "https://flakehub.com/f/chaotic-cx/nyx/*.tar.gz";
|
chaotic.url = "https://flakehub.com/f/chaotic-cx/nyx/*.tar.gz";
|
||||||
@@ -121,7 +121,7 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
zen-browser = {
|
zen-browser = {
|
||||||
url = "github:cnsta/zen-browser-flake";
|
url = "git+https://git.sr.ht/~canasta/zen-browser-flake";
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -35,8 +35,10 @@ in {
|
|||||||
./modules.nix
|
./modules.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
|
networking.hostName = "cnix";
|
||||||
|
|
||||||
environment.variables.FLAKE = "/home/cnst/.nix-config";
|
environment.variables.FLAKE = "/home/cnst/.nix-config";
|
||||||
|
|
||||||
# https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion
|
# # https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion
|
||||||
system.stateVersion = lib.mkDefault "23.11";
|
system.stateVersion = lib.mkDefault "23.11";
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -34,7 +34,6 @@
|
|||||||
};
|
};
|
||||||
network = {
|
network = {
|
||||||
enable = true;
|
enable = true;
|
||||||
hostName = "cnix";
|
|
||||||
interfaces = {
|
interfaces = {
|
||||||
"enp7s0" = {
|
"enp7s0" = {
|
||||||
allowedTCPPorts = [22 80 443];
|
allowedTCPPorts = [22 80 443];
|
||||||
@@ -57,9 +56,9 @@
|
|||||||
enable = false;
|
enable = false;
|
||||||
};
|
};
|
||||||
blender = {
|
blender = {
|
||||||
enable = true;
|
enable = false;
|
||||||
hip = {
|
hip = {
|
||||||
enable = true;
|
enable = false;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
brightnessctl = {
|
brightnessctl = {
|
||||||
@@ -78,7 +77,7 @@
|
|||||||
enable = true;
|
enable = true;
|
||||||
};
|
};
|
||||||
gimp = {
|
gimp = {
|
||||||
enable = true;
|
enable = false;
|
||||||
};
|
};
|
||||||
gnome = {
|
gnome = {
|
||||||
enable = false;
|
enable = false;
|
||||||
@@ -87,7 +86,7 @@
|
|||||||
enable = true;
|
enable = true;
|
||||||
};
|
};
|
||||||
inkscape = {
|
inkscape = {
|
||||||
enable = true;
|
enable = false;
|
||||||
};
|
};
|
||||||
lutris = {
|
lutris = {
|
||||||
enable = true;
|
enable = true;
|
||||||
@@ -112,7 +111,7 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
npm = {
|
npm = {
|
||||||
enable = true;
|
enable = false;
|
||||||
};
|
};
|
||||||
obsidian = {
|
obsidian = {
|
||||||
enable = true;
|
enable = true;
|
||||||
@@ -150,11 +149,11 @@
|
|||||||
enable = false;
|
enable = false;
|
||||||
};
|
};
|
||||||
greetd = {
|
greetd = {
|
||||||
|
enable = true;
|
||||||
|
user = "cnst";
|
||||||
autologin = {
|
autologin = {
|
||||||
enable = false;
|
enable = false;
|
||||||
user = "cnst";
|
|
||||||
};
|
};
|
||||||
enable = true;
|
|
||||||
gnomeKeyring = {
|
gnomeKeyring = {
|
||||||
enable = false;
|
enable = false;
|
||||||
};
|
};
|
||||||
@@ -204,8 +203,8 @@
|
|||||||
enable = true;
|
enable = true;
|
||||||
};
|
};
|
||||||
locale = {
|
locale = {
|
||||||
defaultLocale = "en_US.UTF-8";
|
|
||||||
enable = true;
|
enable = true;
|
||||||
|
defaultLocale = "en_US.UTF-8";
|
||||||
extraLocale = "sv_SE.UTF-8";
|
extraLocale = "sv_SE.UTF-8";
|
||||||
timeZone = "Europe/Stockholm";
|
timeZone = "Europe/Stockholm";
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -35,6 +35,8 @@ in {
|
|||||||
./modules.nix
|
./modules.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
|
networking.hostName = "cnixpad";
|
||||||
|
|
||||||
swapDevices = [
|
swapDevices = [
|
||||||
{
|
{
|
||||||
device = "/var/lib/swapfile";
|
device = "/var/lib/swapfile";
|
||||||
|
|||||||
@@ -34,7 +34,6 @@
|
|||||||
};
|
};
|
||||||
network = {
|
network = {
|
||||||
enable = true;
|
enable = true;
|
||||||
hostName = "cnixpad";
|
|
||||||
interfaces = {
|
interfaces = {
|
||||||
"wlp6s0" = {
|
"wlp6s0" = {
|
||||||
allowedTCPPorts = [22 80 443];
|
allowedTCPPorts = [22 80 443];
|
||||||
|
|||||||
@@ -35,6 +35,8 @@ in {
|
|||||||
./modules.nix
|
./modules.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
|
networking.hostName = "toothpc";
|
||||||
|
|
||||||
environment.variables.FLAKE = "/home/toothpick/.nix-config";
|
environment.variables.FLAKE = "/home/toothpick/.nix-config";
|
||||||
|
|
||||||
# https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion
|
# https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion
|
||||||
|
|||||||
@@ -34,7 +34,6 @@
|
|||||||
};
|
};
|
||||||
network = {
|
network = {
|
||||||
enable = true;
|
enable = true;
|
||||||
hostName = "toothpc";
|
|
||||||
interfaces = {
|
interfaces = {
|
||||||
"enp4s0" = {
|
"enp4s0" = {
|
||||||
allowedTCPPorts = [22 80 443];
|
allowedTCPPorts = [22 80 443];
|
||||||
|
|||||||
60
modules/home/programs/hyprland/appearance.nix
Normal file
60
modules/home/programs/hyprland/appearance.nix
Normal file
@@ -0,0 +1,60 @@
|
|||||||
|
{
|
||||||
|
lib,
|
||||||
|
config,
|
||||||
|
...
|
||||||
|
}: let
|
||||||
|
inherit (lib) mkIf mkEnableOption;
|
||||||
|
cfg = config.home.programs.hyprland.appearance;
|
||||||
|
in {
|
||||||
|
options = {
|
||||||
|
home.programs.hyprland.appearance.enable = mkEnableOption "Enables appearance settings in Hyprland";
|
||||||
|
};
|
||||||
|
config = mkIf cfg.enable {
|
||||||
|
wayland.windowManager.hyprland.settings = {
|
||||||
|
general = {
|
||||||
|
gaps_in = 2;
|
||||||
|
gaps_out = 4;
|
||||||
|
border_size = 3;
|
||||||
|
#col.active_border = rgba(33ccffee) rgba(00ff99ee) 45deg
|
||||||
|
#col.inactive_border = rgba(595959aa)
|
||||||
|
"col.active_border" = "rgb(4c7a5d)"; # rgba(b16286ee) 45deg
|
||||||
|
"col.inactive_border" = "rgb(504945)";
|
||||||
|
layout = "dwindle";
|
||||||
|
allow_tearing = false;
|
||||||
|
resize_on_border = true;
|
||||||
|
};
|
||||||
|
decoration = {
|
||||||
|
rounding = 0;
|
||||||
|
blur = {
|
||||||
|
enabled = true;
|
||||||
|
size = 8;
|
||||||
|
passes = 1;
|
||||||
|
vibrancy = 0.1696;
|
||||||
|
};
|
||||||
|
drop_shadow = false;
|
||||||
|
shadow_range = 4;
|
||||||
|
shadow_render_power = 3;
|
||||||
|
# col.shadow = rgba(1a1a1aee)
|
||||||
|
};
|
||||||
|
animations = {
|
||||||
|
enabled = true;
|
||||||
|
bezier = [
|
||||||
|
"myBezier,0.05, 0.9, 0.1, 1.05"
|
||||||
|
];
|
||||||
|
animation = [
|
||||||
|
"windows, 1, 3, myBezier"
|
||||||
|
"windowsOut, 1, 3, default, popin 80%"
|
||||||
|
"border, 1, 3, default"
|
||||||
|
"borderangle, 1, 8, default"
|
||||||
|
"fade, 1, 7, default"
|
||||||
|
"workspaces, 1, 3, default"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
dwindle = {
|
||||||
|
# See https://wiki.hyprland.org/Configuring/Dwindle-Layout/ for more
|
||||||
|
pseudotile = true; # master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section below
|
||||||
|
preserve_split = true; # you probably want this
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
@@ -1,6 +1,49 @@
|
|||||||
{umodPath, ...}: {
|
{
|
||||||
|
config,
|
||||||
|
lib,
|
||||||
|
pkgs,
|
||||||
|
umodPath,
|
||||||
|
osConfig,
|
||||||
|
...
|
||||||
|
}: let
|
||||||
|
inherit (lib) mkIf mkEnableOption mkOption types mkDefault;
|
||||||
|
cfg = config.home.programs.hyprland;
|
||||||
|
hyprlandPkg = pkgs.hyprland;
|
||||||
|
isCnst = osConfig.networking.hostName == "cnix";
|
||||||
|
in {
|
||||||
imports = [
|
imports = [
|
||||||
"${umodPath}/programs/hyprland/cnst"
|
./appearance.nix
|
||||||
"${umodPath}/programs/hyprland/toothpick"
|
./inputs.nix
|
||||||
|
./keybinds.nix
|
||||||
|
./rules.nix
|
||||||
|
./startup.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
|
options = {
|
||||||
|
home.programs.hyprland = {
|
||||||
|
enable = mkEnableOption "Enable Hyprland";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
config = mkIf cfg.enable {
|
||||||
|
home.programs.hyprland = {
|
||||||
|
appearance.enable = mkDefault true;
|
||||||
|
inputs.enable = mkDefault true;
|
||||||
|
keybinds.enable = mkDefault true;
|
||||||
|
rules.enable = mkDefault true;
|
||||||
|
startup.enable = mkDefault true;
|
||||||
|
};
|
||||||
|
|
||||||
|
wayland.windowManager.hyprland = {
|
||||||
|
enable = true;
|
||||||
|
package = hyprlandPkg;
|
||||||
|
systemd = {
|
||||||
|
variables = ["--all"];
|
||||||
|
extraCommands = [
|
||||||
|
"systemctl --user stop graphical-session.target"
|
||||||
|
"systemctl --user start hyprland-session.target"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
93
modules/home/programs/hyprland/inputs.nix
Normal file
93
modules/home/programs/hyprland/inputs.nix
Normal file
@@ -0,0 +1,93 @@
|
|||||||
|
{
|
||||||
|
lib,
|
||||||
|
config,
|
||||||
|
osConfig,
|
||||||
|
...
|
||||||
|
}: let
|
||||||
|
inherit (lib) mkIf mkEnableOption;
|
||||||
|
toothpc = osConfig.networking.hostName == "toothpc";
|
||||||
|
kbOption =
|
||||||
|
if osConfig.networking.hostName == "cnixpad"
|
||||||
|
then "ctrl:swapcaps"
|
||||||
|
else "";
|
||||||
|
cfg = config.home.programs.hyprland.inputs;
|
||||||
|
|
||||||
|
renderSettings =
|
||||||
|
if toothpc
|
||||||
|
then {
|
||||||
|
explicit_sync = 0;
|
||||||
|
explicit_sync_kms = 0;
|
||||||
|
direct_scanout = false;
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
explicit_sync = 2;
|
||||||
|
explicit_sync_kms = 2;
|
||||||
|
direct_scanout = false;
|
||||||
|
};
|
||||||
|
in {
|
||||||
|
options = {
|
||||||
|
home.programs.hyprland.inputs.enable = mkEnableOption "Enables input settings in Hyprland";
|
||||||
|
};
|
||||||
|
config = mkIf cfg.enable {
|
||||||
|
wayland.windowManager.hyprland.settings = {
|
||||||
|
monitor = map (
|
||||||
|
m: "${m.name},${
|
||||||
|
if m.enabled
|
||||||
|
then "${toString m.width}x${toString m.height}@${toString m.refreshRate},${m.position},1${
|
||||||
|
if m.bitDepth != null
|
||||||
|
then ",bitdepth,${toString m.bitDepth}"
|
||||||
|
else ""
|
||||||
|
}"
|
||||||
|
else "disable"
|
||||||
|
}"
|
||||||
|
) (config.monitors);
|
||||||
|
|
||||||
|
workspace = map (
|
||||||
|
m: "name:${m.workspace},monitor:${m.name}"
|
||||||
|
) (lib.filter (m: m.enabled && m.workspace != null) config.monitors);
|
||||||
|
|
||||||
|
env = [
|
||||||
|
"QT_WAYLAND_DISABLE_WINDOWDECORATION,1"
|
||||||
|
];
|
||||||
|
|
||||||
|
input = {
|
||||||
|
kb_layout = "se";
|
||||||
|
kb_variant = "nodeadkeys";
|
||||||
|
kb_options = kbOption;
|
||||||
|
follow_mouse = 1;
|
||||||
|
accel_profile = "flat";
|
||||||
|
sensitivity = 0; # -1.0 - 1.0, 0 means no modification.
|
||||||
|
|
||||||
|
touchpad = {
|
||||||
|
natural_scroll = true;
|
||||||
|
disable_while_typing = true;
|
||||||
|
clickfinger_behavior = true;
|
||||||
|
scroll_factor = 0.5;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
gestures = {
|
||||||
|
workspace_swipe = true;
|
||||||
|
workspace_swipe_distance = 400;
|
||||||
|
workspace_swipe_fingers = 3;
|
||||||
|
workspace_swipe_cancel_ratio = 0.2;
|
||||||
|
workspace_swipe_min_speed_to_force = 5;
|
||||||
|
workspace_swipe_direction_lock = true;
|
||||||
|
workspace_swipe_direction_lock_threshold = 10;
|
||||||
|
workspace_swipe_create_new = true;
|
||||||
|
};
|
||||||
|
misc = {
|
||||||
|
vrr = 0;
|
||||||
|
mouse_move_enables_dpms = 1;
|
||||||
|
key_press_enables_dpms = 0;
|
||||||
|
force_default_wallpaper = 0;
|
||||||
|
disable_hyprland_logo = true;
|
||||||
|
disable_splash_rendering = true;
|
||||||
|
disable_autoreload = true;
|
||||||
|
};
|
||||||
|
xwayland = {
|
||||||
|
force_zero_scaling = false;
|
||||||
|
};
|
||||||
|
render = renderSettings;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
134
modules/home/programs/hyprland/keybinds.nix
Normal file
134
modules/home/programs/hyprland/keybinds.nix
Normal file
@@ -0,0 +1,134 @@
|
|||||||
|
{
|
||||||
|
lib,
|
||||||
|
config,
|
||||||
|
pkgs,
|
||||||
|
osConfig,
|
||||||
|
...
|
||||||
|
}: let
|
||||||
|
inherit (lib) mkIf mkEnableOption;
|
||||||
|
cfg = config.home.programs.hyprland.keybinds;
|
||||||
|
in {
|
||||||
|
options = {
|
||||||
|
home.programs.hyprland.keybinds.enable = mkEnableOption "Enables keybind settings in Hyprland";
|
||||||
|
};
|
||||||
|
config = mkIf cfg.enable {
|
||||||
|
wayland.windowManager.hyprland.settings = let
|
||||||
|
cnixpad = osConfig.networking.hostName == "cnixpad";
|
||||||
|
toothpc = osConfig.networking.hostName == "toothpc";
|
||||||
|
modKey =
|
||||||
|
if (cnixpad || toothpc)
|
||||||
|
then "ALT_L"
|
||||||
|
else "SUPER";
|
||||||
|
term =
|
||||||
|
if (cnixpad || toothpc)
|
||||||
|
then "foot"
|
||||||
|
else "alacritty";
|
||||||
|
browser =
|
||||||
|
if toothpc
|
||||||
|
then "firefox"
|
||||||
|
else "zen";
|
||||||
|
in {
|
||||||
|
"$terminal" = term;
|
||||||
|
"$fileManager" = "thunar";
|
||||||
|
"$passwordManager" = "keepassxc";
|
||||||
|
"$menu" = "pkill anyrun || anyrun | xargs hyprctl dispatch exec --";
|
||||||
|
"$menuw" = "pkill anyrun || anyrun | xargs hyprctl dispatch exec --";
|
||||||
|
"$browser" = browser;
|
||||||
|
"$browserinc" = "${browser} --private-window";
|
||||||
|
"$yazi" = "alacritty -e yazi";
|
||||||
|
"$tuirun" = "tuirun-toggle.sh";
|
||||||
|
|
||||||
|
# See https://wiki.hyprland.org/Configuring/Keywords/ for more
|
||||||
|
"$mod" = modKey;
|
||||||
|
|
||||||
|
bind = let
|
||||||
|
grimblast = lib.getExe pkgs.grimblast;
|
||||||
|
tesseract = lib.getExe pkgs.tesseract;
|
||||||
|
notify-send = lib.getExe' pkgs.libnotify "notify-send";
|
||||||
|
in [
|
||||||
|
# Custom binds
|
||||||
|
"$mod SHIFT, B, exec, pkill -SIGUSR2 waybar" # Reload waybar
|
||||||
|
|
||||||
|
# Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more
|
||||||
|
"$mod, A, exec, pkill -SIGUSR1 waybar"
|
||||||
|
"$mod, T, exec, $terminal"
|
||||||
|
"$mod, W, exec, $browser"
|
||||||
|
"$mod, K, exec, $passwordManager"
|
||||||
|
"$mod SHIFT, W, exec, $browserinc"
|
||||||
|
"$mod, Q, killactive,"
|
||||||
|
#bind = $mod, M, exec, hyprctl dispatch exit
|
||||||
|
#bind = $mod, E, exec, $fileManager
|
||||||
|
"$mod, E, exec, $fileManager"
|
||||||
|
"$mod, R, exec, $tuirun"
|
||||||
|
"$mod SHIFT, E, exec, $yazi"
|
||||||
|
"$mod, F, fullscreen,"
|
||||||
|
"$mod SHIFT, F, togglefloating,"
|
||||||
|
"$mod, SPACE, exec, $tuirun"
|
||||||
|
"$mod, P, pseudo," # dwindle
|
||||||
|
"$mod, J, togglesplit," # dwindle
|
||||||
|
"$mod, C, exec, hyprctl dispatch exec copyq toggle"
|
||||||
|
# "$mod, TAB, exec, $menuw"
|
||||||
|
|
||||||
|
# Move focus with mainMod + arrow keys
|
||||||
|
"$mod, left, movefocus, l"
|
||||||
|
"$mod, right, movefocus, r"
|
||||||
|
"$mod, up, movefocus, u"
|
||||||
|
"$mod, down, movefocus, d"
|
||||||
|
|
||||||
|
# Switch workspaces with mainMod + [0-9]
|
||||||
|
"$mod, 1, workspace, 1"
|
||||||
|
"$mod, 2, workspace, 2"
|
||||||
|
"$mod, 3, workspace, 3"
|
||||||
|
"$mod, 4, workspace, 4"
|
||||||
|
"$mod, 5, workspace, 5"
|
||||||
|
"$mod, 6, workspace, 6"
|
||||||
|
"$mod, 7, workspace, 7"
|
||||||
|
"$mod, 8, workspace, 8"
|
||||||
|
"$mod, 9, workspace, 9"
|
||||||
|
"$mod, 0, workspace, 10"
|
||||||
|
|
||||||
|
# Move active window to a workspace with mainMod + SHIFT + [0-9]
|
||||||
|
"$mod SHIFT, 1, movetoworkspace, 1"
|
||||||
|
"$mod SHIFT, 2, movetoworkspace, 2"
|
||||||
|
"$mod SHIFT, 3, movetoworkspace, 3"
|
||||||
|
"$mod SHIFT, 4, movetoworkspace, 4"
|
||||||
|
"$mod SHIFT, 5, movetoworkspace, 5"
|
||||||
|
"$mod SHIFT, 6, movetoworkspace, 6"
|
||||||
|
"$mod SHIFT, 7, movetoworkspace, 7"
|
||||||
|
"$mod SHIFT, 8, movetoworkspace, 8"
|
||||||
|
"$mod SHIFT, 9, movetoworkspace, 9"
|
||||||
|
"$mod SHIFT, 0, movetoworkspace, 10"
|
||||||
|
|
||||||
|
# Laptop controls
|
||||||
|
",XF86AudioLowerVolume, exec, pamixer -d 5"
|
||||||
|
",XF86AudioRaiseVolume, exec, pamixer -i 5"
|
||||||
|
",XF86AudioMute, exec, pamixer -t"
|
||||||
|
",XF86AudioMicMute, exec, pactl -- set-source-mute 0 toggle"
|
||||||
|
",XF86MonBrightnessDown, exec, brightnessctl s 5%-"
|
||||||
|
",XF86MonBrightnessUp, exec, brightnessctl s +5%"
|
||||||
|
|
||||||
|
"$mod, XF86MonBrightnessUp, exec, hyprctl dispatch dpms on"
|
||||||
|
"$mod, XF86MonBrightnessDown, exec, hyprctl dispatch dpms off"
|
||||||
|
|
||||||
|
# Screenshotting
|
||||||
|
",Insert,exec,${grimblast} --notify --freeze copysave area"
|
||||||
|
"SHIFT,Insert,exec,${grimblast} --notify --freeze copysave output"
|
||||||
|
# To OCR
|
||||||
|
"ALT,Insert,exec,${grimblast} --freeze save area - | ${tesseract} - - | wl-copy && ${notify-send} -t 3000 'OCR result copied to buffer'"
|
||||||
|
|
||||||
|
# Example special workspace (scratchpad)
|
||||||
|
"$mod, S, togglespecialworkspace, magic"
|
||||||
|
"$mod SHIFT, S, movetoworkspace, special:magic"
|
||||||
|
|
||||||
|
# Scroll through existing workspaces with mainMod + scroll
|
||||||
|
# bind = $mod, mouse_down, workspace, e+1
|
||||||
|
# bind = $mod, mouse_up, workspace, e-1
|
||||||
|
];
|
||||||
|
# Move/resize windows with mainMod + LMB/RMB and dragging
|
||||||
|
bindm = [
|
||||||
|
"$mod, mouse:272, movewindow"
|
||||||
|
"$mod, mouse:273, resizewindow"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
67
modules/home/programs/hyprland/rules.nix
Normal file
67
modules/home/programs/hyprland/rules.nix
Normal file
@@ -0,0 +1,67 @@
|
|||||||
|
{
|
||||||
|
lib,
|
||||||
|
config,
|
||||||
|
...
|
||||||
|
}: let
|
||||||
|
inherit (lib) mkIf mkEnableOption;
|
||||||
|
cfg = config.home.programs.hyprland.rules;
|
||||||
|
in {
|
||||||
|
options = {
|
||||||
|
home.programs.hyprland.rules.enable = mkEnableOption "Enables window rule settings in Hyprland";
|
||||||
|
};
|
||||||
|
|
||||||
|
config = mkIf cfg.enable {
|
||||||
|
wayland.windowManager.hyprland.settings = {
|
||||||
|
windowrulev2 = [
|
||||||
|
# === CALCURSE SETTINGS ===
|
||||||
|
"size 843 650, initialTitle:^(floatcal)$"
|
||||||
|
"move 100%-w-20 40, initialTitle:^(floatcal)$"
|
||||||
|
"float, initialTitle:^(floatcal)$"
|
||||||
|
|
||||||
|
# === TUIRUN SETTINGS ===
|
||||||
|
"size 600 300, initialTitle:^(tuirun)$"
|
||||||
|
"center, initialTitle:^(tuirun)$"
|
||||||
|
"workspace special:tuirun, initialTitle:^(tuirun)$"
|
||||||
|
"noborder, initialTitle:^(tuirun)$"
|
||||||
|
"float, initialTitle:^(tuirun)$"
|
||||||
|
|
||||||
|
# === KEEPASSXC SETTINGS ===
|
||||||
|
"size 843 530, class:^(org.keepassxc.KeePassXC)$"
|
||||||
|
"move 100%-w-20 40, class:^(org.keepassxc.KeePassXC)$"
|
||||||
|
"float, class:^(org.keepassxc.KeePassXC)$"
|
||||||
|
|
||||||
|
# === SUPPRESS MAXIMIZE EVENT ===
|
||||||
|
"suppressevent maximize, class:.*" # Suppress maximize events for all windows
|
||||||
|
|
||||||
|
# === NWG-LOOK SETTINGS ===
|
||||||
|
"center, class:^(nwg-look)$"
|
||||||
|
"float, class:^(nwg-look)$"
|
||||||
|
|
||||||
|
# === PAVUCONTROL SETTINGS ===
|
||||||
|
"move 100%-w-20 40, class:^(pavucontrol)$"
|
||||||
|
"size 741 585, class:^(pavucontrol)$"
|
||||||
|
"float, class:^(pavucontrol)$"
|
||||||
|
|
||||||
|
# === XARCHIVER SETTINGS ===
|
||||||
|
"center, class:^(xarchiver)$"
|
||||||
|
"float, class:^(xarchiver)$"
|
||||||
|
|
||||||
|
# === FLOATING APPLICATIONS ===
|
||||||
|
"float, class:^(org.gnome.FileRoller)$"
|
||||||
|
"float, class:^(org.freedesktop.impl.portal.desktop.kde)$"
|
||||||
|
"float, class:^(org.corectrl.CoreCtrl)$"
|
||||||
|
"float, class:^(feh)$"
|
||||||
|
"float, class:^(polkit-gnome-authentication-agent-1)$"
|
||||||
|
"float, class:^(org.gnome.Calculator)$"
|
||||||
|
"float, class:^(Lxappearance)$"
|
||||||
|
"float, class:^(imv)$"
|
||||||
|
"float, class:^(com.github.hluk.copyq)$"
|
||||||
|
"float, class:^(blueman-manager)$"
|
||||||
|
"float, class:^(floatranger)$"
|
||||||
|
"float, class:^(floatnnn)$"
|
||||||
|
];
|
||||||
|
|
||||||
|
windowrule = [];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
40
modules/home/programs/hyprland/startup.nix
Normal file
40
modules/home/programs/hyprland/startup.nix
Normal file
@@ -0,0 +1,40 @@
|
|||||||
|
{
|
||||||
|
lib,
|
||||||
|
config,
|
||||||
|
osConfig,
|
||||||
|
...
|
||||||
|
}: let
|
||||||
|
inherit (lib) mkIf mkEnableOption;
|
||||||
|
cfg = config.home.programs.hyprland.startup;
|
||||||
|
isCnix = osConfig.networking.hostName == "cnix";
|
||||||
|
isCnixpad = osConfig.networking.hostName == "cnixpad";
|
||||||
|
isToothpc = osConfig.networking.hostName == "toothpc";
|
||||||
|
in {
|
||||||
|
options = {
|
||||||
|
home.programs.hyprland.startup.enable = mkEnableOption "Enables startup settings in Hyprland";
|
||||||
|
};
|
||||||
|
config = mkIf cfg.enable {
|
||||||
|
wayland.windowManager.hyprland.settings = {
|
||||||
|
exec-once =
|
||||||
|
[
|
||||||
|
"systemctl --user start polkit-gnome-authentication-agent-1"
|
||||||
|
"udiskie -Nt"
|
||||||
|
"wl-clip-persist --clipboard regular --all-mime-type-regex '^(?!x-kde-passwordManagerHint).+'"
|
||||||
|
"hyprctl dispatch exec 'sleep 5s && keepassxc'"
|
||||||
|
]
|
||||||
|
++ lib.optionals isCnix [
|
||||||
|
"mullvad-vpn"
|
||||||
|
"blueman-applet"
|
||||||
|
"pamixer --set-volume 50"
|
||||||
|
"hyprctl dispatch exec 'sleep 3s && solaar -w hide'"
|
||||||
|
]
|
||||||
|
++ lib.optionals isCnixpad [
|
||||||
|
"blueman-applet"
|
||||||
|
]
|
||||||
|
++ lib.optionals isToothpc [
|
||||||
|
"mullvad-vpn"
|
||||||
|
"hyprctl dispatch exec 'sleep 3s && solaar -w hide'"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
54
modules/home/programs/hyprlandbak/cnst/default.nix
Normal file
54
modules/home/programs/hyprlandbak/cnst/default.nix
Normal file
@@ -0,0 +1,54 @@
|
|||||||
|
{
|
||||||
|
config,
|
||||||
|
lib,
|
||||||
|
pkgs,
|
||||||
|
umodPath,
|
||||||
|
osConfig,
|
||||||
|
...
|
||||||
|
}: let
|
||||||
|
inherit (lib) mkIf mkEnableOption mkOption types mkDefault;
|
||||||
|
cfg = config.home.programs.hyprland;
|
||||||
|
hyprlandPkg = pkgs.hyprland;
|
||||||
|
isCnst = osConfig.networking.hostName == "cnix";
|
||||||
|
in {
|
||||||
|
imports = ++ lib.optionals isCnst [
|
||||||
|
"${umodPath}/programs/hyprland/cnst/appearance.nix"
|
||||||
|
"${umodPath}/programs/hyprland/cnst/inputs.nix"
|
||||||
|
"${umodPath}/programs/hyprland/cnst/keybinds.nix"
|
||||||
|
"${umodPath}/programs/hyprland/cnst/rules.nix"
|
||||||
|
"${umodPath}/programs/hyprland/cnst/startup.nix"
|
||||||
|
];
|
||||||
|
|
||||||
|
options = {
|
||||||
|
home.programs.hyprland = {
|
||||||
|
enable = mkEnableOption "Enable Hyprland";
|
||||||
|
user = mkOption {
|
||||||
|
type = types.str;
|
||||||
|
description = "The user-specific configuration directory for Hyprland.";
|
||||||
|
example = "cnst";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
config = mkIf cfg.enable {
|
||||||
|
home.programs.hyprland.user = {
|
||||||
|
appearance.enable = mkDefault true;
|
||||||
|
inputs.enable = mkDefault true;
|
||||||
|
keybinds.enable = mkDefault true;
|
||||||
|
rules.enable = mkDefault true;
|
||||||
|
startup.enable = mkDefault true;
|
||||||
|
};
|
||||||
|
|
||||||
|
wayland.windowManager.hyprland = {
|
||||||
|
enable = true;
|
||||||
|
package = hyprlandPkg;
|
||||||
|
systemd = {
|
||||||
|
variables = ["--all"];
|
||||||
|
extraCommands = [
|
||||||
|
"systemctl --user stop graphical-session.target"
|
||||||
|
"systemctl --user start hyprland-session.target"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
38
modules/home/programs/hyprlandbak/cnst/imports.nix
Normal file
38
modules/home/programs/hyprlandbak/cnst/imports.nix
Normal file
@@ -0,0 +1,38 @@
|
|||||||
|
{
|
||||||
|
config,
|
||||||
|
lib,
|
||||||
|
pkgs,
|
||||||
|
umodPath,
|
||||||
|
user,
|
||||||
|
...
|
||||||
|
}: let
|
||||||
|
inherit (lib) mkIf mkEnableOption mkOption types mkDefault;
|
||||||
|
cfg = config.home.programs.hyprland.user;
|
||||||
|
in {
|
||||||
|
imports = [
|
||||||
|
"${umodPath}/programs/hyprland/cnst/appearance.nix"
|
||||||
|
"${umodPath}/programs/hyprland/cnst/inputs.nix"
|
||||||
|
"${umodPath}/programs/hyprland/cnst/keybinds.nix"
|
||||||
|
"${umodPath}/programs/hyprland/cnst/rules.nix"
|
||||||
|
"${umodPath}/programs/hyprland/cnst/startup.nix"
|
||||||
|
];
|
||||||
|
|
||||||
|
options.home.programs.hyprland.user = {
|
||||||
|
enable = mkEnableOption "Enable Hyprland user-specific configuration";
|
||||||
|
appearance.enable = mkDefault true;
|
||||||
|
inputs.enable = mkDefault true;
|
||||||
|
keybinds.enable = mkDefault true;
|
||||||
|
rules.enable = mkDefault true;
|
||||||
|
startup.enable = mkDefault true;
|
||||||
|
};
|
||||||
|
|
||||||
|
config = mkIf cfg.enable {
|
||||||
|
home.programs.hyprland.${user} = {
|
||||||
|
appearance.enable = cfg.appearance.enable;
|
||||||
|
inputs.enable = cfg.inputs.enable;
|
||||||
|
keybinds.enable = cfg.keybinds.enable;
|
||||||
|
rules.enable = cfg.rules.enable;
|
||||||
|
startup.enable = cfg.startup.enable;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
6
modules/home/programs/hyprlandbak/default.nix
Normal file
6
modules/home/programs/hyprlandbak/default.nix
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
{umodPath, ...}: {
|
||||||
|
imports = [
|
||||||
|
"${umodPath}/programs/hyprland/cnst"
|
||||||
|
"${umodPath}/programs/hyprland/toothpick"
|
||||||
|
];
|
||||||
|
}
|
||||||
60
modules/home/programs/hyprlandbak/toothpick/appearance.nix
Normal file
60
modules/home/programs/hyprlandbak/toothpick/appearance.nix
Normal file
@@ -0,0 +1,60 @@
|
|||||||
|
{
|
||||||
|
lib,
|
||||||
|
config,
|
||||||
|
...
|
||||||
|
}: let
|
||||||
|
inherit (lib) mkIf mkEnableOption;
|
||||||
|
cfg = config.home.programs.hyprland.toothpick.appearance;
|
||||||
|
in {
|
||||||
|
options = {
|
||||||
|
home.programs.hyprland.toothpick.appearance.enable = mkEnableOption "Enables appearance settings in Hyprland";
|
||||||
|
};
|
||||||
|
config = mkIf cfg.enable {
|
||||||
|
wayland.windowManager.hyprland.settings = {
|
||||||
|
general = {
|
||||||
|
gaps_in = 2;
|
||||||
|
gaps_out = 4;
|
||||||
|
border_size = 3;
|
||||||
|
#col.active_border = rgba(33ccffee) rgba(00ff99ee) 45deg
|
||||||
|
#col.inactive_border = rgba(595959aa)
|
||||||
|
"col.active_border" = "rgb(4c7a5d)"; # rgba(b16286ee) 45deg
|
||||||
|
"col.inactive_border" = "rgb(504945)";
|
||||||
|
layout = "dwindle";
|
||||||
|
allow_tearing = false;
|
||||||
|
resize_on_border = true;
|
||||||
|
};
|
||||||
|
decoration = {
|
||||||
|
rounding = 0;
|
||||||
|
blur = {
|
||||||
|
enabled = true;
|
||||||
|
size = 8;
|
||||||
|
passes = 1;
|
||||||
|
vibrancy = 0.1696;
|
||||||
|
};
|
||||||
|
drop_shadow = false;
|
||||||
|
shadow_range = 4;
|
||||||
|
shadow_render_power = 3;
|
||||||
|
# col.shadow = rgba(1a1a1aee)
|
||||||
|
};
|
||||||
|
animations = {
|
||||||
|
enabled = true;
|
||||||
|
bezier = [
|
||||||
|
"myBezier,0.05, 0.9, 0.1, 1.05"
|
||||||
|
];
|
||||||
|
animation = [
|
||||||
|
"windows, 1, 3, myBezier"
|
||||||
|
"windowsOut, 1, 3, default, popin 80%"
|
||||||
|
"border, 1, 3, default"
|
||||||
|
"borderangle, 1, 8, default"
|
||||||
|
"fade, 1, 7, default"
|
||||||
|
"workspaces, 1, 3, default"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
dwindle = {
|
||||||
|
# See https://wiki.hyprland.org/Configuring/Dwindle-Layout/ for more
|
||||||
|
pseudotile = true; # master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section below
|
||||||
|
preserve_split = true; # you probably want this
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
@@ -7,22 +7,22 @@
|
|||||||
...
|
...
|
||||||
}: let
|
}: let
|
||||||
inherit (lib) mkIf mkEnableOption mkDefault;
|
inherit (lib) mkIf mkEnableOption mkDefault;
|
||||||
cfg = config.home.programs.hyprland.cnst;
|
cfg = config.home.programs.hyprland.toothpick;
|
||||||
in {
|
in {
|
||||||
imports = [
|
imports = [
|
||||||
"${umodPath}/programs/hyprland/cnst/appearance.nix"
|
"${umodPath}/programs/hyprland/toothpick/appearance.nix"
|
||||||
"${umodPath}/programs/hyprland/cnst/inputs.nix"
|
"${umodPath}/programs/hyprland/toothpick/inputs.nix"
|
||||||
"${umodPath}/programs/hyprland/cnst/keybinds.nix"
|
"${umodPath}/programs/hyprland/toothpick/keybinds.nix"
|
||||||
"${umodPath}/programs/hyprland/cnst/rules.nix"
|
"${umodPath}/programs/hyprland/toothpick/rules.nix"
|
||||||
"${umodPath}/programs/hyprland/cnst/startup.nix"
|
"${umodPath}/programs/hyprland/toothpick/startup.nix"
|
||||||
];
|
];
|
||||||
|
|
||||||
options = {
|
options = {
|
||||||
home.programs.hyprland.cnst.enable = mkEnableOption "Enable Hyprland";
|
home.programs.hyprland.toothpick.enable = mkEnableOption "Enable Hyprland";
|
||||||
};
|
};
|
||||||
|
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
home.programs.hyprland.cnst = {
|
home.programs.hyprland.toothpick = {
|
||||||
appearance.enable = mkDefault cfg.enable;
|
appearance.enable = mkDefault cfg.enable;
|
||||||
inputs.enable = mkDefault cfg.enable;
|
inputs.enable = mkDefault cfg.enable;
|
||||||
keybinds.enable = mkDefault cfg.enable;
|
keybinds.enable = mkDefault cfg.enable;
|
||||||
81
modules/home/programs/hyprlandbak/toothpick/inputs.nix
Normal file
81
modules/home/programs/hyprlandbak/toothpick/inputs.nix
Normal file
@@ -0,0 +1,81 @@
|
|||||||
|
{
|
||||||
|
lib,
|
||||||
|
config,
|
||||||
|
...
|
||||||
|
}: let
|
||||||
|
inherit (lib) mkIf mkEnableOption;
|
||||||
|
cfg = config.home.programs.hyprland.toothpick.inputs;
|
||||||
|
in {
|
||||||
|
options = {
|
||||||
|
home.programs.hyprland.toothpick.inputs.enable = mkEnableOption "Enables input settings in Hyprland";
|
||||||
|
};
|
||||||
|
config = mkIf cfg.enable {
|
||||||
|
wayland.windowManager.hyprland.settings = {
|
||||||
|
monitor = map (
|
||||||
|
m: "${m.name},${
|
||||||
|
if m.enabled
|
||||||
|
then "${toString m.width}x${toString m.height}@${toString m.refreshRate},${m.position},1${
|
||||||
|
if m.bitDepth != null
|
||||||
|
then ",bitdepth,${toString m.bitDepth}"
|
||||||
|
else ""
|
||||||
|
}"
|
||||||
|
else "disable"
|
||||||
|
}"
|
||||||
|
) (config.monitors);
|
||||||
|
workspace = map (
|
||||||
|
m: "name:${m.workspace},monitor:${m.name}"
|
||||||
|
) (lib.filter (m: m.enabled && m.workspace != null) config.monitors);
|
||||||
|
|
||||||
|
env = [
|
||||||
|
"QT_WAYLAND_DISABLE_WINDOWDECORATION,1"
|
||||||
|
];
|
||||||
|
|
||||||
|
input = {
|
||||||
|
kb_layout = "se";
|
||||||
|
kb_variant = "nodeadkeys";
|
||||||
|
|
||||||
|
follow_mouse = 1;
|
||||||
|
accel_profile = "flat";
|
||||||
|
sensitivity = 0; # -1.0 - 1.0, 0 means no modification.
|
||||||
|
|
||||||
|
touchpad = {
|
||||||
|
natural_scroll = true;
|
||||||
|
disable_while_typing = true;
|
||||||
|
clickfinger_behavior = true;
|
||||||
|
scroll_factor = 0.5;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
gestures = {
|
||||||
|
workspace_swipe = true;
|
||||||
|
workspace_swipe_distance = 400;
|
||||||
|
workspace_swipe_fingers = 3;
|
||||||
|
workspace_swipe_cancel_ratio = 0.2;
|
||||||
|
workspace_swipe_min_speed_to_force = 5;
|
||||||
|
workspace_swipe_direction_lock = true;
|
||||||
|
workspace_swipe_direction_lock_threshold = 10;
|
||||||
|
workspace_swipe_create_new = true;
|
||||||
|
};
|
||||||
|
misc = {
|
||||||
|
vrr = 0;
|
||||||
|
mouse_move_enables_dpms = 1;
|
||||||
|
key_press_enables_dpms = 0;
|
||||||
|
force_default_wallpaper = 0;
|
||||||
|
disable_hyprland_logo = true;
|
||||||
|
disable_splash_rendering = true;
|
||||||
|
};
|
||||||
|
xwayland = {
|
||||||
|
force_zero_scaling = false;
|
||||||
|
};
|
||||||
|
render = {
|
||||||
|
explicit_sync = 0;
|
||||||
|
explicit_sync_kms = 0;
|
||||||
|
direct_scanout = false;
|
||||||
|
};
|
||||||
|
cursor = {
|
||||||
|
no_hardware_cursors = true;
|
||||||
|
# no_break_fs_vrr = true;
|
||||||
|
# min_refresh_rate = 60;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
115
modules/home/programs/hyprlandbak/toothpick/keybinds.nix
Normal file
115
modules/home/programs/hyprlandbak/toothpick/keybinds.nix
Normal file
@@ -0,0 +1,115 @@
|
|||||||
|
{
|
||||||
|
lib,
|
||||||
|
config,
|
||||||
|
pkgs,
|
||||||
|
...
|
||||||
|
}: let
|
||||||
|
inherit (lib) mkIf mkEnableOption;
|
||||||
|
cfg = config.home.programs.hyprland.toothpick.keybinds;
|
||||||
|
in {
|
||||||
|
options = {
|
||||||
|
home.programs.hyprland.toothpick.keybinds.enable = mkEnableOption "Enables keybind settings in Hyprland";
|
||||||
|
};
|
||||||
|
config = mkIf cfg.enable {
|
||||||
|
wayland.windowManager.hyprland.settings = {
|
||||||
|
"$terminal" = "foot";
|
||||||
|
"$fileManager" = "thunar";
|
||||||
|
"$passwordManager" = "keepassxc";
|
||||||
|
"$tuirun" = "tuirun-toggle.sh";
|
||||||
|
"$menu" = "pkill anyrun || anyrun | xargs hyprctl dispatch exec --";
|
||||||
|
"$browser" = "firefox";
|
||||||
|
"$browserinc" = "firefox --private-window";
|
||||||
|
"$ranger" = "rangerscript";
|
||||||
|
|
||||||
|
# See https://wiki.hyprland.org/Configuring/Keywords/ for more
|
||||||
|
"$mod" = "ALT_L";
|
||||||
|
|
||||||
|
bind = let
|
||||||
|
grimblast = lib.getExe pkgs.grimblast;
|
||||||
|
tesseract = lib.getExe pkgs.tesseract;
|
||||||
|
notify-send = lib.getExe' pkgs.libnotify "notify-send";
|
||||||
|
in [
|
||||||
|
# Custom binds
|
||||||
|
"$mod SHIFT, B, exec, pkill -SIGUSR2 waybar" # Reload waybar
|
||||||
|
|
||||||
|
# Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more
|
||||||
|
"$mod, A, exec, pkill -SIGUSR1 waybar"
|
||||||
|
"$mod, T, exec, $terminal"
|
||||||
|
"$mod, W, exec, $browser"
|
||||||
|
"$mod, K, exec, $passwordManager"
|
||||||
|
"$mod SHIFT, W, exec, $browserinc"
|
||||||
|
"$mod, Q, killactive,"
|
||||||
|
#bind = $mod, M, exec, hyprctl dispatch exit
|
||||||
|
#bind = $mod, E, exec, $fileManager
|
||||||
|
"$mod, E, exec, $fileManager"
|
||||||
|
"$mod SHIFT, E, exec, $ranger"
|
||||||
|
"$mod, F, fullscreen,"
|
||||||
|
"$mod SHIFT, F, togglefloating,"
|
||||||
|
"$mod, SPACE, exec, $tuirun"
|
||||||
|
"$mod, P, pseudo," # dwindle
|
||||||
|
"$mod, J, togglesplit," # dwindle
|
||||||
|
"$mod, C, exec, hyprctl dispatch exec copyq toggle"
|
||||||
|
|
||||||
|
# Move focus with mainMod + arrow keys
|
||||||
|
"$mod, left, movefocus, l"
|
||||||
|
"$mod, right, movefocus, r"
|
||||||
|
"$mod, up, movefocus, u"
|
||||||
|
"$mod, down, movefocus, d"
|
||||||
|
|
||||||
|
# Switch workspaces with mainMod + [0-9]
|
||||||
|
"$mod, 1, workspace, 1"
|
||||||
|
"$mod, 2, workspace, 2"
|
||||||
|
"$mod, 3, workspace, 3"
|
||||||
|
"$mod, 4, workspace, 4"
|
||||||
|
"$mod, 5, workspace, 5"
|
||||||
|
"$mod, 6, workspace, 6"
|
||||||
|
"$mod, 7, workspace, 7"
|
||||||
|
"$mod, 8, workspace, 8"
|
||||||
|
"$mod, 9, workspace, 9"
|
||||||
|
"$mod, 0, workspace, 10"
|
||||||
|
|
||||||
|
# Move active window to a workspace with mainMod + SHIFT + [0-9]
|
||||||
|
"$mod SHIFT, 1, movetoworkspace, 1"
|
||||||
|
"$mod SHIFT, 2, movetoworkspace, 2"
|
||||||
|
"$mod SHIFT, 3, movetoworkspace, 3"
|
||||||
|
"$mod SHIFT, 4, movetoworkspace, 4"
|
||||||
|
"$mod SHIFT, 5, movetoworkspace, 5"
|
||||||
|
"$mod SHIFT, 6, movetoworkspace, 6"
|
||||||
|
"$mod SHIFT, 7, movetoworkspace, 7"
|
||||||
|
"$mod SHIFT, 8, movetoworkspace, 8"
|
||||||
|
"$mod SHIFT, 9, movetoworkspace, 9"
|
||||||
|
"$mod SHIFT, 0, movetoworkspace, 10"
|
||||||
|
|
||||||
|
# Laptop controls
|
||||||
|
",XF86AudioLowerVolume, exec, pamixer -d 5"
|
||||||
|
",XF86AudioRaiseVolume, exec, pamixer -i 5"
|
||||||
|
",XF86AudioMute, exec, pamixer -m"
|
||||||
|
",XF86AudioMicMute, exec, pactl -- set-source-mute 0 toggle"
|
||||||
|
",XF86MonBrightnessDown, exec, brightnessctl s 10%-"
|
||||||
|
",XF86MonBrightnessUp, exec, brightnessctl s +10%"
|
||||||
|
|
||||||
|
"$mod, XF86MonBrightnessUp, exec, hyprctl dispatch dpms on"
|
||||||
|
"$mod, XF86MonBrightnessDown, exec, hyprctl dispatch dpms off"
|
||||||
|
|
||||||
|
# Screenshotting
|
||||||
|
",Print,exec,${grimblast} --notify --freeze copysave area"
|
||||||
|
"SHIFT,Print,exec,${grimblast} --notify --freeze copysave output"
|
||||||
|
# To OCR
|
||||||
|
"ALT,Print,exec,${grimblast} --freeze save area - | ${tesseract} - - | wl-copy && ${notify-send} -t 3000 'OCR result copied to buffer'"
|
||||||
|
|
||||||
|
# Example special workspace (scratchpad)
|
||||||
|
"$mod, S, togglespecialworkspace, magic"
|
||||||
|
"$mod SHIFT, S, movetoworkspace, special:magic"
|
||||||
|
|
||||||
|
# Scroll through existing workspaces with mainMod + scroll
|
||||||
|
# bind = $mod, mouse_down, workspace, e+1
|
||||||
|
# bind = $mod, mouse_up, workspace, e-1
|
||||||
|
];
|
||||||
|
# Move/resize windows with mainMod + LMB/RMB and dragging
|
||||||
|
bindm = [
|
||||||
|
"$mod, mouse:272, movewindow"
|
||||||
|
"$mod, mouse:273, resizewindow"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
59
modules/home/programs/hyprlandbak/toothpick/rules.nix
Normal file
59
modules/home/programs/hyprlandbak/toothpick/rules.nix
Normal file
@@ -0,0 +1,59 @@
|
|||||||
|
{
|
||||||
|
lib,
|
||||||
|
config,
|
||||||
|
...
|
||||||
|
}: let
|
||||||
|
inherit (lib) mkIf mkEnableOption;
|
||||||
|
cfg = config.home.programs.hyprland.toothpick.rules;
|
||||||
|
in {
|
||||||
|
options = {
|
||||||
|
home.programs.hyprland.toothpick.rules.enable = mkEnableOption "Enables window rule settings in Hyprland";
|
||||||
|
};
|
||||||
|
config = mkIf cfg.enable {
|
||||||
|
wayland.windowManager.hyprland.settings = {
|
||||||
|
# CALCURSE SETTINGS
|
||||||
|
windowrulev2 = [
|
||||||
|
"float,initialTitle:(floatcal)"
|
||||||
|
"size 843 650,initialTitle:(floatcal)"
|
||||||
|
"move 100%-w-20 40,initialTitle:(floatcal)"
|
||||||
|
"float,initialTitle:(tuirun)"
|
||||||
|
"size 600 300,initialTitle:(tuirun)"
|
||||||
|
"center,initialTitle:(tuirun)"
|
||||||
|
# "workspace special:tuirun,initialTitle:(tuirun)"
|
||||||
|
"noborder,initialTitle:(tuirun)"
|
||||||
|
#windowrulev2 = move 1708 32,class:(floatcal)
|
||||||
|
"float,class:(org.keepassxc.KeePassXC)"
|
||||||
|
"size 843 530,class:(org.keepassxc.KeePassXC)"
|
||||||
|
"move 100%-w-20 40,class:(org.keepassxc.KeePassXC)"
|
||||||
|
|
||||||
|
# RANGER/NNN SETTINGS
|
||||||
|
"float,class:(floatranger)"
|
||||||
|
"float,class:(floatnnn)"
|
||||||
|
#windowrulev2 = size 843 650,class:(floatranger)
|
||||||
|
#windowrulev2 = move 1708 32,class:(floatranger)
|
||||||
|
#windowrulev2 = move 1708 32;size 843 650;dimaround;float,class:^(kitty)$,title:^(kitty)$
|
||||||
|
# See https://wiki.hyprland.org/Configuring/Window-Rules/ for more
|
||||||
|
"suppressevent maximize, class:.* # You'll probably like this."
|
||||||
|
#windowrulev2 = noshadow, floating:0
|
||||||
|
"float,class:^(imv)$"
|
||||||
|
"float,class:^(com.github.hluk.copyq)$"
|
||||||
|
"float,class:^(blueman-manager)$"
|
||||||
|
"center,class:^(nwg-look)$"
|
||||||
|
"float,class:^(nwg-look)$"
|
||||||
|
"float,class:^(Lxappearance)$"
|
||||||
|
"float,class:(pavucontrol)$"
|
||||||
|
"move 100%-w-20 40,class:(pavucontrol)$"
|
||||||
|
"float,class:^(polkit-gnome-authentication-agent-1)$"
|
||||||
|
"float,class:^(org.gnome.Calculator)$"
|
||||||
|
"size 741 585,class:(pavucontrol)$"
|
||||||
|
"float,class:^(org.corectrl.CoreCtrl)$"
|
||||||
|
"float,class:^(feh)$"
|
||||||
|
];
|
||||||
|
windowrule = [
|
||||||
|
"center, ^(xarchiver)$"
|
||||||
|
"float, ^(xarchiver)$"
|
||||||
|
"float, ^(org.gnome.FileRoller)$"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
29
modules/home/programs/hyprlandbak/toothpick/startup.nix
Normal file
29
modules/home/programs/hyprlandbak/toothpick/startup.nix
Normal file
@@ -0,0 +1,29 @@
|
|||||||
|
{
|
||||||
|
lib,
|
||||||
|
config,
|
||||||
|
...
|
||||||
|
}: let
|
||||||
|
inherit (lib) mkIf mkEnableOption;
|
||||||
|
cfg = config.home.programs.hyprland.toothpick.startup;
|
||||||
|
in {
|
||||||
|
options = {
|
||||||
|
home.programs.hyprland.toothpick.startup.enable = mkEnableOption "Enables startup settings in Hyprland";
|
||||||
|
};
|
||||||
|
config = mkIf cfg.enable {
|
||||||
|
wayland.windowManager.hyprland.settings = {
|
||||||
|
exec-once = [
|
||||||
|
# STARTUP
|
||||||
|
# exec-once = systemctl --user import-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
|
||||||
|
"systemctl --user start polkit-gnome-authentication-agent-1"
|
||||||
|
# exec-once = lxqt-policykit-agent &
|
||||||
|
"mullvad-vpn"
|
||||||
|
"pamixer --set-volume 50"
|
||||||
|
# exec-once = swaybg -i ~/media/images/wallpaper.png
|
||||||
|
"wl-clip-persist --clipboard regular --all-mime-type-regex '^(?!x-kde-passwordManagerHint).+'"
|
||||||
|
# exec-once = hyprctl dispatch exec "sleep 4s && copyq --start-server"
|
||||||
|
"hyprctl dispatch exec 'sleep 5s && keepassxc'"
|
||||||
|
"hyprctl dispatch exec 'sleep 3s && solaar -w hide'"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
@@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
inputs,
|
# inputs,
|
||||||
pkgs,
|
pkgs,
|
||||||
config,
|
config,
|
||||||
lib,
|
lib,
|
||||||
@@ -8,8 +8,8 @@
|
|||||||
inherit (lib) mkIf mkEnableOption;
|
inherit (lib) mkIf mkEnableOption;
|
||||||
cfg = config.home.programs.hyprlock;
|
cfg = config.home.programs.hyprlock;
|
||||||
|
|
||||||
hyprlockFlake = inputs.hyprlock.packages.${pkgs.system}.hyprlock;
|
# hyprlockFlake = inputs.hyprlock.packages.${pkgs.system}.hyprlock;
|
||||||
# hyprlockPkg = pkgs.hyprlock;
|
hyprlockPkg = pkgs.hyprlock;
|
||||||
in {
|
in {
|
||||||
options = {
|
options = {
|
||||||
home.programs.hyprlock.enable = mkEnableOption "Enables hyprlock";
|
home.programs.hyprlock.enable = mkEnableOption "Enables hyprlock";
|
||||||
@@ -17,7 +17,7 @@ in {
|
|||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
programs.hyprlock = {
|
programs.hyprlock = {
|
||||||
enable = true;
|
enable = true;
|
||||||
package = hyprlockFlake;
|
package = hyprlockPkg;
|
||||||
settings = {
|
settings = {
|
||||||
general = {
|
general = {
|
||||||
disable_loading_bar = true;
|
disable_loading_bar = true;
|
||||||
|
|||||||
@@ -19,10 +19,6 @@ in {
|
|||||||
feh = {
|
feh = {
|
||||||
enable = true;
|
enable = true;
|
||||||
};
|
};
|
||||||
# system information
|
|
||||||
fastfetch = {
|
|
||||||
enable = true;
|
|
||||||
};
|
|
||||||
# a monitor of resources
|
# a monitor of resources
|
||||||
btop = {
|
btop = {
|
||||||
enable = true;
|
enable = true;
|
||||||
@@ -33,12 +29,12 @@ in {
|
|||||||
};
|
};
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
# misc.gui
|
# misc.gui
|
||||||
virt-manager
|
# virt-manager
|
||||||
xfce.thunar
|
xfce.thunar
|
||||||
file-roller # archiver
|
file-roller # archiver
|
||||||
gnome-calculator
|
gnome-calculator
|
||||||
keepassxc
|
keepassxc
|
||||||
networkmanagerapplet # tray icon for NetworkManager
|
# networkmanagerapplet # tray icon for NetworkManager
|
||||||
nwg-look # GTK settings
|
nwg-look # GTK settings
|
||||||
pavucontrol # GUI sound control
|
pavucontrol # GUI sound control
|
||||||
qbittorrent
|
qbittorrent
|
||||||
@@ -47,6 +43,7 @@ in {
|
|||||||
# misc.tui
|
# misc.tui
|
||||||
ranger
|
ranger
|
||||||
xcur2png
|
xcur2png
|
||||||
|
cmatrix
|
||||||
calcurse # calendar
|
calcurse # calendar
|
||||||
chatgpt-cli
|
chatgpt-cli
|
||||||
exiftool
|
exiftool
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ in {
|
|||||||
};
|
};
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
home = {
|
home = {
|
||||||
packages = [pkgs.glib]; # gsettings
|
# packages = [pkgs.glib]; # gsettings
|
||||||
pointerCursor = {
|
pointerCursor = {
|
||||||
# package = pkgs.catppuccin-cursors.latteDark;
|
# package = pkgs.catppuccin-cursors.latteDark;
|
||||||
# name = "catppuccin-latte-dark-cursors";
|
# name = "catppuccin-latte-dark-cursors";
|
||||||
|
|||||||
@@ -2,14 +2,14 @@
|
|||||||
config,
|
config,
|
||||||
lib,
|
lib,
|
||||||
pkgs,
|
pkgs,
|
||||||
inputs,
|
# inputs,
|
||||||
...
|
...
|
||||||
}: let
|
}: let
|
||||||
inherit (lib) mkIf mkEnableOption;
|
inherit (lib) mkIf mkEnableOption;
|
||||||
cfg = config.home.services.hypridle;
|
cfg = config.home.services.hypridle;
|
||||||
|
|
||||||
hypridleFlake = inputs.hypridle.packages.${pkgs.system}.hypridle;
|
# hypridleFlake = inputs.hypridle.packages.${pkgs.system}.hypridle;
|
||||||
# hypridlePkg = pkgs.hypridle;
|
hypridlePkg = pkgs.hypridle;
|
||||||
in {
|
in {
|
||||||
options = {
|
options = {
|
||||||
home.services.hypridle.enable = mkEnableOption "Enables hypridle";
|
home.services.hypridle.enable = mkEnableOption "Enables hypridle";
|
||||||
@@ -17,7 +17,7 @@ in {
|
|||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
services.hypridle = {
|
services.hypridle = {
|
||||||
enable = true;
|
enable = true;
|
||||||
package = hypridleFlake;
|
package = hypridlePkg;
|
||||||
settings = {
|
settings = {
|
||||||
general = {
|
general = {
|
||||||
lock_cmd = "hyprlock";
|
lock_cmd = "hyprlock";
|
||||||
|
|||||||
@@ -2,14 +2,14 @@
|
|||||||
config,
|
config,
|
||||||
lib,
|
lib,
|
||||||
pkgs,
|
pkgs,
|
||||||
inputs,
|
# inputs,
|
||||||
...
|
...
|
||||||
}: let
|
}: let
|
||||||
inherit (lib) mkIf mkEnableOption;
|
inherit (lib) mkIf mkEnableOption;
|
||||||
cfg = config.home.services.hyprpaper;
|
cfg = config.home.services.hyprpaper;
|
||||||
|
|
||||||
hyprpaperFlake = inputs.hyprpaper.packages.${pkgs.system}.default;
|
# hyprpaperFlake = inputs.hyprpaper.packages.${pkgs.system}.default;
|
||||||
# hyprpaperPkg = pkgs.hyprpaper;
|
hyprpaperPkg = pkgs.hyprpaper;
|
||||||
in {
|
in {
|
||||||
options = {
|
options = {
|
||||||
home.services.hyprpaper.enable = mkEnableOption "Enables hyprpaper";
|
home.services.hyprpaper.enable = mkEnableOption "Enables hyprpaper";
|
||||||
@@ -17,7 +17,7 @@ in {
|
|||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
services.hyprpaper = {
|
services.hyprpaper = {
|
||||||
enable = true;
|
enable = true;
|
||||||
package = hyprpaperFlake;
|
package = hyprpaperPkg;
|
||||||
settings = {
|
settings = {
|
||||||
ipc = "on";
|
ipc = "on";
|
||||||
splash = false;
|
splash = false;
|
||||||
|
|||||||
@@ -72,7 +72,10 @@ in {
|
|||||||
};
|
};
|
||||||
|
|
||||||
chaotic = mkIf (cfg.variant == "cachyos") {
|
chaotic = mkIf (cfg.variant == "cachyos") {
|
||||||
scx.enable = true;
|
scx = {
|
||||||
|
enable = true;
|
||||||
|
scheduler = "scx_lavd";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -12,11 +12,10 @@ in {
|
|||||||
enable = mkEnableOption "AMD graphics support";
|
enable = mkEnableOption "AMD graphics support";
|
||||||
|
|
||||||
packageSet = mkOption {
|
packageSet = mkOption {
|
||||||
type = types.enum ["standard" "chaotic" "minimal"];
|
type = types.enum ["standard" "chaotic"];
|
||||||
default = "minimal";
|
default = "standard";
|
||||||
description = ''
|
description = ''
|
||||||
Which set of AMD graphics packages to use:
|
Which set of AMD graphics packages to use:
|
||||||
- minimal: Only basic drivers and libraries
|
|
||||||
- standard: Additional AMD-specific tools and utilities
|
- standard: Additional AMD-specific tools and utilities
|
||||||
- chaotic: Chaotic Mesa git version with additional optimizations
|
- chaotic: Chaotic Mesa git version with additional optimizations
|
||||||
'';
|
'';
|
||||||
@@ -26,35 +25,37 @@ in {
|
|||||||
|
|
||||||
config = mkIf cfg.enable (mkMerge [
|
config = mkIf cfg.enable (mkMerge [
|
||||||
{
|
{
|
||||||
# Base configuration that applies regardless of package set
|
# Base configuration
|
||||||
hardware.graphics = {
|
hardware.graphics = {
|
||||||
enable = true;
|
enable = true;
|
||||||
enable32Bit = true;
|
enable32Bit = true;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# Standard Package Set
|
||||||
(mkIf (cfg.packageSet == "standard") {
|
(mkIf (cfg.packageSet == "standard") {
|
||||||
hardware.graphics = {
|
hardware.graphics.extraPackages = with pkgs; [
|
||||||
extraPackages = with pkgs; [
|
libva
|
||||||
libva
|
vaapiVdpau
|
||||||
vaapiVdpau
|
libvdpau-va-gl
|
||||||
libvdpau-va-gl
|
vulkan-loader
|
||||||
amdvlk
|
vulkan-validation-layers
|
||||||
vulkan-tools
|
vulkan-extension-layer
|
||||||
];
|
];
|
||||||
extraPackages32 = with pkgs.pkgsi686Linux; [
|
hardware.graphics.extraPackages32 = with pkgs.pkgsi686Linux; [
|
||||||
vaapiVdpau
|
vaapiVdpau
|
||||||
libvdpau-va-gl
|
libvdpau-va-gl
|
||||||
];
|
];
|
||||||
};
|
environment.systemPackages = with pkgs; [
|
||||||
|
vulkan-tools
|
||||||
|
wayland
|
||||||
|
wayland-protocols
|
||||||
|
];
|
||||||
})
|
})
|
||||||
|
|
||||||
|
# Chaotic Package Set
|
||||||
(mkIf (cfg.packageSet == "chaotic") {
|
(mkIf (cfg.packageSet == "chaotic") {
|
||||||
chaotic = {
|
chaotic = {
|
||||||
scx = {
|
|
||||||
enable = true;
|
|
||||||
scheduler = "scx_lavd";
|
|
||||||
};
|
|
||||||
mesa-git = {
|
mesa-git = {
|
||||||
enable = true;
|
enable = true;
|
||||||
extraPackages = with pkgs; [
|
extraPackages = with pkgs; [
|
||||||
@@ -65,18 +66,14 @@ in {
|
|||||||
latencyflex-vulkan
|
latencyflex-vulkan
|
||||||
mesa_git
|
mesa_git
|
||||||
mesa_git.opencl
|
mesa_git.opencl
|
||||||
vulkanPackages_latest.gfxreconstruct
|
vulkanPackages_latest.vulkan-loader
|
||||||
vulkanPackages_latest.spirv-cross
|
vulkanPackages_latest.vulkan-headers
|
||||||
|
vulkanPackages_latest.vulkan-validation-layers
|
||||||
|
vulkanPackages_latest.vulkan-extension-layer
|
||||||
|
vulkanPackages_latest.vulkan-utility-libraries
|
||||||
|
vulkanPackages_latest.vulkan-volk
|
||||||
vulkanPackages_latest.spirv-headers
|
vulkanPackages_latest.spirv-headers
|
||||||
vulkanPackages_latest.spirv-tools
|
vulkanPackages_latest.spirv-tools
|
||||||
vulkanPackages_latest.vulkan-extension-layer
|
|
||||||
vulkanPackages_latest.vulkan-headers
|
|
||||||
vulkanPackages_latest.vulkan-loader
|
|
||||||
vulkanPackages_latest.vulkan-tools
|
|
||||||
vulkanPackages_latest.vulkan-tools-lunarg
|
|
||||||
vulkanPackages_latest.vulkan-utility-libraries
|
|
||||||
vulkanPackages_latest.vulkan-validation-layers
|
|
||||||
vulkanPackages_latest.vulkan-volk
|
|
||||||
];
|
];
|
||||||
extraPackages32 = with pkgs.pkgsi686Linux; [
|
extraPackages32 = with pkgs.pkgsi686Linux; [
|
||||||
pkgs.mesa32_git
|
pkgs.mesa32_git
|
||||||
@@ -88,6 +85,14 @@ in {
|
|||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
environment.systemPackages = with pkgs; [
|
||||||
|
vulkanPackages_latest.vulkan-tools
|
||||||
|
vulkanPackages_latest.vulkan-tools-lunarg
|
||||||
|
vulkanPackages_latest.gfxreconstruct
|
||||||
|
vulkanPackages_latest.spirv-cross
|
||||||
|
wayland-protocols_git
|
||||||
|
wayland_git
|
||||||
|
];
|
||||||
})
|
})
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -9,11 +9,6 @@ in {
|
|||||||
options = {
|
options = {
|
||||||
nixos.hardware.network = {
|
nixos.hardware.network = {
|
||||||
enable = mkEnableOption "Enable the custom networking module";
|
enable = mkEnableOption "Enable the custom networking module";
|
||||||
hostName = mkOption {
|
|
||||||
type = types.str;
|
|
||||||
default = "default-hostname";
|
|
||||||
description = "Hostname for the nixos.";
|
|
||||||
};
|
|
||||||
interfaces = mkOption {
|
interfaces = mkOption {
|
||||||
type = types.attrsOf (types.submodule {
|
type = types.attrsOf (types.submodule {
|
||||||
options = {
|
options = {
|
||||||
@@ -53,7 +48,6 @@ in {
|
|||||||
|
|
||||||
networking = {
|
networking = {
|
||||||
networkmanager.enable = true;
|
networkmanager.enable = true;
|
||||||
inherit (cfg) hostName;
|
|
||||||
nftables.enable = true;
|
nftables.enable = true;
|
||||||
firewall = {
|
firewall = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
}: let
|
}: let
|
||||||
inherit (lib) mkIf mkEnableOption;
|
inherit (lib) mkIf mkEnableOption;
|
||||||
cfg = config.nixos.programs.hyprland;
|
cfg = config.nixos.programs.hyprland;
|
||||||
hyprsysteminfoFlake = inputs.hyprsysteminfo.packages.${pkgs.system}.default;
|
# hyprsysteminfoFlake = inputs.hyprsysteminfo.packages.${pkgs.system}.default;
|
||||||
in {
|
in {
|
||||||
options = {
|
options = {
|
||||||
nixos.programs.hyprland.enable = mkEnableOption "Enables hyprland";
|
nixos.programs.hyprland.enable = mkEnableOption "Enables hyprland";
|
||||||
@@ -17,14 +17,14 @@ in {
|
|||||||
programs.hyprland = {
|
programs.hyprland = {
|
||||||
enable = true;
|
enable = true;
|
||||||
xwayland.enable = true;
|
xwayland.enable = true;
|
||||||
package = inputs.hyprland.packages.${pkgs.system}.default;
|
package = pkgs.hyprland;
|
||||||
portalPackage = inputs.hyprland.packages.${pkgs.system}.xdg-desktop-portal-hyprland;
|
portalPackage = pkgs.xdg-desktop-portal-hyprland;
|
||||||
};
|
};
|
||||||
environment = {
|
environment = {
|
||||||
variables.NIXOS_OZONE_WL = "1";
|
variables.NIXOS_OZONE_WL = "1";
|
||||||
systemPackages = [
|
systemPackages = [
|
||||||
pkgs.hyprwayland-scanner
|
# pkgs.hyprwayland-scanner
|
||||||
hyprsysteminfoFlake
|
# hyprsysteminfoFlake
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -14,8 +14,6 @@ in {
|
|||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
lutris
|
lutris
|
||||||
bottles
|
bottles
|
||||||
wineWowPackages.waylandFull
|
|
||||||
wineWowPackages.stagingFull
|
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -27,6 +27,7 @@ in {
|
|||||||
(mkIf cfg.desktop.enable [
|
(mkIf cfg.desktop.enable [
|
||||||
pkgs.protonup
|
pkgs.protonup
|
||||||
pkgs.winetricks
|
pkgs.winetricks
|
||||||
|
pkgs.wine
|
||||||
])
|
])
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -24,7 +24,7 @@ in {
|
|||||||
default = false;
|
default = false;
|
||||||
description = "Enables autologin for a specified user.";
|
description = "Enables autologin for a specified user.";
|
||||||
};
|
};
|
||||||
autologin.user = mkOption {
|
user = mkOption {
|
||||||
type = types.str;
|
type = types.str;
|
||||||
default = "cnst";
|
default = "cnst";
|
||||||
description = "The username to auto-login when autologin is enabled.";
|
description = "The username to auto-login when autologin is enabled.";
|
||||||
@@ -39,14 +39,14 @@ in {
|
|||||||
# Conditionally include initial_session if autologin is enabled
|
# Conditionally include initial_session if autologin is enabled
|
||||||
(mkIf cfg.autologin.enable {
|
(mkIf cfg.autologin.enable {
|
||||||
initial_session = {
|
initial_session = {
|
||||||
command = "${pkgs.hyprland}/bin/Hyprland";
|
command = "${lib.getExe config.programs.hyprland.package}";
|
||||||
user = cfg.autologin.user;
|
user = cfg.user;
|
||||||
};
|
};
|
||||||
})
|
})
|
||||||
{
|
{
|
||||||
default_session = {
|
default_session = {
|
||||||
command = "${pkgs.greetd.tuigreet}/bin/tuigreet -r --remember-session --asterisks";
|
command = "${pkgs.greetd.tuigreet}/bin/tuigreet -r --remember-session --asterisks";
|
||||||
user = "greeter";
|
user = cfg.user;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|||||||
@@ -22,6 +22,7 @@ in {
|
|||||||
};
|
};
|
||||||
config = {
|
config = {
|
||||||
services.xserver = {
|
services.xserver = {
|
||||||
|
enable = true;
|
||||||
videoDrivers = cfg.videoDrivers;
|
videoDrivers = cfg.videoDrivers;
|
||||||
xkb.layout = cfg.xkbLayout;
|
xkb.layout = cfg.xkbLayout;
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -34,7 +34,7 @@ in {
|
|||||||
clang-tools
|
clang-tools
|
||||||
marksman
|
marksman
|
||||||
pyright
|
pyright
|
||||||
nodePackages_latest.intelephense
|
# nodePackages_latest.intelephense
|
||||||
|
|
||||||
# Formatters
|
# Formatters
|
||||||
alejandra
|
alejandra
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ in {
|
|||||||
enable = true;
|
enable = true;
|
||||||
xdgOpenUsePortal = cfg.xdgOpenUsePortal;
|
xdgOpenUsePortal = cfg.xdgOpenUsePortal;
|
||||||
config = {
|
config = {
|
||||||
common.default = "*";
|
common.default = ["gtk"];
|
||||||
hyprland.default = ["hyprland" "gtk"];
|
hyprland.default = ["hyprland" "gtk"];
|
||||||
};
|
};
|
||||||
extraPortals = [pkgs.xdg-desktop-portal-gtk];
|
extraPortals = [pkgs.xdg-desktop-portal-gtk];
|
||||||
|
|||||||
@@ -26,23 +26,21 @@
|
|||||||
];
|
];
|
||||||
|
|
||||||
sessionVariables = {
|
sessionVariables = {
|
||||||
BROWSER = "firefox";
|
BROWSER = "zen";
|
||||||
EDITOR = "hx";
|
EDITOR = "hx";
|
||||||
TERM = "xterm-256color";
|
TERM = "xterm-256color";
|
||||||
|
|
||||||
STEAM_EXTRA_COMPAT_TOOLS_PATHS = "/home/cnst/.steam/root/compatibilitytools.d"; # proton and steam compat
|
VK_ICD_FILENAMES = "/run/opengl-driver/share/vulkan/icd.d/radeon_icd.x86_64.json";
|
||||||
|
STEAM_EXTRA_COMPAT_TOOLS_PATHS = "/home/cnst/.steam/root/compatibilitytools.d";
|
||||||
QT_QPA_PLATFORM = "wayland";
|
QT_QPA_PLATFORM = "wayland";
|
||||||
SDL_VIDEODRIVER = "wayland";
|
|
||||||
XDG_SESSION_TYPE = "wayland";
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
# disable manuals as nmd fails to build often
|
|
||||||
manual = {
|
manual = {
|
||||||
html.enable = false;
|
html.enable = false;
|
||||||
json.enable = false;
|
json.enable = false;
|
||||||
manpages.enable = false;
|
manpages.enable = false;
|
||||||
};
|
};
|
||||||
# let HM manage itself when in standalone mode
|
|
||||||
programs.home-manager.enable = true;
|
programs.home-manager.enable = true;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -48,12 +48,7 @@
|
|||||||
enable = true;
|
enable = true;
|
||||||
};
|
};
|
||||||
hyprland = {
|
hyprland = {
|
||||||
cnst = {
|
enable = true;
|
||||||
enable = true;
|
|
||||||
};
|
|
||||||
toothpick = {
|
|
||||||
enable = false;
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
hyprlock = {
|
hyprlock = {
|
||||||
enable = true;
|
enable = true;
|
||||||
@@ -71,7 +66,7 @@
|
|||||||
enable = true;
|
enable = true;
|
||||||
};
|
};
|
||||||
neovim = {
|
neovim = {
|
||||||
enable = true;
|
enable = false;
|
||||||
};
|
};
|
||||||
rofi = {
|
rofi = {
|
||||||
enable = false;
|
enable = false;
|
||||||
@@ -92,7 +87,7 @@
|
|||||||
enable = false;
|
enable = false;
|
||||||
};
|
};
|
||||||
yazi = {
|
yazi = {
|
||||||
enable = true;
|
enable = false;
|
||||||
};
|
};
|
||||||
zathura = {
|
zathura = {
|
||||||
enable = true;
|
enable = true;
|
||||||
@@ -112,7 +107,7 @@
|
|||||||
enable = true;
|
enable = true;
|
||||||
};
|
};
|
||||||
copyq = {
|
copyq = {
|
||||||
enable = true;
|
enable = false;
|
||||||
};
|
};
|
||||||
dconf = {
|
dconf = {
|
||||||
settings = {
|
settings = {
|
||||||
|
|||||||
@@ -39,12 +39,7 @@
|
|||||||
enable = true;
|
enable = true;
|
||||||
};
|
};
|
||||||
hyprland = {
|
hyprland = {
|
||||||
cnst = {
|
enable = true;
|
||||||
enable = false;
|
|
||||||
};
|
|
||||||
toothpick = {
|
|
||||||
enable = true;
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
hyprlock = {
|
hyprlock = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user