refactor!: change nix-systems flake input to systems

This commit is contained in:
Kiana Sheibani 2025-10-07 19:56:53 -04:00
parent 7d8d7dacae
commit 2fd22ae486
Signed by: toki
GPG key ID: 6CB106C25E86A9F7
2 changed files with 20 additions and 20 deletions

34
flake.lock generated
View file

@ -1,20 +1,5 @@
{
"nodes": {
"nix-systems": {
"locked": {
"lastModified": 1681028828,
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
"owner": "nix-systems",
"repo": "default",
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
"type": "github"
},
"original": {
"owner": "nix-systems",
"repo": "default",
"type": "github"
}
},
"nixpkgs": {
"locked": {
"lastModified": 1759386674,
@ -53,9 +38,24 @@
},
"root": {
"inputs": {
"nix-systems": "nix-systems",
"nixpkgs": "nixpkgs",
"quickshell": "quickshell"
"quickshell": "quickshell",
"systems": "systems"
}
},
"systems": {
"locked": {
"lastModified": 1681028828,
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
"owner": "nix-systems",
"repo": "default",
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
"type": "github"
},
"original": {
"owner": "nix-systems",
"repo": "default",
"type": "github"
}
}
},

View file

@ -3,7 +3,7 @@
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
nix-systems.url = "github:nix-systems/default";
systems.url = "github:nix-systems/default";
quickshell = {
url = "git+https://git.outfoxxed.me/outfoxxed/quickshell";
@ -11,10 +11,10 @@
};
};
outputs = { self, nixpkgs, nix-systems, quickshell, ... } @ inputs:
outputs = { self, nixpkgs, systems, quickshell, ... } @ inputs:
let
inherit (nixpkgs) lib;
eachSystem = lib.genAttrs (import nix-systems);
eachSystem = lib.genAttrs (import systems);
fonts = pkgs: with pkgs; [ material-symbols rubik nerd-fonts.jetbrains-mono ];
in {