parent
64412f7af8
commit
7915f78ee3
178 changed files with 1151 additions and 2253 deletions
704
flake.lock
generated
704
flake.lock
generated
|
@ -1,38 +1,5 @@
|
||||||
{
|
{
|
||||||
"nodes": {
|
"nodes": {
|
||||||
"aquamarine": {
|
|
||||||
"inputs": {
|
|
||||||
"hyprutils": [
|
|
||||||
"hyprland",
|
|
||||||
"hyprutils"
|
|
||||||
],
|
|
||||||
"hyprwayland-scanner": [
|
|
||||||
"hyprland",
|
|
||||||
"hyprwayland-scanner"
|
|
||||||
],
|
|
||||||
"nixpkgs": [
|
|
||||||
"hyprland",
|
|
||||||
"nixpkgs"
|
|
||||||
],
|
|
||||||
"systems": [
|
|
||||||
"hyprland",
|
|
||||||
"systems"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1738183445,
|
|
||||||
"narHash": "sha256-C1He3N1SA8D2u+TSlldbA9wiYwDvXI4GxX3zKaeD7qU=",
|
|
||||||
"owner": "hyprwm",
|
|
||||||
"repo": "aquamarine",
|
|
||||||
"rev": "48a000cf35dd10bfeb231152735aebbe875f4b74",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "hyprwm",
|
|
||||||
"repo": "aquamarine",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"crane": {
|
"crane": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1737563566,
|
"lastModified": 1737563566,
|
||||||
|
@ -117,22 +84,6 @@
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"flake-compat_4": {
|
|
||||||
"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-utils": {
|
"flake-utils": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"systems": "systems"
|
"systems": "systems"
|
||||||
|
@ -169,41 +120,6 @@
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"flake-utils_3": {
|
|
||||||
"inputs": {
|
|
||||||
"systems": "systems_5"
|
|
||||||
},
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1731533236,
|
|
||||||
"narHash": "sha256-l0KFg5HjrsfsO/JpG+r7fRrqm12kzFHyUHqHCVpMMbI=",
|
|
||||||
"owner": "numtide",
|
|
||||||
"repo": "flake-utils",
|
|
||||||
"rev": "11707dc2f618dd54ca8739b309ec4fc024de578b",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "numtide",
|
|
||||||
"repo": "flake-utils",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"freetype2": {
|
|
||||||
"flake": false,
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1723459814,
|
|
||||||
"narHash": "sha256-4l90lDtpgm5xlh2m7ifrqNy373DTRTULRkAzicrM93c=",
|
|
||||||
"owner": "freetype",
|
|
||||||
"repo": "freetype",
|
|
||||||
"rev": "42608f77f20749dd6ddc9e0536788eaad70ea4b5",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "freetype",
|
|
||||||
"ref": "VER-2-13-3",
|
|
||||||
"repo": "freetype",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"ghostty": {
|
"ghostty": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"flake-compat": "flake-compat",
|
"flake-compat": "flake-compat",
|
||||||
|
@ -234,7 +150,7 @@
|
||||||
"flake-compat": "flake-compat_2",
|
"flake-compat": "flake-compat_2",
|
||||||
"gitignore": "gitignore",
|
"gitignore": "gitignore",
|
||||||
"nixpkgs": [
|
"nixpkgs": [
|
||||||
"nixpkgs"
|
"nixpkgs-unstable"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
|
@ -253,8 +169,8 @@
|
||||||
},
|
},
|
||||||
"git-hooks_2": {
|
"git-hooks_2": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"flake-compat": "flake-compat_4",
|
"flake-compat": "flake-compat_3",
|
||||||
"gitignore": "gitignore_3",
|
"gitignore": "gitignore_2",
|
||||||
"nixpkgs": [
|
"nixpkgs": [
|
||||||
"slippi",
|
"slippi",
|
||||||
"nixpkgs"
|
"nixpkgs"
|
||||||
|
@ -297,28 +213,6 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"gitignore_2": {
|
"gitignore_2": {
|
||||||
"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_3": {
|
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"nixpkgs": [
|
"nixpkgs": [
|
||||||
"slippi",
|
"slippi",
|
||||||
|
@ -342,36 +236,19 @@
|
||||||
},
|
},
|
||||||
"hardware": {
|
"hardware": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1735388221,
|
"lastModified": 1738816619,
|
||||||
"narHash": "sha256-e5IOgjQf0SZcFCEV/gMGrsI0gCJyqOKShBQU0iiM3Kg=",
|
"narHash": "sha256-5yRlg48XmpcX5b5HesdGMOte+YuCy9rzQkJz+imcu6I=",
|
||||||
"owner": "nixos",
|
"owner": "NixOS",
|
||||||
"repo": "nixos-hardware",
|
"repo": "nixos-hardware",
|
||||||
"rev": "7c674c6734f61157e321db595dbfcd8523e04e19",
|
"rev": "2eccff41bab80839b1d25b303b53d339fbb07087",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"owner": "nixos",
|
"owner": "NixOS",
|
||||||
"repo": "nixos-hardware",
|
"repo": "nixos-hardware",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"harfbuzz": {
|
|
||||||
"flake": false,
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1719502711,
|
|
||||||
"narHash": "sha256-2ieCf3ftNk851FZBDPVl+7QHWBqD729KiUxUyxi26Yg=",
|
|
||||||
"owner": "harfbuzz",
|
|
||||||
"repo": "harfbuzz",
|
|
||||||
"rev": "9c03576c49db6e7207d9bcdfe3abd170a809157f",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "harfbuzz",
|
|
||||||
"ref": "9.0.0",
|
|
||||||
"repo": "harfbuzz",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"helix": {
|
"helix": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"crane": "crane",
|
"crane": "crane",
|
||||||
|
@ -437,347 +314,6 @@
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"hyprcursor": {
|
|
||||||
"inputs": {
|
|
||||||
"hyprlang": [
|
|
||||||
"hyprland",
|
|
||||||
"hyprlang"
|
|
||||||
],
|
|
||||||
"nixpkgs": [
|
|
||||||
"hyprland",
|
|
||||||
"nixpkgs"
|
|
||||||
],
|
|
||||||
"systems": [
|
|
||||||
"hyprland",
|
|
||||||
"systems"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1738178255,
|
|
||||||
"narHash": "sha256-+D6Nu2ewXbMTFzx/Q4jDOo+LAOUPr0cxQJg5k33daIE=",
|
|
||||||
"owner": "hyprwm",
|
|
||||||
"repo": "hyprcursor",
|
|
||||||
"rev": "dcadd3398abe146d60c67e0d9ee6e27b301cae82",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "hyprwm",
|
|
||||||
"repo": "hyprcursor",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"hyprgraphics": {
|
|
||||||
"inputs": {
|
|
||||||
"hyprutils": [
|
|
||||||
"hyprland",
|
|
||||||
"hyprutils"
|
|
||||||
],
|
|
||||||
"nixpkgs": [
|
|
||||||
"hyprland",
|
|
||||||
"nixpkgs"
|
|
||||||
],
|
|
||||||
"systems": [
|
|
||||||
"hyprland",
|
|
||||||
"systems"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1738018829,
|
|
||||||
"narHash": "sha256-5Ol5iahMlELx3lWuChyZsqqLk6sP6aqaJCJFw92OZGo=",
|
|
||||||
"owner": "hyprwm",
|
|
||||||
"repo": "hyprgraphics",
|
|
||||||
"rev": "12cd7034e441a5ebfdef1a090c0788413b4a635b",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "hyprwm",
|
|
||||||
"repo": "hyprgraphics",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"hyprgrass": {
|
|
||||||
"inputs": {
|
|
||||||
"hyprland": [
|
|
||||||
"hyprland"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1737873323,
|
|
||||||
"narHash": "sha256-khgZJjtm+sLq0nWtugtvrRtNJ19Qnk4JnEs19VMk0Qw=",
|
|
||||||
"owner": "horriblename",
|
|
||||||
"repo": "hyprgrass",
|
|
||||||
"rev": "ff3eb4c9147c89f04533bd2e2fe42e94232bc3b0",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "horriblename",
|
|
||||||
"repo": "hyprgrass",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"hyprland": {
|
|
||||||
"inputs": {
|
|
||||||
"aquamarine": "aquamarine",
|
|
||||||
"hyprcursor": "hyprcursor",
|
|
||||||
"hyprgraphics": "hyprgraphics",
|
|
||||||
"hyprland-protocols": "hyprland-protocols",
|
|
||||||
"hyprland-qtutils": "hyprland-qtutils",
|
|
||||||
"hyprlang": "hyprlang",
|
|
||||||
"hyprutils": "hyprutils",
|
|
||||||
"hyprwayland-scanner": "hyprwayland-scanner",
|
|
||||||
"nixpkgs": [
|
|
||||||
"nixpkgs-unstable"
|
|
||||||
],
|
|
||||||
"pre-commit-hooks": "pre-commit-hooks",
|
|
||||||
"systems": "systems_3",
|
|
||||||
"xdph": "xdph"
|
|
||||||
},
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1738236612,
|
|
||||||
"narHash": "sha256-fJ6VwFCp1w/CA+ONo9Ix+0JuGef5kHnfy/KWzOpSkWc=",
|
|
||||||
"owner": "hyprwm",
|
|
||||||
"repo": "Hyprland",
|
|
||||||
"rev": "32c0fa2f2fe02254d5887b38cf2cffa72ddfd769",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "hyprwm",
|
|
||||||
"repo": "Hyprland",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"hyprland-protocols": {
|
|
||||||
"inputs": {
|
|
||||||
"nixpkgs": [
|
|
||||||
"hyprland",
|
|
||||||
"nixpkgs"
|
|
||||||
],
|
|
||||||
"systems": [
|
|
||||||
"hyprland",
|
|
||||||
"systems"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1737556638,
|
|
||||||
"narHash": "sha256-laKgI3mr2qz6tas/q3tuGPxMdsGhBi/w+HO+hO2f1AY=",
|
|
||||||
"owner": "hyprwm",
|
|
||||||
"repo": "hyprland-protocols",
|
|
||||||
"rev": "4c75dd5c015c8a0e5a34c6d02a018a650f57feb5",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "hyprwm",
|
|
||||||
"repo": "hyprland-protocols",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"hyprland-qt-support": {
|
|
||||||
"inputs": {
|
|
||||||
"hyprlang": [
|
|
||||||
"hyprland",
|
|
||||||
"hyprland-qtutils",
|
|
||||||
"hyprlang"
|
|
||||||
],
|
|
||||||
"nixpkgs": [
|
|
||||||
"hyprland",
|
|
||||||
"hyprland-qtutils",
|
|
||||||
"nixpkgs"
|
|
||||||
],
|
|
||||||
"systems": [
|
|
||||||
"hyprland",
|
|
||||||
"hyprland-qtutils",
|
|
||||||
"systems"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1737634706,
|
|
||||||
"narHash": "sha256-nGCibkfsXz7ARx5R+SnisRtMq21IQIhazp6viBU8I/A=",
|
|
||||||
"owner": "hyprwm",
|
|
||||||
"repo": "hyprland-qt-support",
|
|
||||||
"rev": "8810df502cdee755993cb803eba7b23f189db795",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "hyprwm",
|
|
||||||
"repo": "hyprland-qt-support",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"hyprland-qtutils": {
|
|
||||||
"inputs": {
|
|
||||||
"hyprland-qt-support": "hyprland-qt-support",
|
|
||||||
"hyprlang": [
|
|
||||||
"hyprland",
|
|
||||||
"hyprlang"
|
|
||||||
],
|
|
||||||
"hyprutils": [
|
|
||||||
"hyprland",
|
|
||||||
"hyprland-qtutils",
|
|
||||||
"hyprlang",
|
|
||||||
"hyprutils"
|
|
||||||
],
|
|
||||||
"nixpkgs": [
|
|
||||||
"hyprland",
|
|
||||||
"nixpkgs"
|
|
||||||
],
|
|
||||||
"systems": [
|
|
||||||
"hyprland",
|
|
||||||
"systems"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1737981711,
|
|
||||||
"narHash": "sha256-lh6cL5D8nPplB3WovCQjLUZ7k7MViiBrMlpkfm4R7/c=",
|
|
||||||
"owner": "hyprwm",
|
|
||||||
"repo": "hyprland-qtutils",
|
|
||||||
"rev": "96bf0677fa9cd13508294e3d4559dfbbc8beff73",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "hyprwm",
|
|
||||||
"repo": "hyprland-qtutils",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"hyprlang": {
|
|
||||||
"inputs": {
|
|
||||||
"hyprutils": [
|
|
||||||
"hyprland",
|
|
||||||
"hyprutils"
|
|
||||||
],
|
|
||||||
"nixpkgs": [
|
|
||||||
"hyprland",
|
|
||||||
"nixpkgs"
|
|
||||||
],
|
|
||||||
"systems": [
|
|
||||||
"hyprland",
|
|
||||||
"systems"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1737634606,
|
|
||||||
"narHash": "sha256-W7W87Cv6wqZ9PHegI6rH1+ve3zJPiyevMFf0/HwdbCQ=",
|
|
||||||
"owner": "hyprwm",
|
|
||||||
"repo": "hyprlang",
|
|
||||||
"rev": "f41271d35cc0f370d300413d756c2677f386af9d",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "hyprwm",
|
|
||||||
"repo": "hyprlang",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"hyprutils": {
|
|
||||||
"inputs": {
|
|
||||||
"nixpkgs": [
|
|
||||||
"hyprland",
|
|
||||||
"nixpkgs"
|
|
||||||
],
|
|
||||||
"systems": [
|
|
||||||
"hyprland",
|
|
||||||
"systems"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1737978343,
|
|
||||||
"narHash": "sha256-TfFS0HCEJh63Kahrkp1h9hVDMdLU8a37Zz+IFucxyfA=",
|
|
||||||
"owner": "hyprwm",
|
|
||||||
"repo": "hyprutils",
|
|
||||||
"rev": "6a8bc9d2a4451df12f5179dc0b1d2d46518a90ab",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "hyprwm",
|
|
||||||
"repo": "hyprutils",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"hyprwayland-scanner": {
|
|
||||||
"inputs": {
|
|
||||||
"nixpkgs": [
|
|
||||||
"hyprland",
|
|
||||||
"nixpkgs"
|
|
||||||
],
|
|
||||||
"systems": [
|
|
||||||
"hyprland",
|
|
||||||
"systems"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1735493474,
|
|
||||||
"narHash": "sha256-fktzv4NaqKm94VAkAoVqO/nqQlw+X0/tJJNAeCSfzK4=",
|
|
||||||
"owner": "hyprwm",
|
|
||||||
"repo": "hyprwayland-scanner",
|
|
||||||
"rev": "de913476b59ee88685fdc018e77b8f6637a2ae0b",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "hyprwm",
|
|
||||||
"repo": "hyprwayland-scanner",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"iio-hyprland": {
|
|
||||||
"inputs": {
|
|
||||||
"nixpkgs": [
|
|
||||||
"nixpkgs"
|
|
||||||
],
|
|
||||||
"systems": "systems_4"
|
|
||||||
},
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1727632156,
|
|
||||||
"narHash": "sha256-gfH/jcrmI27OEge8OGPe7JpC0jrQJuX7v9hM/ObjjW8=",
|
|
||||||
"owner": "JeanSchoeller",
|
|
||||||
"repo": "iio-hyprland",
|
|
||||||
"rev": "bd6be6b7e0fbc8ca1a5ccbf536602838e52c347e",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "JeanSchoeller",
|
|
||||||
"repo": "iio-hyprland",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"jovian": {
|
|
||||||
"inputs": {
|
|
||||||
"nix-github-actions": "nix-github-actions",
|
|
||||||
"nixpkgs": [
|
|
||||||
"nixpkgs-unstable"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1735931035,
|
|
||||||
"narHash": "sha256-f3WRxasPYVKzrvAlLq+/3FRHQVfxVf5xxf0WWwnO99k=",
|
|
||||||
"owner": "Jovian-Experiments",
|
|
||||||
"repo": "Jovian-NixOS",
|
|
||||||
"rev": "7e530766a5fd9b7577296fedd655f3255f7495d8",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "Jovian-Experiments",
|
|
||||||
"ref": "development",
|
|
||||||
"repo": "Jovian-NixOS",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"libpng": {
|
|
||||||
"flake": false,
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1726173884,
|
|
||||||
"narHash": "sha256-gBfHgGaqVYdmhWXoNKZzPyGzyw2rr3zp+DjWmfC41jk=",
|
|
||||||
"owner": "pnggroup",
|
|
||||||
"repo": "libpng",
|
|
||||||
"rev": "f5e92d76973a7a53f517579bc95d61483bf108c0",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "pnggroup",
|
|
||||||
"ref": "v1.6.44",
|
|
||||||
"repo": "libpng",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"mobile-nixos": {
|
"mobile-nixos": {
|
||||||
"flake": false,
|
"flake": false,
|
||||||
"locked": {
|
"locked": {
|
||||||
|
@ -794,39 +330,17 @@
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"nix-github-actions": {
|
|
||||||
"inputs": {
|
|
||||||
"nixpkgs": [
|
|
||||||
"jovian",
|
|
||||||
"nixpkgs"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1729697500,
|
|
||||||
"narHash": "sha256-VFTWrbzDlZyFHHb1AlKRiD/qqCJIripXKiCSFS8fAOY=",
|
|
||||||
"owner": "zhaofengli",
|
|
||||||
"repo": "nix-github-actions",
|
|
||||||
"rev": "e418aeb728b6aa5ca8c5c71974e7159c2df1d8cf",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "zhaofengli",
|
|
||||||
"ref": "matrix-name",
|
|
||||||
"repo": "nix-github-actions",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1739055578,
|
"lastModified": 1739357830,
|
||||||
"narHash": "sha256-2MhC2Bgd06uI1A0vkdNUyDYsMD0SLNGKtD8600mZ69A=",
|
"narHash": "sha256-9xim3nJJUFbVbJCz48UP4fGRStVW5nv4VdbimbKxJ3I=",
|
||||||
"owner": "nixos",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "a45fa362d887f4d4a7157d95c28ca9ce2899b70e",
|
"rev": "0ff09db9d034a04acd4e8908820ba0b410d7a33a",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"owner": "nixos",
|
"owner": "NixOS",
|
||||||
"ref": "nixos-24.11",
|
"ref": "nixos-24.11",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
|
@ -850,43 +364,20 @@
|
||||||
},
|
},
|
||||||
"nixpkgs-unstable": {
|
"nixpkgs-unstable": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1736042175,
|
"lastModified": 1739451785,
|
||||||
"narHash": "sha256-jdd5UWtLVrNEW8K6u5sy5upNAFmF3S4Y+OIeToqJ1X8=",
|
"narHash": "sha256-3ebRdThRic9bHMuNi2IAA/ek9b32bsy8F5R4SvGTIog=",
|
||||||
"owner": "nixos",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "bf689c40d035239a489de5997a4da5352434632e",
|
"rev": "1128e89fd5e11bb25aedbfc287733c6502202ea9",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"owner": "nixos",
|
"owner": "NixOS",
|
||||||
"ref": "nixpkgs-unstable",
|
"ref": "nixpkgs-unstable",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"pre-commit-hooks": {
|
|
||||||
"inputs": {
|
|
||||||
"flake-compat": "flake-compat_3",
|
|
||||||
"gitignore": "gitignore_2",
|
|
||||||
"nixpkgs": [
|
|
||||||
"hyprland",
|
|
||||||
"nixpkgs"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1737465171,
|
|
||||||
"narHash": "sha256-R10v2hoJRLq8jcL4syVFag7nIGE7m13qO48wRIukWNg=",
|
|
||||||
"owner": "cachix",
|
|
||||||
"repo": "git-hooks.nix",
|
|
||||||
"rev": "9364dc02281ce2d37a1f55b6e51f7c0f65a75f17",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "cachix",
|
|
||||||
"repo": "git-hooks.nix",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"root": {
|
"root": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"disko": "disko",
|
"disko": "disko",
|
||||||
|
@ -896,16 +387,11 @@
|
||||||
"helix": "helix",
|
"helix": "helix",
|
||||||
"home-manager": "home-manager",
|
"home-manager": "home-manager",
|
||||||
"home-manager-unstable": "home-manager-unstable",
|
"home-manager-unstable": "home-manager-unstable",
|
||||||
"hyprgrass": "hyprgrass",
|
|
||||||
"hyprland": "hyprland",
|
|
||||||
"iio-hyprland": "iio-hyprland",
|
|
||||||
"jovian": "jovian",
|
|
||||||
"mobile-nixos": "mobile-nixos",
|
"mobile-nixos": "mobile-nixos",
|
||||||
"nixpkgs": "nixpkgs",
|
"nixpkgs": "nixpkgs",
|
||||||
"nixpkgs-unstable": "nixpkgs-unstable",
|
"nixpkgs-unstable": "nixpkgs-unstable",
|
||||||
"slippi": "slippi",
|
"slippi": "slippi",
|
||||||
"sops-nix": "sops-nix",
|
"sops-nix": "sops-nix"
|
||||||
"wezterm": "wezterm"
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"rust-overlay": {
|
"rust-overlay": {
|
||||||
|
@ -929,27 +415,6 @@
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"rust-overlay_2": {
|
|
||||||
"inputs": {
|
|
||||||
"nixpkgs": [
|
|
||||||
"wezterm",
|
|
||||||
"nixpkgs"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1735871325,
|
|
||||||
"narHash": "sha256-6Ta5E4mhSfCP6LdkzkG2+BciLOCPeLKuYTJ6lOHW+mI=",
|
|
||||||
"owner": "oxalica",
|
|
||||||
"repo": "rust-overlay",
|
|
||||||
"rev": "a599f011db521766cbaf7c2f5874182485554f00",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "oxalica",
|
|
||||||
"repo": "rust-overlay",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"slippi": {
|
"slippi": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"git-hooks": "git-hooks_2",
|
"git-hooks": "git-hooks_2",
|
||||||
|
@ -1024,120 +489,6 @@
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"systems_3": {
|
|
||||||
"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"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"systems_4": {
|
|
||||||
"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"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"systems_5": {
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1681028828,
|
|
||||||
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
|
|
||||||
"owner": "nix-systems",
|
|
||||||
"repo": "default",
|
|
||||||
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "nix-systems",
|
|
||||||
"repo": "default",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"wezterm": {
|
|
||||||
"inputs": {
|
|
||||||
"flake-utils": "flake-utils_3",
|
|
||||||
"freetype2": "freetype2",
|
|
||||||
"harfbuzz": "harfbuzz",
|
|
||||||
"libpng": "libpng",
|
|
||||||
"nixpkgs": [
|
|
||||||
"nixpkgs-unstable"
|
|
||||||
],
|
|
||||||
"rust-overlay": "rust-overlay_2",
|
|
||||||
"zlib": "zlib"
|
|
||||||
},
|
|
||||||
"locked": {
|
|
||||||
"dir": "nix",
|
|
||||||
"lastModified": 1737758457,
|
|
||||||
"narHash": "sha256-Z50/JcMQI2R9ttEd20gXEhuAXvAI0yp3bM7j6/Xoi+A=",
|
|
||||||
"owner": "wez",
|
|
||||||
"repo": "wezterm",
|
|
||||||
"rev": "4bf0007cefff7f1ad139d89b54f074d5ad7d2184",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"dir": "nix",
|
|
||||||
"owner": "wez",
|
|
||||||
"repo": "wezterm",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"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": 1737634991,
|
|
||||||
"narHash": "sha256-dBAnb7Kbnier30cA7AgxVSxxARmxKZ1vHZT33THSIr8=",
|
|
||||||
"owner": "hyprwm",
|
|
||||||
"repo": "xdg-desktop-portal-hyprland",
|
|
||||||
"rev": "e09dfe2726c8008f983e45a0aa1a3b7416aaeb8a",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "hyprwm",
|
|
||||||
"repo": "xdg-desktop-portal-hyprland",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"zig": {
|
"zig": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"flake-compat": [
|
"flake-compat": [
|
||||||
|
@ -1162,23 +513,6 @@
|
||||||
"repo": "zig-overlay",
|
"repo": "zig-overlay",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
|
||||||
"zlib": {
|
|
||||||
"flake": false,
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1705948357,
|
|
||||||
"narHash": "sha256-TkPLWSN5QcPlL9D0kc/yhH0/puE9bFND24aj5NVDKYs=",
|
|
||||||
"owner": "madler",
|
|
||||||
"repo": "zlib",
|
|
||||||
"rev": "51b7f2abdade71cd9bb0e7a373ef2610ec6f9daf",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "madler",
|
|
||||||
"ref": "v1.3.1",
|
|
||||||
"repo": "zlib",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"root": "root",
|
"root": "root",
|
||||||
|
|
766
flake.nix
766
flake.nix
|
@ -1,769 +1,33 @@
|
||||||
{
|
{
|
||||||
outputs = {
|
outputs = inputs: let
|
||||||
self,
|
lib = import ./lib inputs;
|
||||||
nixpkgs-unstable,
|
|
||||||
home-manager-unstable,
|
|
||||||
nixpkgs,
|
|
||||||
home-manager,
|
|
||||||
disko,
|
|
||||||
sops-nix,
|
|
||||||
git-hooks,
|
|
||||||
helix,
|
|
||||||
hardware,
|
|
||||||
# nnf,
|
|
||||||
# hyprland,
|
|
||||||
slippi,
|
|
||||||
ghostty,
|
|
||||||
}: let
|
|
||||||
inherit (self) outputs;
|
|
||||||
inherit (outputs) nixosModules homeManagerModules overlays;
|
|
||||||
|
|
||||||
/*
|
|
||||||
moduleArgs = {
|
|
||||||
# inherit style;
|
|
||||||
inherit helix slippi hyprland hardware disko home-manager;
|
|
||||||
inherit (outputs) nixosModules homeManagerModules diskoConfigurations overlays;
|
|
||||||
};
|
|
||||||
*/
|
|
||||||
|
|
||||||
pubkey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIAPLXOjupz3ScYjgrF+ehrbp9OvGAWQLI6fplX6w9Ijb daniel@lyte.dev";
|
|
||||||
in {
|
|
||||||
/*
|
|
||||||
kind of a quirk, but package definitions are actually in the "additions"
|
|
||||||
overlay I did this to work around some recursion problems
|
|
||||||
TODO: https://discourse.nixos.org/t/infinite-recursion-getting-started-with-overlays/48880
|
|
||||||
*/
|
|
||||||
packages = genPkgs (pkgs: {inherit (pkgs) iosevkaLyteTerm iosevkaLyteTermSubset nix-base-container-image;});
|
|
||||||
diskoConfigurations = import ./disko {inherit (nixpkgs) lib;};
|
|
||||||
templates = import ./templates;
|
|
||||||
formatter = genPkgs (p: p.alejandra);
|
|
||||||
|
|
||||||
checks = genPkgs ({system, ...}: {
|
|
||||||
git-hooks = git-hooks.lib.${system}.run {
|
|
||||||
src = ./.;
|
|
||||||
hooks = {
|
|
||||||
alejandra.enable = true;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
});
|
|
||||||
|
|
||||||
devShells = genPkgs ({
|
|
||||||
system,
|
|
||||||
pkgs,
|
|
||||||
mkShell,
|
|
||||||
...
|
|
||||||
}: {
|
|
||||||
default = mkShell {
|
|
||||||
inherit (outputs.checks.${system}.git-hooks) shellHook;
|
|
||||||
packages = with pkgs; [
|
|
||||||
lua-language-server
|
|
||||||
nodePackages.bash-language-server
|
|
||||||
];
|
|
||||||
};
|
|
||||||
});
|
|
||||||
|
|
||||||
overlays = {
|
|
||||||
# the default overlay composes all the other overlays together
|
|
||||||
default = final: prev: {
|
|
||||||
overlays = with overlays; [
|
|
||||||
additions
|
|
||||||
modifications
|
|
||||||
unstable-packages
|
|
||||||
];
|
|
||||||
};
|
|
||||||
|
|
||||||
additions = final: prev: let
|
|
||||||
iosevkaLyteTerm = prev.callPackage ./packages/iosevkaLyteTerm.nix {};
|
|
||||||
in {
|
|
||||||
inherit iosevkaLyteTerm;
|
|
||||||
iosevkaLyteTermSubset = prev.callPackage ./packages/iosevkaLyteTermSubset.nix {
|
|
||||||
inherit iosevkaLyteTerm;
|
|
||||||
};
|
|
||||||
conduwuit = prev.callPackage ./packages/conduwuit.nix {};
|
|
||||||
nix-base-container-image = final.dockerTools.buildImageWithNixDb {
|
|
||||||
name = "git.lyte.dev/lytedev/nix";
|
|
||||||
tag = "latest";
|
|
||||||
|
|
||||||
copyToRoot = with final; [
|
|
||||||
bash
|
|
||||||
coreutils
|
|
||||||
curl
|
|
||||||
gawk
|
|
||||||
gitFull
|
|
||||||
git-lfs
|
|
||||||
gnused
|
|
||||||
nodejs
|
|
||||||
wget
|
|
||||||
sudo
|
|
||||||
nixVersions.stable
|
|
||||||
cacert
|
|
||||||
gnutar
|
|
||||||
gzip
|
|
||||||
openssh
|
|
||||||
xz
|
|
||||||
(pkgs.writeTextFile {
|
|
||||||
name = "nix.conf";
|
|
||||||
destination = "/etc/nix/nix.conf";
|
|
||||||
text = ''
|
|
||||||
accept-flake-config = true
|
|
||||||
experimental-features = nix-command flakes
|
|
||||||
build-users-group =
|
|
||||||
substituters = https://nix.h.lyte.dev https://cache.nixos.org/
|
|
||||||
trusted-substituters = https://nix.h.lyte.dev https://cache.nixos.org/
|
|
||||||
trusted-public-keys = h.lyte.dev:HeVWtne31ZG8iMf+c15VY3/Mky/4ufXlfTpT8+4Xbs0= cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
|
|
||||||
'';
|
|
||||||
})
|
|
||||||
];
|
|
||||||
|
|
||||||
extraCommands = ''
|
|
||||||
# enable /usr/bin/env for scripts
|
|
||||||
mkdir -p usr
|
|
||||||
ln -s ../bin usr/bin
|
|
||||||
|
|
||||||
# create /tmp
|
|
||||||
mkdir -p tmp
|
|
||||||
|
|
||||||
# create HOME
|
|
||||||
mkdir -vp root
|
|
||||||
'';
|
|
||||||
config = {
|
|
||||||
Cmd = ["/bin/bash"];
|
|
||||||
Env = [
|
|
||||||
"LANG=en_GB.UTF-8"
|
|
||||||
"ENV=/etc/profile.d/nix.sh"
|
|
||||||
"BASH_ENV=/etc/profile.d/nix.sh"
|
|
||||||
"NIX_BUILD_SHELL=/bin/bash"
|
|
||||||
"PAGER=cat"
|
|
||||||
"PATH=/usr/bin:/bin"
|
|
||||||
"SSL_CERT_FILE=${final.cacert}/etc/ssl/certs/ca-bundle.crt"
|
|
||||||
"USER=root"
|
|
||||||
];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
modifications = final: prev: let
|
|
||||||
helix-input = helix;
|
|
||||||
wezterm-input = wezterm;
|
|
||||||
ghostty-input = ghostty;
|
|
||||||
hyprland-input = hyprland;
|
|
||||||
in rec {
|
|
||||||
helix = helix-input.outputs.packages.${prev.system}.helix;
|
|
||||||
final.helix = helix;
|
|
||||||
ghostty = ghostty-input.outputs.packages.${prev.system}.ghostty;
|
|
||||||
final.ghostty = ghostty;
|
|
||||||
/*
|
|
||||||
TODO: would love to use a current wezterm build so I can make use of ssh/mux functionality without breakage
|
|
||||||
source: https://github.com/wez/wezterm/issues/3771
|
|
||||||
not-yet-merged (abandoned?): https://github.com/wez/wezterm/pull/4737
|
|
||||||
I did try using the latest code via the flake, but alas it did not resolve my issues with mux'ing
|
|
||||||
*/
|
|
||||||
wezterm = wezterm-input.outputs.packages.${prev.system}.default;
|
|
||||||
# wezterm = (import nixpkgs {inherit (prev) system;}).wezterm;
|
|
||||||
final.wezterm = wezterm;
|
|
||||||
|
|
||||||
hyprland = hyprland-input.outputs.packages.${prev.system}.default;
|
|
||||||
final.hyprland = hyprland;
|
|
||||||
|
|
||||||
bitwarden = prev.bitwarden.overrideAttrs (old: {
|
|
||||||
preBuild = ''
|
|
||||||
${old.preBuild}
|
|
||||||
pushd apps/desktop/desktop_native/proxy
|
|
||||||
cargo build --bin desktop_proxy --release
|
|
||||||
popd
|
|
||||||
'';
|
|
||||||
|
|
||||||
postInstall = ''
|
|
||||||
mkdir -p $out/bin
|
|
||||||
cp -r apps/desktop/desktop_native/target/release/desktop_proxy $out/bin
|
|
||||||
mkdir -p $out/lib/mozilla/native-messaging-hosts
|
|
||||||
substituteAll ${./packages/bitwarden.json} $out/lib/mozilla/native-messaging-hosts/com.8bit.bitwarden.json
|
|
||||||
'';
|
|
||||||
});
|
|
||||||
final.bitwarden = bitwarden;
|
|
||||||
|
|
||||||
# zellij = prev.zellij.overrideAttrs rec {
|
|
||||||
# version = "0.41.0";
|
|
||||||
# src = prev.fetchFromGitHub {
|
|
||||||
# owner = "zellij-org";
|
|
||||||
# repo = "zellij";
|
|
||||||
# rev = "v0.41.0";
|
|
||||||
# hash = "sha256-A+JVWYz0t9cVA8XZciOwDkCecsC2r5TU2O9i9rVg7do=";
|
|
||||||
# };
|
|
||||||
# cargoDeps = prev.zellij.cargoDeps.overrideAttrs (prev.lib.const {
|
|
||||||
# name = "zellij-vendor.tar.gz";
|
|
||||||
# inherit src;
|
|
||||||
# outputHash = "sha256-WxrMI7fV0pNsGjbNpXLr+xnMdWYkC4WxIeN4OK3ZPIE=";
|
|
||||||
# });
|
|
||||||
# };
|
|
||||||
# final.zellij = zellij;
|
|
||||||
};
|
|
||||||
|
|
||||||
unstable-packages = final: _prev: {
|
|
||||||
unstable-packages = import nixpkgs-unstable {
|
|
||||||
system = final.system;
|
|
||||||
config.allowUnfree = true;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
nixosModules = import ./modules/nixos {
|
|
||||||
inherit home-manager home-manager-unstable helix nixosModules homeManagerModules pubkey overlays style sops-nix disko;
|
|
||||||
flakeInputs = self.inputs;
|
|
||||||
};
|
|
||||||
|
|
||||||
homeManagerModules = import ./modules/home-manager {
|
|
||||||
inherit home-manager home-manager-unstable helix nixosModules homeManagerModules pubkey overlays style;
|
|
||||||
inherit (nixpkgs) lib;
|
|
||||||
flakeInputs = self.inputs;
|
|
||||||
};
|
|
||||||
|
|
||||||
nixosConfigurations = {
|
|
||||||
beefcake = let
|
|
||||||
system = "x86_64-linux";
|
|
||||||
in
|
in
|
||||||
nixpkgs.lib.nixosSystem {
|
|
||||||
inherit system;
|
|
||||||
modules = with nixosModules; [
|
|
||||||
home-manager-defaults
|
|
||||||
conduwuit
|
|
||||||
|
|
||||||
# TODO: disko?
|
|
||||||
hardware.nixosModules.common-cpu-intel
|
|
||||||
|
|
||||||
outputs.nixosModules.deno-netlify-ddns-client
|
|
||||||
{
|
{
|
||||||
services.deno-netlify-ddns-client = {
|
packages = lib.genPkgs inputs.nixpkgs-unstable (import ./packages);
|
||||||
enable = true;
|
|
||||||
username = "beefcake.h";
|
|
||||||
# TODO: router doesn't even do ipv6 yet...
|
|
||||||
ipv6 = false;
|
|
||||||
};
|
|
||||||
}
|
|
||||||
|
|
||||||
family-users
|
nixosConfigurations = import ./packages/hosts inputs;
|
||||||
common
|
# homeConfigurations = import ./packages/users;
|
||||||
podman
|
|
||||||
troubleshooting-tools
|
|
||||||
virtual-machines
|
|
||||||
virtual-machines-gui
|
|
||||||
linux
|
|
||||||
fonts
|
|
||||||
|
|
||||||
./nixos/beefcake.nix
|
templates = import ./lib/templates;
|
||||||
|
|
||||||
{
|
diskoConfigurations = import ./lib/disko inputs;
|
||||||
services.kanidm.package = (unstable.pkgsFor system).kanidm;
|
checks = import ./packages/checks;
|
||||||
}
|
devShells = import ./packages/shells;
|
||||||
];
|
|
||||||
};
|
|
||||||
|
|
||||||
dragon = nixpkgs-unstable.lib.nixosSystem {
|
nixosModules = import ./lib/modules/nixos inputs;
|
||||||
system = "x86_64-linux";
|
homeManagerModules = import ./lib/modules/home inputs;
|
||||||
modules = with nixosModules; [
|
|
||||||
home-manager-unstable-defaults
|
|
||||||
|
|
||||||
outputs.diskoConfigurations.unencrypted
|
# overlays = import ./lib/overlays inputs;
|
||||||
hardware.nixosModules.common-cpu-amd
|
|
||||||
hardware.nixosModules.common-pc-ssd
|
|
||||||
|
|
||||||
common
|
formatter = lib.genPkgs inputs.nixpkgs-unstable (p: p.nixfmt-rfc-style);
|
||||||
password-manager
|
|
||||||
wifi
|
|
||||||
graphical-workstation
|
|
||||||
virtual-machines
|
|
||||||
virtual-machines-gui
|
|
||||||
music-production
|
|
||||||
# plasma6
|
|
||||||
gaming
|
|
||||||
slippi.nixosModules.default
|
|
||||||
|
|
||||||
outputs.nixosModules.deno-netlify-ddns-client
|
|
||||||
{
|
|
||||||
services.deno-netlify-ddns-client = {
|
|
||||||
enable = true;
|
|
||||||
username = "dragon.h";
|
|
||||||
# TODO: router doesn't even do ipv6 yet...
|
|
||||||
ipv6 = false;
|
|
||||||
};
|
|
||||||
}
|
|
||||||
|
|
||||||
./nixos/dragon.nix
|
|
||||||
|
|
||||||
{
|
|
||||||
home-manager.users.daniel = {
|
|
||||||
imports = with homeManagerModules; [
|
|
||||||
niri
|
|
||||||
senpai
|
|
||||||
iex
|
|
||||||
cargo
|
|
||||||
firefox-no-tabs
|
|
||||||
linux-desktop-environment-config
|
|
||||||
slippi.homeManagerModules.default
|
|
||||||
];
|
|
||||||
};
|
|
||||||
}
|
|
||||||
];
|
|
||||||
};
|
|
||||||
|
|
||||||
bigtower = nixpkgs-unstable.lib.nixosSystem {
|
|
||||||
system = "x86_64-linux";
|
|
||||||
modules = with nixosModules; [
|
|
||||||
home-manager-unstable-defaults
|
|
||||||
|
|
||||||
hardware.nixosModules.common-pc-ssd
|
|
||||||
|
|
||||||
common
|
|
||||||
# wifi
|
|
||||||
graphical-workstation
|
|
||||||
music-production
|
|
||||||
gaming
|
|
||||||
|
|
||||||
./nixos/bigtower.nix
|
|
||||||
|
|
||||||
{
|
|
||||||
home-manager.users.daniel = {
|
|
||||||
imports = with homeManagerModules; [
|
|
||||||
firefox-no-tabs
|
|
||||||
linux-desktop-environment-config
|
|
||||||
];
|
|
||||||
};
|
|
||||||
}
|
|
||||||
];
|
|
||||||
};
|
|
||||||
|
|
||||||
htpc = nixpkgs.lib.nixosSystem {
|
|
||||||
system = "x86_64-linux";
|
|
||||||
modules = with nixosModules; [
|
|
||||||
home-manager-defaults
|
|
||||||
|
|
||||||
hardware.nixosModules.common-pc-ssd
|
|
||||||
common
|
|
||||||
gaming
|
|
||||||
graphical-workstation
|
|
||||||
|
|
||||||
./nixos/htpc.nix
|
|
||||||
|
|
||||||
{
|
|
||||||
home-manager.users.daniel = {
|
|
||||||
imports = with homeManagerModules; [
|
|
||||||
linux-desktop-environment-config
|
|
||||||
];
|
|
||||||
};
|
|
||||||
}
|
|
||||||
];
|
|
||||||
};
|
|
||||||
|
|
||||||
steamdeck1 = nixpkgs-unstable.lib.nixosSystem {
|
|
||||||
system = "x86_64-linux";
|
|
||||||
modules = with nixosModules; [
|
|
||||||
home-manager-unstable-defaults
|
|
||||||
|
|
||||||
outputs.diskoConfigurations.unencrypted
|
|
||||||
hardware.nixosModules.common-pc-ssd
|
|
||||||
common
|
|
||||||
gaming
|
|
||||||
graphical-workstation
|
|
||||||
# plasma6
|
|
||||||
|
|
||||||
jovian.outputs.nixosModules.jovian
|
|
||||||
|
|
||||||
{
|
|
||||||
networking.hostName = "steamdeck1";
|
|
||||||
boot.loader.systemd-boot.enable = true;
|
|
||||||
boot.loader.efi.canTouchEfiVariables = true;
|
|
||||||
hardware.bluetooth.enable = true;
|
|
||||||
networking.networkmanager.enable = true;
|
|
||||||
|
|
||||||
home-manager.users.daniel = {
|
|
||||||
imports = with homeManagerModules; [
|
|
||||||
firefox-no-tabs
|
|
||||||
linux-desktop-environment-config
|
|
||||||
];
|
|
||||||
};
|
|
||||||
}
|
|
||||||
];
|
|
||||||
};
|
|
||||||
|
|
||||||
foxtrot = nixpkgs-unstable.lib.nixosSystem {
|
|
||||||
system = "x86_64-linux";
|
|
||||||
modules = with nixosModules; [
|
|
||||||
home-manager-unstable-defaults
|
|
||||||
|
|
||||||
outputs.diskoConfigurations.foxtrot
|
|
||||||
hardware.nixosModules.framework-13-7040-amd
|
|
||||||
|
|
||||||
common
|
|
||||||
kde-connect
|
|
||||||
password-manager
|
|
||||||
graphical-workstation
|
|
||||||
# plasma6
|
|
||||||
# virtual-machines
|
|
||||||
# virtual-machines-gui
|
|
||||||
laptop
|
|
||||||
gaming
|
|
||||||
cross-compiler
|
|
||||||
|
|
||||||
./nixos/foxtrot.nix
|
|
||||||
|
|
||||||
({pkgs, ...}: {
|
|
||||||
home-manager.users.daniel = {
|
|
||||||
imports = with homeManagerModules; [
|
|
||||||
senpai
|
|
||||||
iex
|
|
||||||
niri
|
|
||||||
cargo
|
|
||||||
firefox-no-tabs
|
|
||||||
linux-desktop-environment-config
|
|
||||||
];
|
|
||||||
};
|
|
||||||
environment.systemPackages = with pkgs; [
|
|
||||||
fw-ectool
|
|
||||||
(writeShellApplication
|
|
||||||
{
|
|
||||||
name = "reset-wifi-module";
|
|
||||||
runtimeInputs = with pkgs; [kmod];
|
|
||||||
text = ''
|
|
||||||
modprobe -rv mt7921e
|
|
||||||
modprobe -v mt7921e
|
|
||||||
'';
|
|
||||||
})
|
|
||||||
(writeShellApplication
|
|
||||||
{
|
|
||||||
name = "perfmode";
|
|
||||||
# we use command -v $cmd here because we only want to invoke these calls _if_ the related package is installed on the system
|
|
||||||
# otherwise, they will likely have no effect anyways
|
|
||||||
text = ''
|
|
||||||
command -v powerprofilesctl &>/dev/null && bash -x -c 'powerprofilesctl set balanced'
|
|
||||||
command -v swaymsg &>/dev/null && bash -x -c 'swaymsg output eDP-1 mode 2880x1920@120Hz'
|
|
||||||
'';
|
|
||||||
})
|
|
||||||
(writeShellApplication
|
|
||||||
{
|
|
||||||
name = "battmode";
|
|
||||||
text = ''
|
|
||||||
command -v powerprofilesctl &>/dev/null && bash -x -c 'powerprofilesctl set power-saver'
|
|
||||||
command -v swaymsg &>/dev/null && bash -x -c 'swaymsg output eDP-1 mode 2880x1920@60Hz'
|
|
||||||
'';
|
|
||||||
})
|
|
||||||
];
|
|
||||||
})
|
|
||||||
];
|
|
||||||
};
|
|
||||||
|
|
||||||
thablet = nixpkgs-unstable.lib.nixosSystem {
|
|
||||||
system = "x86_64-linux";
|
|
||||||
modules = with nixosModules; [
|
|
||||||
home-manager-unstable-defaults
|
|
||||||
{
|
|
||||||
_module.args = {
|
|
||||||
disk = "nvme0n1";
|
|
||||||
esp = {
|
|
||||||
label = "ESP";
|
|
||||||
size = "4G";
|
|
||||||
name = "ESP";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
||||||
outputs.diskoConfigurations.standard
|
|
||||||
hardware.nixosModules.lenovo-thinkpad-x1-yoga
|
|
||||||
|
|
||||||
common
|
|
||||||
password-manager
|
|
||||||
graphical-workstation
|
|
||||||
# plasma6
|
|
||||||
music-production
|
|
||||||
laptop
|
|
||||||
touchscreen
|
|
||||||
gaming
|
|
||||||
|
|
||||||
./nixos/thablet.nix
|
|
||||||
|
|
||||||
{
|
|
||||||
home-manager.users.daniel = {
|
|
||||||
imports = with homeManagerModules; [
|
|
||||||
senpai
|
|
||||||
iex
|
|
||||||
cargo
|
|
||||||
firefox-no-tabs
|
|
||||||
linux-desktop-environment-config
|
|
||||||
# slippi.homeManagerModules.default
|
|
||||||
];
|
|
||||||
};
|
|
||||||
}
|
|
||||||
];
|
|
||||||
};
|
|
||||||
|
|
||||||
/*
|
|
||||||
grablet = nixpkgs.lib.nixosSystem {
|
|
||||||
system = "x86_64-linux";
|
|
||||||
modules = with nixosModules; [
|
|
||||||
common
|
|
||||||
|
|
||||||
outputs.diskoConfigurations.standard
|
|
||||||
hardware.nixosModules.common-cpu-intel-kaby-lake
|
|
||||||
hardware.nixosModules.common-pc-laptopp-ssd
|
|
||||||
graphical-workstation
|
|
||||||
laptop
|
|
||||||
gaming
|
|
||||||
|
|
||||||
./nixos/thablet.nix
|
|
||||||
|
|
||||||
{
|
|
||||||
home-manager.users.daniel = {
|
|
||||||
imports = with homeManagerModules; [
|
|
||||||
iex
|
|
||||||
cargo
|
|
||||||
linux-desktop-environment-config
|
|
||||||
];
|
|
||||||
};
|
|
||||||
|
|
||||||
powerManagement.cpuFreqGovernor = lib.mkDefault "performance";
|
|
||||||
}
|
|
||||||
];
|
|
||||||
};
|
|
||||||
*/
|
|
||||||
|
|
||||||
thinker = nixpkgs-unstable.lib.nixosSystem {
|
|
||||||
system = "x86_64-linux";
|
|
||||||
modules = with nixosModules; [
|
|
||||||
home-manager-unstable-defaults
|
|
||||||
|
|
||||||
{
|
|
||||||
_module.args = {
|
|
||||||
disks = ["/dev/nvme0n1"];
|
|
||||||
swapSize = "32G";
|
|
||||||
};
|
|
||||||
}
|
|
||||||
outputs.diskoConfigurations.standard
|
|
||||||
hardware.nixosModules.lenovo-thinkpad-t480
|
|
||||||
hardware.nixosModules.common-pc-laptop-ssd
|
|
||||||
|
|
||||||
music-production
|
|
||||||
common
|
|
||||||
password-manager
|
|
||||||
graphical-workstation
|
|
||||||
# plasma6
|
|
||||||
laptop
|
|
||||||
gaming
|
|
||||||
|
|
||||||
./nixos/thinker.nix
|
|
||||||
|
|
||||||
{
|
|
||||||
home-manager.users.daniel = {
|
|
||||||
imports = with homeManagerModules; [
|
|
||||||
senpai
|
|
||||||
iex
|
|
||||||
cargo
|
|
||||||
firefox-no-tabs
|
|
||||||
linux-desktop-environment-config
|
|
||||||
slippi.homeManagerModules.default
|
|
||||||
];
|
|
||||||
};
|
|
||||||
}
|
|
||||||
];
|
|
||||||
};
|
|
||||||
|
|
||||||
musicbox = nixpkgs.lib.nixosSystem {
|
|
||||||
system = "x86_64-linux";
|
|
||||||
modules = with nixosModules; [
|
|
||||||
home-manager-defaults
|
|
||||||
|
|
||||||
{
|
|
||||||
_module.args = {
|
|
||||||
disks = ["/dev/sda"];
|
|
||||||
# swapSize = "8G";
|
|
||||||
};
|
|
||||||
esp = {};
|
|
||||||
}
|
|
||||||
outputs.diskoConfigurations.unencrypted
|
|
||||||
hardware.nixosModules.common-pc-laptop-ssd
|
|
||||||
|
|
||||||
music-production
|
|
||||||
common
|
|
||||||
graphical-workstation
|
|
||||||
wifi
|
|
||||||
|
|
||||||
# ./nixos/musicbox.nix
|
|
||||||
|
|
||||||
{
|
|
||||||
boot.loader.systemd-boot.enable = true;
|
|
||||||
boot.loader.efi.canTouchEfiVariables = true;
|
|
||||||
hardware.bluetooth.enable = true;
|
|
||||||
networking.networkmanager.enable = true;
|
|
||||||
|
|
||||||
home-manager.users.daniel = {
|
|
||||||
imports = with homeManagerModules; [
|
|
||||||
firefox-no-tabs
|
|
||||||
linux-desktop-environment-config
|
|
||||||
];
|
|
||||||
};
|
|
||||||
}
|
|
||||||
];
|
|
||||||
};
|
|
||||||
|
|
||||||
rascal = nixpkgs.lib.nixosSystem {
|
|
||||||
system = "x86_64-linux";
|
|
||||||
modules = with nixosModules; [
|
|
||||||
home-manager-defaults
|
|
||||||
hardware.nixosModules.common-cpu-amd
|
|
||||||
common
|
|
||||||
linux
|
|
||||||
./nixos/rascal.nix
|
|
||||||
];
|
|
||||||
};
|
|
||||||
|
|
||||||
router = nixpkgs.lib.nixosSystem {
|
|
||||||
system = "x86_64-linux";
|
|
||||||
modules = with nixosModules; [
|
|
||||||
home-manager-defaults
|
|
||||||
common
|
|
||||||
linux
|
|
||||||
troubleshooting-tools
|
|
||||||
|
|
||||||
outputs.nixosModules.deno-netlify-ddns-client
|
|
||||||
{
|
|
||||||
services.deno-netlify-ddns-client = {
|
|
||||||
enable = true;
|
|
||||||
username = "router.h";
|
|
||||||
# TODO: ipv6
|
|
||||||
ipv6 = false;
|
|
||||||
};
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
|
||||||
NOTE: maybe use this someday, but I think I need more concrete
|
|
||||||
networking knowledge before I know how to use it well. Additionally,
|
|
||||||
I can use my existing firewall configuration more easily if I manage
|
|
||||||
it directly.
|
|
||||||
nnf.nixosModules.default
|
|
||||||
*/
|
|
||||||
|
|
||||||
./nixos/router.nix
|
|
||||||
];
|
|
||||||
};
|
|
||||||
|
|
||||||
# pinephone-image =
|
|
||||||
# (import "${mobile-nixos}/lib/eval-with-configuration.nix" {
|
|
||||||
# configuration = with nixosModules; [
|
|
||||||
# linux
|
|
||||||
# home-manager-defaults
|
|
||||||
|
|
||||||
# # outputs.diskoConfigurations.unencrypted # can I even disko with an image-based installation?
|
|
||||||
# common
|
|
||||||
# wifi
|
|
||||||
|
|
||||||
# # TODO: how do I get a minimally useful mobile environment?
|
|
||||||
# # for me, this means an on-screen keyboard and suspend support I think?
|
|
||||||
# # I can live in a tty if needed and graphical stuff can all evolve later
|
|
||||||
# # not worried about modem
|
|
||||||
# # maybe/hopefully I can pull in or define my own sxmo via nix?
|
|
||||||
# ];
|
|
||||||
# device = "pine64-pinephone";
|
|
||||||
# pkgs = pkgsFor "aarch64-linux";
|
|
||||||
# })
|
|
||||||
# .outputs
|
|
||||||
# .disk-image;
|
|
||||||
|
|
||||||
pinephone = let
|
|
||||||
inherit (nixpkgs-unstable) lib;
|
|
||||||
in
|
|
||||||
lib.nixosSystem {
|
|
||||||
system = "aarch64-linux";
|
|
||||||
# lib.nixosSystem {
|
|
||||||
|
|
||||||
modules = with nixosModules; [
|
|
||||||
{
|
|
||||||
imports = [
|
|
||||||
(import "${mobile-nixos}/lib/configuration.nix" {
|
|
||||||
device = "pine64-pinephone";
|
|
||||||
})
|
|
||||||
];
|
|
||||||
|
|
||||||
# nixpkgs.hostPlatform.system = "aarch64-linux";
|
|
||||||
nixpkgs.buildPlatform = "x86_64-linux";
|
|
||||||
|
|
||||||
# TODO: quirk: since the pinephone kernel doesn't seem to have "rpfilter" support, firewall ain't working
|
|
||||||
networking.firewall.enable = lib.mkForce false;
|
|
||||||
|
|
||||||
# TODO: quirk: since git send-email requires perl support, which we don't seem to have on the pinephone, we're just disabling git for now
|
|
||||||
# TODO: would likely be easier/better to somehow ignore the assertion? probably a way to do that...
|
|
||||||
programs.git.enable = lib.mkForce false;
|
|
||||||
|
|
||||||
# this option is conflicted, presumably due to some assumption in my defaults/common config
|
|
||||||
# the sd-image module we're importing above has this set to true, so we better go with that?
|
|
||||||
# that said, I think the mobile-nixos bootloader module has this set to false, so...
|
|
||||||
# TODO: what does this mean?
|
|
||||||
boot.loader.generic-extlinux-compatible.enable = lib.mkForce true;
|
|
||||||
|
|
||||||
# another conflicting option since I think I default to NetworkManager and this conflicts with networking.wireless.enable
|
|
||||||
networking.networkmanager.enable = lib.mkForce false;
|
|
||||||
networking.wireless.enable = lib.mkForce true;
|
|
||||||
}
|
|
||||||
|
|
||||||
# TODO: how do I build this as a .img to flash to an SD card?
|
|
||||||
|
|
||||||
# for testing, this seems to work `nixos-rebuild build --impure --flake .#pinephone`
|
|
||||||
|
|
||||||
# TODO: would like to use the mobile-nixos installer?
|
|
||||||
"${nixpkgs-unstable}/nixos/modules/installer/sd-card/sd-image-aarch64-installer.nix"
|
|
||||||
|
|
||||||
linux
|
|
||||||
home-manager-unstable-defaults
|
|
||||||
|
|
||||||
# outputs.diskoConfigurations.unencrypted # can I even disko with an image-based installation?
|
|
||||||
common
|
|
||||||
wifi
|
|
||||||
|
|
||||||
{
|
|
||||||
system.stateVersion = "24.11";
|
|
||||||
}
|
|
||||||
|
|
||||||
{
|
|
||||||
# nixpkgs.buildPlatform = "x86_64-linux";
|
|
||||||
# nixpkgs.hostPlatform = lib.systems.examples.aarch64-multiplatform;
|
|
||||||
# nixpkgs.localSystem.system = lib.systems.examples.x86_64-linux;
|
|
||||||
# nixpkgs.crossSystem = lib.mkForce null;
|
|
||||||
}
|
|
||||||
];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
images.pinephone = outputs.nixosConfigurations.pinephone.config.system.build.sdImage;
|
|
||||||
|
|
||||||
homeConfigurations = {
|
|
||||||
"deck" = let
|
|
||||||
system = "x86_64-linux";
|
|
||||||
pkgs = unstable.pkgsFor system;
|
|
||||||
in
|
|
||||||
home-manager-unstable.lib.homeManagerConfiguration {
|
|
||||||
inherit pkgs;
|
|
||||||
modules = with homeManagerModules; [
|
|
||||||
common
|
|
||||||
{
|
|
||||||
home = {
|
|
||||||
homeDirectory = "/home/deck";
|
|
||||||
username = "deck";
|
|
||||||
stateVersion = "24.11";
|
|
||||||
};
|
|
||||||
}
|
|
||||||
{
|
|
||||||
home.packages = with pkgs; [
|
|
||||||
ludusavi
|
|
||||||
rclone
|
|
||||||
];
|
|
||||||
}
|
|
||||||
linux
|
|
||||||
];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
TODO: nix-on-droid for phone terminal usage? mobile-nixos?
|
TODO: nix-on-droid for phone terminal usage? mobile-nixos?
|
||||||
TODO: nix-darwin for work?
|
TODO: nix-darwin for work?
|
||||||
TODO: nixos ISO?
|
TODO: nixos ISO?
|
||||||
*/
|
*/
|
||||||
};
|
}
|
||||||
|
// (import ./nix/constants.nix inputs);
|
||||||
|
|
||||||
inputs = {
|
inputs = {
|
||||||
# stable inputs
|
# stable inputs
|
||||||
|
|
11
lib/default.nix
Normal file
11
lib/default.nix
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
{self, ...}: let
|
||||||
|
forSelfOverlay =
|
||||||
|
if builtins.hasAttr "overlays" self && builtins.hasAttr "forSelf" self.overlays
|
||||||
|
then self.overlays.forSelf
|
||||||
|
else (_: p: p);
|
||||||
|
in rec {
|
||||||
|
systems = ["aarch64-linux" "aarch64-darwin" "x86_64-darwin" "x86_64-linux"];
|
||||||
|
forSystems = nixpkgs: nixpkgs.lib.genAttrs systems;
|
||||||
|
pkgsFor = nixpkgs: system: (import nixpkgs {inherit system;}).extend forSelfOverlay;
|
||||||
|
genPkgs = nixpkgs: func: (forSystems nixpkgs (system: func (pkgsFor nixpkgs system)));
|
||||||
|
}
|
|
@ -1,4 +1,6 @@
|
||||||
{lib, ...}: let
|
{nixpkgs-unstable, ...}: let
|
||||||
|
# TODO: This file needs some serious cleaning up.
|
||||||
|
lib = nixpkgs-unstable.lib;
|
||||||
inherit (lib.attrsets) mapAttrs' filterAttrs;
|
inherit (lib.attrsets) mapAttrs' filterAttrs;
|
||||||
ESP = inputs @ {
|
ESP = inputs @ {
|
||||||
size ? "4G",
|
size ? "4G",
|
||||||
|
@ -408,6 +410,7 @@ in rec {
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
legacy = {disks, ...}: {
|
legacy = {disks, ...}: {
|
||||||
disko.devices = {
|
disko.devices = {
|
||||||
disk = {
|
disk = {
|
|
@ -1,15 +1,8 @@
|
||||||
{
|
{self, ...}: let
|
||||||
style,
|
inherit (self) outputs;
|
||||||
lib,
|
inherit (outputs) homeManagerModules constants;
|
||||||
flakeInputs,
|
inherit (constants) style;
|
||||||
homeManagerModules,
|
in {
|
||||||
home-manager,
|
|
||||||
home-manager-unstable,
|
|
||||||
helix,
|
|
||||||
nixosModules,
|
|
||||||
pubkey,
|
|
||||||
overlays,
|
|
||||||
}: {
|
|
||||||
bat = {
|
bat = {
|
||||||
programs.bat = {
|
programs.bat = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
@ -636,9 +629,7 @@
|
||||||
config,
|
config,
|
||||||
pkgs,
|
pkgs,
|
||||||
...
|
...
|
||||||
}: let
|
}: {
|
||||||
inherit (pkgs) system;
|
|
||||||
in {
|
|
||||||
# helix rust debugger stuff
|
# helix rust debugger stuff
|
||||||
# https://github.com/helix-editor/helix/wiki/Debugger-Configurations
|
# https://github.com/helix-editor/helix/wiki/Debugger-Configurations
|
||||||
home.file."${config.xdg.configHome}/lldb_vscode_rustc_primer.py" = {
|
home.file."${config.xdg.configHome}/lldb_vscode_rustc_primer.py" = {
|
||||||
|
@ -668,7 +659,6 @@
|
||||||
|
|
||||||
programs.helix = {
|
programs.helix = {
|
||||||
enable = true;
|
enable = true;
|
||||||
package = lib.mkForce helix.packages.${system}.helix;
|
|
||||||
languages = {
|
languages = {
|
||||||
language-server = {
|
language-server = {
|
||||||
lexical = {
|
lexical = {
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Reference in a new issue