Compare commits

...

10 Commits

Author SHA1 Message Date
c2e206da16
stuff 2023-01-25 18:04:55 +03:00
965f163605
a 2023-01-25 16:57:18 +03:00
4dadff4f5f
add 2023-01-11 00:28:45 +03:00
b8032e0b16
guh 2023-01-11 00:06:31 +03:00
fe8b10ec4f
update stuff 2023-01-01 17:01:49 +03:00
55de7a4aad
a 2022-12-28 09:31:14 +03:00
0adcaea70e
fixes 2022-12-06 22:03:04 +03:00
bc1a7d8733
a 2022-11-27 01:04:43 +03:00
149eec29c4
update inputs 2022-11-18 00:12:43 +03:00
dcf9d08107
stuff 2022-11-18 00:06:43 +03:00
27 changed files with 431 additions and 172 deletions

View File

@ -17,35 +17,18 @@
"type": "github" "type": "github"
} }
}, },
"all-cabal-json_2": {
"flake": false,
"locked": {
"lastModified": 1665552503,
"narHash": "sha256-r14RmRSwzv5c+bWKUDaze6pXM7nOsiz1H8nvFHJvufc=",
"owner": "nix-community",
"repo": "all-cabal-json",
"rev": "d7c0434eebffb305071404edcf9d5cd99703878e",
"type": "github"
},
"original": {
"owner": "nix-community",
"ref": "hackage",
"repo": "all-cabal-json",
"type": "github"
}
},
"base16-schemes": { "base16-schemes": {
"flake": false, "flake": false,
"locked": { "locked": {
"lastModified": 1654895891, "lastModified": 1665690101,
"narHash": "sha256-xYYmZkHnyLCUBAkqkZ7v1Lc5m39857MukQLMRtGuvdk=", "narHash": "sha256-J2ZvNaVFkqaTXzYO5L+jyRORfIOavFPKvWItP6UTMKs=",
"owner": "base16-project", "owner": "tinted-theming",
"repo": "base16-schemes", "repo": "base16-schemes",
"rev": "7c247f734eac7f04518c6e28d098635ee8dcabf5", "rev": "a3dc916cf90471a422c0bfe1bb4b1bdd12185ced",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "base16-project", "owner": "tinted-theming",
"repo": "base16-schemes", "repo": "base16-schemes",
"type": "github" "type": "github"
} }
@ -97,6 +80,18 @@
"url": "https://git.gaze.systems/dusk/website.git" "url": "https://git.gaze.systems/dusk/website.git"
} }
}, },
"catppuccin-discord": {
"flake": false,
"locked": {
"narHash": "sha256-Yic2wQb2Dg86yimbTXDVdRcN1N+9FJrY34PQKpQuRfo=",
"type": "file",
"url": "https://catppuccin.github.io/discord/dist/catppuccin-mocha.theme.css"
},
"original": {
"type": "file",
"url": "https://catppuccin.github.io/discord/dist/catppuccin-mocha.theme.css"
}
},
"crane": { "crane": {
"flake": false, "flake": false,
"locked": { "locked": {
@ -116,11 +111,11 @@
"crane_2": { "crane_2": {
"flake": false, "flake": false,
"locked": { "locked": {
"lastModified": 1661875961, "lastModified": 1670900067,
"narHash": "sha256-f1h/2c6Teeu1ofAHWzrS8TwBPcnN+EEu+z1sRVmMQTk=", "narHash": "sha256-VXVa+KBfukhmWizaiGiHRVX/fuk66P8dgSFfkVN4/MY=",
"owner": "ipetkov", "owner": "ipetkov",
"repo": "crane", "repo": "crane",
"rev": "d9f394e4e20e97c2a60c3ad82c2b6ef99be19e24", "rev": "59b31b41a589c0a65e4a1f86b0e5eac68081468b",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -148,11 +143,11 @@
"devshell_2": { "devshell_2": {
"flake": false, "flake": false,
"locked": { "locked": {
"lastModified": 1666548262, "lastModified": 1667210711,
"narHash": "sha256-4DyN4KXqQQsCw0vCXkMThw4b5Q4/q87ZZgRb4st8COc=", "narHash": "sha256-IoErjXZAkzYWHEpQqwu/DeRNJGFdR7X2OGbkhMqMrpw=",
"owner": "numtide", "owner": "numtide",
"repo": "devshell", "repo": "devshell",
"rev": "c8ce8ed81726079c398f5f29c4b68a7d6a3c2fa2", "rev": "96a9dd12b8a447840cc246e17a47b81a4268bba7",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -225,31 +220,38 @@
"inputs": { "inputs": {
"alejandra": [ "alejandra": [
"helix", "helix",
"nci", "nci"
"nixpkgs" ],
"all-cabal-json": [
"helix",
"nci"
], ],
"all-cabal-json": "all-cabal-json_2",
"crane": "crane_2", "crane": "crane_2",
"devshell": [ "devshell": [
"helix", "helix",
"nci", "nci",
"devshell" "devshell"
], ],
"flake-parts": "flake-parts_2",
"flake-utils-pre-commit": [ "flake-utils-pre-commit": [
"helix", "helix",
"nci", "nci"
"nixpkgs" ],
"ghc-utils": [
"helix",
"nci"
], ],
"ghc-utils": "ghc-utils_2",
"gomod2nix": [ "gomod2nix": [
"helix", "helix",
"nci", "nci"
"nixpkgs"
], ],
"mach-nix": [ "mach-nix": [
"helix", "helix",
"nci", "nci"
"nixpkgs" ],
"nix-pypi-fetcher": [
"helix",
"nci"
], ],
"nixpkgs": [ "nixpkgs": [
"helix", "helix",
@ -258,21 +260,19 @@
], ],
"poetry2nix": [ "poetry2nix": [
"helix", "helix",
"nci", "nci"
"nixpkgs"
], ],
"pre-commit-hooks": [ "pre-commit-hooks": [
"helix", "helix",
"nci", "nci"
"nixpkgs"
] ]
}, },
"locked": { "locked": {
"lastModified": 1666993587, "lastModified": 1671323629,
"narHash": "sha256-4cLrs+CwWnceYXnCpL5gO3bybS9CjLxUoTEKjB2QFtg=", "narHash": "sha256-9KHTPjIDjfnzZ4NjpE3gGIVHVHopy6weRDYO/7Y3hF8=",
"owner": "nix-community", "owner": "nix-community",
"repo": "dream2nix", "repo": "dream2nix",
"rev": "2b7456e3d2f0053bc2474fb0c461dd468545277f", "rev": "2d7d68505c8619410df2c6b6463985f97cbcba6e",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -330,11 +330,11 @@
"rust-overlay": "rust-overlay_2" "rust-overlay": "rust-overlay_2"
}, },
"locked": { "locked": {
"lastModified": 1667044926, "lastModified": 1672946489,
"narHash": "sha256-VJx7GKkVmXCxsDfOXEDXGrAHZWyHN74Ax6GUXiir0Z8=", "narHash": "sha256-IliWerC9qk4MxYNRoe/8uuQZkqjPJPsph46fmVBvo9U=",
"owner": "elkowar", "owner": "elkowar",
"repo": "eww", "repo": "eww",
"rev": "7a0e1b77f24ee89d627e552f9abc55eb636aaaa6", "rev": "6a64a286291456984011c4fb160def106ee55dff",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -377,6 +377,24 @@
"type": "github" "type": "github"
} }
}, },
"flake-parts_2": {
"inputs": {
"nixpkgs-lib": "nixpkgs-lib"
},
"locked": {
"lastModified": 1668450977,
"narHash": "sha256-cfLhMhnvXn6x1vPm+Jow3RiFAUSCw/l1utktCw5rVA4=",
"owner": "hercules-ci",
"repo": "flake-parts",
"rev": "d591857e9d7dd9ddbfba0ea02b43b927c3c0f1fa",
"type": "github"
},
"original": {
"owner": "hercules-ci",
"repo": "flake-parts",
"type": "github"
}
},
"flake-utils": { "flake-utils": {
"locked": { "locked": {
"lastModified": 1656928814, "lastModified": 1656928814,
@ -409,11 +427,11 @@
}, },
"flake-utils_3": { "flake-utils_3": {
"locked": { "locked": {
"lastModified": 1659877975, "lastModified": 1667395993,
"narHash": "sha256-zllb8aq3YO3h8B/U0/J1WBgAL8EX5yWf5pMj3G0NAmc=", "narHash": "sha256-nuEHfE/LcWyuSWnS8t12N1wc105Qtau+/OdUAjtQ0rA=",
"owner": "numtide", "owner": "numtide",
"repo": "flake-utils", "repo": "flake-utils",
"rev": "c0e246b9b83f637f4681389ecabcb2681b4f3af0", "rev": "5aed5285a952e0b949eb3ba02c12fa4fcfef535f",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -438,22 +456,6 @@
"url": "https://gitlab.haskell.org/bgamari/ghc-utils" "url": "https://gitlab.haskell.org/bgamari/ghc-utils"
} }
}, },
"ghc-utils_2": {
"flake": false,
"locked": {
"lastModified": 1662774800,
"narHash": "sha256-1Rd2eohGUw/s1tfvkepeYpg8kCEXiIot0RijapUjAkE=",
"ref": "refs/heads/master",
"rev": "bb3a2d3dc52ff0253fb9c2812bd7aa2da03e0fea",
"revCount": 1072,
"type": "git",
"url": "https://gitlab.haskell.org/bgamari/ghc-utils"
},
"original": {
"type": "git",
"url": "https://gitlab.haskell.org/bgamari/ghc-utils"
}
},
"haskell-flake": { "haskell-flake": {
"locked": { "locked": {
"lastModified": 1661726764, "lastModified": 1661726764,
@ -492,11 +494,11 @@
"rust-overlay": "rust-overlay_3" "rust-overlay": "rust-overlay_3"
}, },
"locked": { "locked": {
"lastModified": 1667455761, "lastModified": 1674602802,
"narHash": "sha256-+1++fBJw6yIXpGrBHpDdYLLCD1XGNRh6CYCOWEAYb5o=", "narHash": "sha256-MXq9P36zSJTD0yFd1cXC9AV6WJZJuL36R1rrwDlc0d4=",
"owner": "helix-editor", "owner": "helix-editor",
"repo": "helix", "repo": "helix",
"rev": "ba394dca6d3a5b52622c4d7b0d3aba7c30af9701", "rev": "91dca3f667e146f93e6dca205b0a3f2a7a64b488",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -513,11 +515,11 @@
"utils": "utils" "utils": "utils"
}, },
"locked": { "locked": {
"lastModified": 1667468181, "lastModified": 1674556204,
"narHash": "sha256-806/nrDW6e7bl4/oJEdAykYz/NaBuTUi7EUYArw2oic=", "narHash": "sha256-HCRmkZsq01h2Evch08zpgE9jeHdMtGdT1okWotyvuhY=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "93335810751f0404fe424e61ad58bc8e94bf8e9d", "rev": "c59f0eac51da91c6989fd13a68e156f63c0e60b6",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -529,17 +531,19 @@
}, },
"hyprland": { "hyprland": {
"inputs": { "inputs": {
"hyprland-protocols": "hyprland-protocols",
"nixpkgs": [ "nixpkgs": [
"nixpkgs" "nixpkgs"
], ],
"wlroots": "wlroots" "wlroots": "wlroots",
"xdph": "xdph"
}, },
"locked": { "locked": {
"lastModified": 1667482534, "lastModified": 1674604320,
"narHash": "sha256-whsQ4dAdvOptYh3cHm5uu1Twik6TEZsU8FFOwS37El4=", "narHash": "sha256-yhSiPmT3fmOaV2dLBNCsGGpN4t2Ucs6Q3dGygBH34sc=",
"owner": "hyprwm", "owner": "hyprwm",
"repo": "Hyprland", "repo": "Hyprland",
"rev": "d0e47d9fe09dfa3be0c46833bee832ddbe0fcb51", "rev": "12e293e3092b03dbb9d82e7a749f482ef2b7ea6e",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -555,11 +559,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1666104453, "lastModified": 1672071700,
"narHash": "sha256-gMH11FNZtnU7d+pIkwg9NmumJ6YvxyUP9Do43YKrd/E=", "narHash": "sha256-Z0pbBVtijv4xbL42rPzMoYFSOqALFRYDMN9iOumSEso=",
"owner": "hyprwm", "owner": "hyprwm",
"repo": "contrib", "repo": "contrib",
"rev": "5b21c74a3200ffdd48ed7764c7041d43c3cd5588", "rev": "37c8121f98d76f57caa00dd7106877876e0d7483",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -568,6 +572,27 @@
"type": "github" "type": "github"
} }
}, },
"hyprland-protocols": {
"inputs": {
"nixpkgs": [
"hyprland",
"nixpkgs"
]
},
"locked": {
"lastModified": 1671839510,
"narHash": "sha256-+PY1qqJfmZzzROgcIY4I7AkCwpnC+qBIYk2eFoA9RWc=",
"owner": "hyprwm",
"repo": "hyprland-protocols",
"rev": "b8f55e02a328c47ed373133c52483bbfa20a1b75",
"type": "github"
},
"original": {
"owner": "hyprwm",
"repo": "hyprland-protocols",
"type": "github"
}
},
"nci": { "nci": {
"inputs": { "inputs": {
"devshell": "devshell", "devshell": "devshell",
@ -606,11 +631,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1667232647, "lastModified": 1671430291,
"narHash": "sha256-cFo7G8BqYShgL9m7yD6p+SHAZ+aIt2guuF69LV235n8=", "narHash": "sha256-UIc7H8F3N8rK72J/Vj5YJdV72tvDvYjH+UPsOFvlcsE=",
"owner": "yusdacra", "owner": "yusdacra",
"repo": "nix-cargo-integration", "repo": "nix-cargo-integration",
"rev": "16082f7b4e42ce140a562fa630bcf8e96eadeb59", "rev": "b1b0d38b8c3b0d0e6a38638d5bbe10b0bc67522c",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -628,11 +653,11 @@
"rust-overlay": "rust-overlay_4" "rust-overlay": "rust-overlay_4"
}, },
"locked": { "locked": {
"lastModified": 1666573264, "lastModified": 1674573236,
"narHash": "sha256-0pNGQaU8DSqVgg2susfzUID+fHw6l6oQxve6eB8EZU8=", "narHash": "sha256-VN1KG1Sh9s5IpLzVhCYAQcBITh4jmG8gl0F4wBX8lVk=",
"owner": "oxalica", "owner": "oxalica",
"repo": "nil", "repo": "nil",
"rev": "68d9663f8eb556df8f5b4629614004f595e6af4e", "rev": "6e5321582ca7595455edf2a9643f83ce390d0a71",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -644,14 +669,14 @@
"nix-colors": { "nix-colors": {
"inputs": { "inputs": {
"base16-schemes": "base16-schemes", "base16-schemes": "base16-schemes",
"nixpkgs-lib": "nixpkgs-lib" "nixpkgs-lib": "nixpkgs-lib_2"
}, },
"locked": { "locked": {
"lastModified": 1667165773, "lastModified": 1672236234,
"narHash": "sha256-47gEPN7UKrNM+a3OKAFtNQeyc1/sSPgDm3OGCgphCyo=", "narHash": "sha256-dpBIuxcDEvJbLD8fTipE0A0JbQD1lZB94zYFPoh01PI=",
"owner": "Misterio77", "owner": "Misterio77",
"repo": "nix-colors", "repo": "nix-colors",
"rev": "a58fb210eb285920ec10f204d007185b3629cadc", "rev": "7e459f1d88ac54fc2f4b308adb5064863006e4b1",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -667,11 +692,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1666918008, "lastModified": 1671116920,
"narHash": "sha256-SqdXt8rPOj59mgIFwB+DvkzDbLWjrChw+UyVfMlS6Rg=", "narHash": "sha256-QmDGsUUmAGn77UTR7eQJmebl8f3IIUCtmbbAdJqKA3s=",
"owner": "matthewcroughan", "owner": "matthewcroughan",
"repo": "nixinate", "repo": "nixinate",
"rev": "118c71c5111ab218d0cca3e4c77303797344b409", "rev": "b4d17b8e2a4abc47e93e1a1c466e0286a63640d8",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -682,11 +707,11 @@
}, },
"nixos-hardware": { "nixos-hardware": {
"locked": { "locked": {
"lastModified": 1667283320, "lastModified": 1674550793,
"narHash": "sha256-qHvB/6XBKVjjJJCUM+z6/t9HzUC7J55wdY3KJ/ZWSHo=", "narHash": "sha256-ljJlIFQZwtBbzWqWTmmw2O5BFmQf1A/DspwMOQtGXHk=",
"owner": "nixos", "owner": "nixos",
"repo": "nixos-hardware", "repo": "nixos-hardware",
"rev": "18934557eeba8fa2e575b0fd4ab95186e2e3bde3", "rev": "b7ac0a56029e4f9e6743b9993037a5aaafd57103",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -697,11 +722,11 @@
}, },
"nixos-persistence": { "nixos-persistence": {
"locked": { "locked": {
"lastModified": 1661933071, "lastModified": 1668668915,
"narHash": "sha256-RFgfzldpbCvS+H2qwH+EvNejvqs+NhPVD5j1I7HQQPY=", "narHash": "sha256-QjY4ZZbs9shwO4LaLpvlU2bO9J1juYhO9NtV3nrbnYQ=",
"owner": "nix-community", "owner": "nix-community",
"repo": "impermanence", "repo": "impermanence",
"rev": "def994adbdfc28974e87b0e4c949e776207d5557", "rev": "5df9108b346f8a42021bf99e50de89c9caa251c3",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -727,6 +752,24 @@
} }
}, },
"nixpkgs-lib": { "nixpkgs-lib": {
"locked": {
"dir": "lib",
"lastModified": 1665349835,
"narHash": "sha256-UK4urM3iN80UXQ7EaOappDzcisYIuEURFRoGQ/yPkug=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "34c5293a71ffdb2fe054eb5288adc1882c1eb0b1",
"type": "github"
},
"original": {
"dir": "lib",
"owner": "NixOS",
"ref": "nixos-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"nixpkgs-lib_2": {
"locked": { "locked": {
"lastModified": 1655599917, "lastModified": 1655599917,
"narHash": "sha256-kjZbt5WdTrnjMxL79okg9TCoRUdADG50x/TWozbyTsE=", "narHash": "sha256-kjZbt5WdTrnjMxL79okg9TCoRUdADG50x/TWozbyTsE=",
@ -744,11 +787,11 @@
"nixpkgs-wayland": { "nixpkgs-wayland": {
"flake": false, "flake": false,
"locked": { "locked": {
"lastModified": 1667477532, "lastModified": 1674656022,
"narHash": "sha256-tGy6lGMf0ElLDDKxGX15tJRC44rbqtIU8vDvFUHfbNY=", "narHash": "sha256-/GPbEGC4rfvG/ySNmwGmXA9w7o0NxducqVXJJREN328=",
"owner": "nix-community", "owner": "nix-community",
"repo": "nixpkgs-wayland", "repo": "nixpkgs-wayland",
"rev": "6bc549f2f03a1f6ea7fa6536b8870b48b8c86ebe", "rev": "880c0dc1dc100b2938e49206cc145fbec39ca532",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -775,11 +818,11 @@
}, },
"nixpkgs_3": { "nixpkgs_3": {
"locked": { "locked": {
"lastModified": 1667142599, "lastModified": 1671359686,
"narHash": "sha256-OLJxsg9VqfKjFkerOxWtNIkibsCvxsv5A8wNWO1MeWk=", "narHash": "sha256-3MpC6yZo+Xn9cPordGz2/ii6IJpP2n8LE8e/ebUXLrs=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "412b9917cea092f3d39f9cd5dead4effd5bc4053", "rev": "04f574a1c0fde90b51bf68198e2297ca4e7cccf4",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -791,11 +834,11 @@
}, },
"nixpkgs_4": { "nixpkgs_4": {
"locked": { "locked": {
"lastModified": 1667231093, "lastModified": 1674459583,
"narHash": "sha256-RERXruzBEBuf0c7OfZeX1hxEKB+PTCUNxWeB6C1jd8Y=", "narHash": "sha256-L0UZl/u2H3HGsrhN+by42c5kNYeKtdmJiPzIRvEVeiM=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "d40fea9aeb8840fea0d377baa4b38e39b9582458", "rev": "1b1f50645af2a70dc93eae18bfd88d330bfbcf7f",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -807,11 +850,11 @@
}, },
"nur": { "nur": {
"locked": { "locked": {
"lastModified": 1667496346, "lastModified": 1674651781,
"narHash": "sha256-n0bHzcQ/sx+E96FumgF2OeT6bbTendRDtmQHijTrQg0=", "narHash": "sha256-EXq3gfw6uJLlyaSkv1GiFuJx5fVkBFKeAe2UBqTZ7wA=",
"owner": "nix-community", "owner": "nix-community",
"repo": "NUR", "repo": "NUR",
"rev": "04d9c7bd3c4a2ce32f44cc970cc3e03d5a4aa334", "rev": "30a00b5df32dfa34f069e83bc92283bd614cd021",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -824,6 +867,7 @@
"inputs": { "inputs": {
"bernbot": "bernbot", "bernbot": "bernbot",
"blog": "blog", "blog": "blog",
"catppuccin-discord": "catppuccin-discord",
"eww": "eww", "eww": "eww",
"helix": "helix", "helix": "helix",
"home": "home", "home": "home",
@ -886,11 +930,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1667184938, "lastModified": 1671416426,
"narHash": "sha256-/kuCiXuAxiD0c0zrfDvJ1Yba3FuVdRk/ROfb393AeX4=", "narHash": "sha256-kpSH1Jrxfk2qd0pRPJn1eQdIOseGv5JuE+YaOrqU9s4=",
"owner": "oxalica", "owner": "oxalica",
"repo": "rust-overlay", "repo": "rust-overlay",
"rev": "8f81faec35508647ced65c44fd3e8648a5518afb", "rev": "fbaaff24f375ac25ec64268b0a0d63f91e474b7d",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -911,11 +955,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1666494036, "lastModified": 1674095406,
"narHash": "sha256-4mmm+1MBPMD56LMLN9QcEwnfnu41NkA6lDeZGjSrxIw=", "narHash": "sha256-RexH/1rZTiX4OhdYkuJP3MuANJ+JRgoLKL60iHm//T0=",
"owner": "oxalica", "owner": "oxalica",
"repo": "rust-overlay", "repo": "rust-overlay",
"rev": "af2e939ba2c7cbb188d06d6650c6353b10b3f2be", "rev": "5f7315b9800e2e500e6834767a57e39f7dbfd495",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -943,11 +987,11 @@
}, },
"utils": { "utils": {
"locked": { "locked": {
"lastModified": 1667077288, "lastModified": 1667395993,
"narHash": "sha256-bdC8sFNDpT0HK74u9fUkpbf1MEzVYJ+ka7NXCdgBoaA=", "narHash": "sha256-nuEHfE/LcWyuSWnS8t12N1wc105Qtau+/OdUAjtQ0rA=",
"owner": "numtide", "owner": "numtide",
"repo": "flake-utils", "repo": "flake-utils",
"rev": "6ee9ebb6b1ee695d2cacc4faa053a7b9baa76817", "rev": "5aed5285a952e0b949eb3ba02c12fa4fcfef535f",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -960,11 +1004,11 @@
"flake": false, "flake": false,
"locked": { "locked": {
"host": "gitlab.freedesktop.org", "host": "gitlab.freedesktop.org",
"lastModified": 1666466001, "lastModified": 1672824257,
"narHash": "sha256-ZjxAnqtcGmHQHKL1Z9sIraDnzIqrJleWcJXfPtzAm74=", "narHash": "sha256-SbYoZj57VlopTzI+OSW9jlgYxN1gI1KLg/s/HV+87eE=",
"owner": "wlroots", "owner": "wlroots",
"repo": "wlroots", "repo": "wlroots",
"rev": "c2d2773df57750081b16d56da13b5015d752cbd7", "rev": "5f264a7d6c8af27d41ff440c05262b022c055593",
"type": "gitlab" "type": "gitlab"
}, },
"original": { "original": {
@ -973,6 +1017,31 @@
"repo": "wlroots", "repo": "wlroots",
"type": "gitlab" "type": "gitlab"
} }
},
"xdph": {
"inputs": {
"hyprland-protocols": [
"hyprland",
"hyprland-protocols"
],
"nixpkgs": [
"hyprland",
"nixpkgs"
]
},
"locked": {
"lastModified": 1673116118,
"narHash": "sha256-eR0yDSkR2XYMesfdRWJs25kAdXET2mbNNHu5t+KUcKA=",
"owner": "hyprwm",
"repo": "xdg-desktop-portal-hyprland",
"rev": "d479c846531fd0e1d2357c9588b8310a2b859ef2",
"type": "github"
},
"original": {
"owner": "hyprwm",
"repo": "xdg-desktop-portal-hyprland",
"type": "github"
}
} }
}, },
"root": "root", "root": "root",

View File

@ -37,6 +37,8 @@
eww.inputs.nixpkgs.follows = "nixpkgs"; eww.inputs.nixpkgs.follows = "nixpkgs";
nix-colors.url = "github:Misterio77/nix-colors"; nix-colors.url = "github:Misterio77/nix-colors";
catppuccin-discord.url = "https://catppuccin.github.io/discord/dist/catppuccin-mocha.theme.css";
catppuccin-discord.flake = false;
}; };
outputs = inputs: let outputs = inputs: let

View File

@ -30,13 +30,13 @@
domain = "*"; domain = "*";
type = "soft"; type = "soft";
item = "nofile"; item = "nofile";
value = "524288"; value = "16777216";
} }
{ {
domain = "*"; domain = "*";
type = "hard"; type = "hard";
item = "nofile"; item = "nofile";
value = "524288"; value = "16777216";
} }
]; ];
allowSimultaneousMultithreading = true; allowSimultaneousMultithreading = true;
@ -122,12 +122,5 @@
gvfs.enable = true; gvfs.enable = true;
}; };
virtualisation = {
waydroid.enable = false;
podman.enable = false;
docker.enable = false;
libvirtd.enable = false;
};
system.stateVersion = "22.05"; system.stateVersion = "22.05";
} }

View File

@ -0,0 +1 @@
../../../modules/gnome-boxes/default.nix

View File

@ -20,6 +20,7 @@ in {
(mkRule "ld" "BG_CPUIO") (mkRule "ld" "BG_CPUIO")
(mkRule "gold" "BG_CPUIO") (mkRule "gold" "BG_CPUIO")
(mkRule "rustc" "BG_CPUIO") (mkRule "rustc" "BG_CPUIO")
(mkRule "zig" "BG_CPUIO")
(mkRule "cargo" "BG_CPUIO") (mkRule "cargo" "BG_CPUIO")
(mkRule "rust-analyzer" "BG_CPUIO") (mkRule "rust-analyzer" "BG_CPUIO")
(mkRule "go" "BG_CPUIO") (mkRule "go" "BG_CPUIO")
@ -31,11 +32,16 @@ in {
# browser # browser
(mkRule "firefox" "Doc-View") (mkRule "firefox" "Doc-View")
(mkRule ".firefox-wrapped" "Doc-View") (mkRule ".firefox-wrapped" "Doc-View")
(mkRule "chromium" "Doc-View")
(mkRule ".chromium-wrapped" "Doc-View")
# wm # wm
(mkRule ".gnome-shell-wrapped" "LowLatency_RT") (mkRule ".gnome-shell-wrapped" "LowLatency_RT")
(mkRule "gnome-shell" "LowLatency_RT") (mkRule "gnome-shell" "LowLatency_RT")
(mkRule "Hyprland" "LowLatency_RT") (mkRule "Hyprland" "LowLatency_RT")
(mkRule "sway" "LowLatency_RT")
(mkRule ".sway-wrapped" "LowLatency_RT")
(mkRule "rofi" "LowLatency_RT") (mkRule "rofi" "LowLatency_RT")
(mkRule ".rofi-wrapped" "LowLatency_RT")
(mkRule "wlsunset" "BG_CPUIO") (mkRule "wlsunset" "BG_CPUIO")
(mkRule "swayidle" "BG_CPUIO") (mkRule "swayidle" "BG_CPUIO")
# term # term

View File

@ -40,5 +40,8 @@
]; ];
}) })
]; ];
home-manager.extraSpecialArgs = {inherit inputs tlib;}; home-manager.extraSpecialArgs = {
inherit inputs tlib;
nixosConfig = config;
};
} }

View File

@ -1,6 +0,0 @@
{
nix.settings = {
trusted-public-keys = ["hydra.iohk.io:f/Ea+s+dFdN+3Y/G+FDgSq+a5NEWhJGzdjvKNGv0/EQ="];
substituters = ["https://hydra.iohk.io"];
};
}

View File

@ -27,8 +27,8 @@ in {
renice = 15; renice = 15;
}; };
custom = { custom = {
start = "${startscript}"; # start = "${startscript}";
end = "${endscript}"; # end = "${endscript}";
}; };
}; };
}; };

View File

@ -0,0 +1,4 @@
{pkgs, ...}: {
virtualisation.libvirtd.enable = true;
environment.systemPackages = [pkgs.gnome.gnome-boxes];
}

View File

@ -1,3 +1,4 @@
{ {
imports = [./networkmanager]; imports = [./networkmanager];
systemd.network.wait-online.enable = false;
} }

View File

@ -1,4 +1,7 @@
{ {
imports = [../dns ../iwd]; imports = [../dns ../iwd];
networking.networkmanager.enable = true; networking.networkmanager = {
enable = true;
wifi.powersave = true;
};
} }

View File

@ -3,6 +3,6 @@
includeGrammarIf = grammar: includeGrammarIf = grammar:
prev.lib.any prev.lib.any
(name: grammar.name == name) (name: grammar.name == name)
["toml" "rust" "nix" "protobuf" "yaml" "json" "markdown" "html" "css"]; ["toml" "rust" "nix" "protobuf" "yaml" "json" "markdown" "html" "css" "zig"];
}; };
} }

View File

@ -1 +1,2 @@
{inputs}: (import "${inputs.nixpkgs-wayland}/overlay.nix") # {inputs}: (import "${inputs.nixpkgs-wayland}/overlay.nix")
final: prev: prev

View File

@ -2,7 +2,7 @@ final: prev: {
obsidian = prev.obsidian.overrideAttrs (old: { obsidian = prev.obsidian.overrideAttrs (old: {
installPhase = installPhase =
prev.lib.replaceStrings prev.lib.replaceStrings
["makeWrapper ${final.electron_17}/bin/electron $out/bin/obsidian"] ["makeWrapper ${final.electron_18}/bin/electron $out/bin/obsidian"]
[ [
'' makeWrapper ${final.electron_20}/bin/electron $out/bin/obsidian \ '' makeWrapper ${final.electron_20}/bin/electron $out/bin/obsidian \
--add-flags "\''${NIXOS_OZONE_WL:+\''${WAYLAND_DISPLAY:+--ozone-platform=wayland}}"'' --add-flags "\''${NIXOS_OZONE_WL:+\''${WAYLAND_DISPLAY:+--ozone-platform=wayland}}"''

View File

@ -1,5 +0,0 @@
{inputs}: final: prev: {
polymc = prev.polymc.overrideAttrs (old: {
patches = [((toString inputs.self) + "/pkgs-set/patches/polymc-offline.patch")];
});
}

View File

@ -0,0 +1,5 @@
{inputs}: final: prev: {
# prismlauncher = prev.prismlauncher.overrideAttrs (old: {
# patches = [((toString inputs.self) + "/pkgs-set/patches/prismlauncher-offline.patch")];
# });
}

View File

@ -0,0 +1,14 @@
final: prev: {
spotify =
final.runCommand prev.spotify.name {
inherit (prev.spotify) meta;
nativeBuildInputs = [final.makeWrapper];
} ''
shopt -s extglob
mkdir -p $out/bin
ln -sf ${prev.spotify}/!(bin) $out/
ln -sf ${prev.spotify}/bin/* $out/bin/
wrapProgram $out/bin/spotify \
--add-flags "\''${NIXOS_OZONE_WL:+\''${WAYLAND_DISPLAY:+--enable-features=UseOzonePlatform --ozone-platform=wayland}}"
'';
}

View File

@ -1,5 +1,8 @@
{config, ...}: { {config, ...}: {
home.persistence."${config.system.persistDir}${config.home.homeDirectory}".directories = [".config/chromium"]; home.persistence."${config.system.persistDir}${config.home.homeDirectory}".directories = [
".config/chromium"
".local/share/applications"
];
programs.chromium = { programs.chromium = {
enable = true; enable = true;
commandLineArgs = [ commandLineArgs = [

View File

@ -4,12 +4,7 @@
pkgs, pkgs,
lib, lib,
... ...
}: let }: {
theme = pkgs.fetchurl {
url = "https://catppuccin.github.io/discord/dist/catppuccin-mocha.theme.css";
hash = "sha256-LCjw3k2NuPKGwAEvPUnJeQk9zQQ+TyHpZ/eNrETkWSM=";
};
in {
home.persistence."${config.system.persistDir}${config.home.homeDirectory}".directories = [ home.persistence."${config.system.persistDir}${config.home.homeDirectory}".directories = [
".config/discordcanary" ".config/discordcanary"
]; ];
@ -18,7 +13,7 @@ in {
setup = true; setup = true;
noTyping = true; noTyping = true;
quickstart = true; quickstart = true;
theme = builtins.readFile theme; theme = builtins.readFile inputs.catppuccin-discord;
}; };
SKIP_HOST_UPDATE = true; SKIP_HOST_UPDATE = true;
IS_MAXIMIZED = true; IS_MAXIMIZED = true;
@ -42,6 +37,7 @@ in {
]; ];
pkg = pkg =
(pkgs.discord-canary.override { (pkgs.discord-canary.override {
nss = pkgs.nss_latest;
withOpenASAR = true; withOpenASAR = true;
}) })
.overrideAttrs (old: { .overrideAttrs (old: {

View File

@ -1,7 +1,13 @@
{config, ...}: { {
config,
pkgs,
...
}: {
settings.terminal.name = "foot"; settings.terminal.name = "foot";
settings.terminal.binary = "${pkgs.foot}/bin/foot";
programs.foot = { programs.foot = {
enable = true; enable = true;
package = pkgs.foot;
server.enable = false; server.enable = false;
settings = { settings = {
main = { main = {

View File

@ -0,0 +1,8 @@
{
config,
pkgs,
...
}: {
home.packages = [pkgs.lollypop];
home.persistence."${config.system.persistDir}${config.home.homeDirectory}".directories = [".local/share/lollypop"];
}

View File

@ -0,0 +1,11 @@
{
config,
pkgs,
...
}: {
home.packages = [pkgs.newsflash];
home.persistence."${config.system.persistDir}${config.home.homeDirectory}".directories = [
".local/share/news-flash"
".config/news-flash"
];
}

View File

@ -35,6 +35,9 @@ in {
name = l.mkOption { name = l.mkOption {
type = t.str; type = t.str;
}; };
binary = l.mkOption {
type = t.path;
};
}; };
settings.font = { settings.font = {
regular = fontSettings; regular = fontSettings;

View File

@ -0,0 +1,16 @@
{
config,
pkgs,
...
}: {
services.spotifyd = {
enable = true;
settings = {
device_name = "nix";
};
};
home.packages = [pkgs.spotify-tui];
home.persistence."${config.system.persistDir}${config.home.homeDirectory}".directories = [
".config/spotify-tui"
];
}

View File

@ -0,0 +1,118 @@
{
config,
nixosConfig,
pkgs,
lib,
tlib,
...
}: {
imports = [
../wayland
../swaylock
../wlsunset
../dunst
../rofi
# ./swayidle.nix
];
wayland.windowManager = {
sway = let
mkRofiCmd = args: "${config.programs.rofi.package}/bin/rofi ${lib.concatStringsSep " " args} | ${pkgs.sway}/bin/swaymsg --";
inherit (tlib) pkgBin;
in {
enable = true;
extraSessionCommands = ''
export SDL_VIDEODRIVER=wayland
export QT_QPA_PLATFORM=wayland
'';
wrapperFeatures.gtk = true;
extraConfig = ''
exec dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP=sway
exec xprop -root -f _XWAYLAND_GLOBAL_OUTPUT_SCALE 32c -set _XWAYLAND_GLOBAL_OUTPUT_SCALE 2
'';
config = {
fonts = {
names = [config.settings.font.regular.name];
size = config.settings.font.regular.size + 0.0;
};
bars = [];
gaps.smartBorders = "on";
menu = mkRofiCmd ["-show" "drun"];
modifier = "Mod4";
terminal = config.settings.terminal.binary;
keybindings = let
mod = config.wayland.windowManager.sway.config.modifier;
cat = pkgs.coreutils + "/bin/cat";
grim = pkgBin pkgs.grim;
slurp = pkgBin pkgs.slurp;
pactl = pkgs.pulseaudio + "/bin/pactl";
playerctl = pkgBin pkgs.playerctl;
wf-recorder = pkgBin pkgs.wf-recorder;
wl-copy = pkgs.wl-clipboard + "/bin/wl-copy";
wlogout = pkgBin pkgs.wlogout;
light = pkgBin pkgs.light;
shotFile = config.home.homeDirectory + "/shots/shot_$(date '+%Y_%m_%d_%H_%M')";
shotDir = config.home.homeDirectory + "/shots";
in
lib.mkOptionDefault
{
"${mod}+Escape" = "exec ${wlogout} -p layer-shell";
"${mod}+q" = "kill";
"${mod}+Shift+e" = "exit";
"${mod}+Shift+r" = "reload";
# Screenshot and copy it to clipboard
"Mod1+s" = ''
exec export SFILE="${shotFile}.png" && mkdir -p ${shotDir} && ${grim} "$SFILE" && ${cat} "$SFILE" | ${wl-copy} -t image/png
'';
# Save selected area as a picture and copy it to clipboard
"Mod1+Shift+s" = ''
exec export SFILE="${shotFile}.png" && mkdir -p ${shotDir} && ${grim} -g "$(${slurp})" "$SFILE" && ${cat} "$SFILE" | ${wl-copy} -t image/png
'';
# Record screen
"Mod1+r" = ''exec mkdir -p ${shotDir} && ${wf-recorder} -f "${shotFile}.mp4"'';
# Record an area
"Mod1+Shift+r" = ''exec mkdir -p ${shotDir} && ${wf-recorder} -g "$(${slurp})" -f "${shotFile}.mp4"'';
# Stop recording
"Mod1+c" = "exec pkill -INT wf-recorder";
"XF86AudioRaiseVolume" = "exec ${pactl} set-sink-volume 0 +5%";
"XF86AudioLowerVolume" = "exec ${pactl} set-sink-volume 0 -5%";
"XF86AudioMute" = "exec ${pactl} set-sink-mute 0 toggle";
"XF86AudioPlay" = "exec ${playerctl} play-pause";
"XF86AudioPrev" = "exec ${playerctl} previous";
"XF86AudioNext" = "exec ${playerctl} next";
"XF86AudioStop" = "exec ${playerctl} stop";
"XF86MonBrightnessUp" = "exec ${light} -T 1.4";
"XF86MonBrightnessDown" = "exec ${light} -T 0.72";
};
input = {
"type:keyboard" = {
xkb_layout = nixosConfig.services.xserver.layout;
};
"type:pointer" = {
accel_profile = "flat";
};
"type:touchpad" = {
accel_profile = "adaptive";
tap = "enabled";
scroll_method = "edge";
dwt = "enabled";
events = "disabled_on_external_mouse";
};
};
output = {
"*" = {
bg = "${config.home.homeDirectory}/.config/wallpaper fill";
};
"eDP-1" = {
scale = "2";
adaptive_sync = "on";
};
"HDMI-A-1" = {
mode = "1920x1080@74.973Hz";
};
};
};
};
};
}

View File

@ -10,7 +10,7 @@
nixosConfig = globalAttrs.config; nixosConfig = globalAttrs.config;
in { in {
imports = [../../modules/de/gnome]; # imports = [../../modules/de/gnome];
users.users.patriot = { users.users.patriot = {
isNormalUser = true; isNormalUser = true;
createHome = true; createHome = true;
@ -33,6 +33,7 @@ in {
"/home/patriot/proj" "/home/patriot/proj"
"/home/patriot/games" "/home/patriot/games"
"/home/patriot/.var" "/home/patriot/.var"
"/home/patriot/.config/libvirt"
]; ];
systemPackages = with pkgs; [qt5.qtwayland]; systemPackages = with pkgs; [qt5.qtwayland];
shells = with pkgs; [bashInteractive zsh]; shells = with pkgs; [bashInteractive zsh];
@ -55,6 +56,10 @@ in {
seahorse.enable = true; seahorse.enable = true;
dconf.enable = true; dconf.enable = true;
weylus.users = ["patriot"]; weylus.users = ["patriot"];
java = {
enable = true;
package = pkgs.jre8;
};
}; };
services = { services = {
syncthing.folders = { syncthing.folders = {
@ -99,6 +104,7 @@ in {
modulesToEnable = l.flatten [ modulesToEnable = l.flatten [
# wm # wm
# ["hyprland" "foot"] # ["hyprland" "foot"]
["sway" "foot"]
# desktop stuff # desktop stuff
["wayland"] ["wayland"]
["chromium"] ["chromium"]
@ -106,6 +112,7 @@ in {
["zoxide" "zsh" "fzf" "starship" "direnv"] ["zoxide" "zsh" "fzf" "starship" "direnv"]
# dev stuff # dev stuff
["helix" "git" "ssh" "obsidian"] ["helix" "git" "ssh" "obsidian"]
["lollypop" "newsflash"]
]; ];
in in
l.flatten [ l.flatten [
@ -139,10 +146,13 @@ in {
"keyrings" "keyrings"
"lutris" "lutris"
"Terraria" "Terraria"
"gnome-boxes"
"PrismLauncher"
] ]
++ mkPaths ".config" [ ++ mkPaths ".config" [
"lutris" "lutris"
"dconf" "dconf"
"gnome-boxes"
]; ];
files = l.flatten [ files = l.flatten [
".config/wallpaper" ".config/wallpaper"
@ -166,7 +176,7 @@ in {
}; };
settings.iconTheme = { settings.iconTheme = {
name = "Yaru"; name = "Yaru-dark";
package = pkgs.yaru-theme; package = pkgs.yaru-theme;
}; };
@ -190,7 +200,7 @@ in {
iconTheme = config.settings.iconTheme; iconTheme = config.settings.iconTheme;
theme = { theme = {
name = "Yaru-Dark"; name = "Yaru-dark";
package = pkgs.yaru-theme; package = pkgs.yaru-theme;
}; };
}; };
@ -221,15 +231,11 @@ in {
lutris lutris
protontricks protontricks
# fractal-next # fractal-next
(
writeShellScriptBin "gh" ''
GH_TOKEN=${secrets.githubToken} ${gh}/bin/gh $@
''
)
obs-studio obs-studio
libreoffice-fresh libreoffice-fresh
helvum helvum
nix-output-monitor nix-output-monitor
prismlauncher
]; ];
}; };
programs = { programs = {
@ -243,11 +249,12 @@ in {
userName = name; userName = name;
userEmail = email; userEmail = email;
}; };
# zsh.loginExtra = '' zsh.loginExtra = ''
# if [[ "$(tty)" == "/dev/tty1" ]]; then if [[ "$(tty)" == "/dev/tty1" ]]; then
# exec Hyprland export WLR_DRM_DEVICES=/dev/dri/card0
# fi exec sway --unsupported-gpu
# ''; fi
'';
}; };
services = { services = {
gpg-agent = let gpg-agent = let