Compare commits

..

No commits in common. "c2e206da160ed9a54490bda9140dd70c2eb6afe3" and "01f77180019f7526bf6e1d23481eb606f4efd43c" have entirely different histories.

27 changed files with 174 additions and 433 deletions

View File

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

View File

@ -37,8 +37,6 @@
eww.inputs.nixpkgs.follows = "nixpkgs";
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

View File

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

View File

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

View File

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

View File

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

6
modules/cachix/iohk.nix Normal file
View File

@ -0,0 +1,6 @@
{
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;
};
custom = {
# start = "${startscript}";
# end = "${endscript}";
start = "${startscript}";
end = "${endscript}";
};
};
};

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -1,14 +0,0 @@
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,8 +1,5 @@
{config, ...}: {
home.persistence."${config.system.persistDir}${config.home.homeDirectory}".directories = [
".config/chromium"
".local/share/applications"
];
home.persistence."${config.system.persistDir}${config.home.homeDirectory}".directories = [".config/chromium"];
programs.chromium = {
enable = true;
commandLineArgs = [

View File

@ -4,7 +4,12 @@
pkgs,
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 = [
".config/discordcanary"
];
@ -13,7 +18,7 @@
setup = true;
noTyping = true;
quickstart = true;
theme = builtins.readFile inputs.catppuccin-discord;
theme = builtins.readFile theme;
};
SKIP_HOST_UPDATE = true;
IS_MAXIMIZED = true;
@ -37,7 +42,6 @@
];
pkg =
(pkgs.discord-canary.override {
nss = pkgs.nss_latest;
withOpenASAR = true;
})
.overrideAttrs (old: {

View File

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

View File

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

View File

@ -1,11 +0,0 @@
{
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,9 +35,6 @@ in {
name = l.mkOption {
type = t.str;
};
binary = l.mkOption {
type = t.path;
};
};
settings.font = {
regular = fontSettings;

View File

@ -1,16 +0,0 @@
{
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

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