Kieran's opinionated (and probably slightly dumb) nix config

feat: mvc hyprnix

+81 -81
flake.lock
···
{
"nodes": {
+
"Hyprnix": {
+
"inputs": {
+
"bird-nix-lib": "bird-nix-lib",
+
"hyprland": "hyprland",
+
"hyprland-protocols": "hyprland-protocols_2",
+
"hyprland-xdph": "hyprland-xdph",
+
"hyprlang": "hyprlang_3",
+
"nixpkgs": "nixpkgs_2",
+
"systems": "systems_3"
+
},
+
"locked": {
+
"lastModified": 1718089837,
+
"narHash": "sha256-E4Q+ruDcE1S+CrHLwdpB32NvcITKOJWrg9LhMs+/Of0=",
+
"owner": "hyprland-community",
+
"repo": "hyprnix",
+
"rev": "cfb8fb276e605699589c578e27f0ddd8dbba102b",
+
"type": "github"
+
},
+
"original": {
+
"owner": "hyprland-community",
+
"repo": "hyprnix",
+
"type": "github"
+
}
+
},
"agenix": {
"inputs": {
"darwin": "darwin",
"home-manager": "home-manager",
-
"nixpkgs": "nixpkgs",
-
"systems": "systems"
+
"nixpkgs": "nixpkgs_3",
+
"systems": "systems_4"
},
"locked": {
"lastModified": 1720546205,
···
},
"bird-nix-lib": {
"inputs": {
-
"nixpkgs": "nixpkgs_3",
-
"systems": "systems_2"
+
"nixpkgs": "nixpkgs",
+
"systems": "systems"
},
"locked": {
"lastModified": 1718015582,
···
"hyprland-protocols": "hyprland-protocols",
"hyprlang": "hyprlang",
"nixpkgs": [
-
"hyprland-nix",
+
"Hyprnix",
"nixpkgs"
],
"systems": [
-
"hyprland-nix",
+
"Hyprnix",
"systems"
],
"wlroots": "wlroots",
···
},
"hyprland-contrib": {
"inputs": {
-
"nixpkgs": "nixpkgs_2"
+
"nixpkgs": "nixpkgs_4"
},
"locked": {
"lastModified": 1720709712,
···
"type": "github"
}
},
-
"hyprland-nix": {
-
"inputs": {
-
"bird-nix-lib": "bird-nix-lib",
-
"hyprland": "hyprland",
-
"hyprland-protocols": "hyprland-protocols_2",
-
"hyprland-xdph": "hyprland-xdph",
-
"hyprlang": "hyprlang_3",
-
"nixpkgs": "nixpkgs_4",
-
"systems": "systems_4"
-
},
-
"locked": {
-
"lastModified": 1718089837,
-
"narHash": "sha256-E4Q+ruDcE1S+CrHLwdpB32NvcITKOJWrg9LhMs+/Of0=",
-
"owner": "hyprland-community",
-
"repo": "hyprnix",
-
"rev": "cfb8fb276e605699589c578e27f0ddd8dbba102b",
-
"type": "github"
-
},
-
"original": {
-
"owner": "hyprland-community",
-
"repo": "hyprnix",
-
"type": "github"
-
}
-
},
"hyprland-protocols": {
"inputs": {
"nixpkgs": [
-
"hyprland-nix",
+
"Hyprnix",
"hyprland",
"nixpkgs"
],
"systems": [
-
"hyprland-nix",
+
"Hyprnix",
"hyprland",
"systems"
]
···
"hyprland-protocols_2": {
"inputs": {
"nixpkgs": [
-
"hyprland-nix",
+
"Hyprnix",
"nixpkgs"
],
"systems": [
-
"hyprland-nix",
+
"Hyprnix",
"systems"
]
},
···
"hyprland-xdph": {
"inputs": {
"hyprland-protocols": [
-
"hyprland-nix",
+
"Hyprnix",
"hyprland-protocols"
],
"hyprlang": "hyprlang_2",
"nixpkgs": [
-
"hyprland-nix",
+
"Hyprnix",
"nixpkgs"
],
"systems": [
-
"hyprland-nix",
+
"Hyprnix",
"systems"
]
},
···
"hyprlang": {
"inputs": {
"nixpkgs": [
-
"hyprland-nix",
+
"Hyprnix",
"hyprland",
"nixpkgs"
],
"systems": [
-
"hyprland-nix",
+
"Hyprnix",
"hyprland",
"systems"
]
···
"hyprlang_2": {
"inputs": {
"nixpkgs": [
-
"hyprland-nix",
+
"Hyprnix",
"hyprland-xdph",
"nixpkgs"
],
-
"systems": "systems_3"
+
"systems": "systems_2"
},
"locked": {
"lastModified": 1708681732,
···
"hyprlang_3": {
"inputs": {
"nixpkgs": [
-
"hyprland-nix",
+
"Hyprnix",
"nixpkgs"
],
"systems": [
-
"hyprland-nix",
+
"Hyprnix",
"systems"
]
},
···
},
"nixpkgs": {
"locked": {
-
"lastModified": 1703013332,
-
"narHash": "sha256-+tFNwMvlXLbJZXiMHqYq77z/RfmpfpiI3yjL6o/Zo9M=",
-
"owner": "NixOS",
+
"lastModified": 1717868076,
+
"narHash": "sha256-c83Y9t815Wa34khrux81j8K8ET94ESmCuwORSKm2bQY=",
+
"owner": "nixos",
"repo": "nixpkgs",
-
"rev": "54aac082a4d9bb5bbc5c4e899603abfb76a3f6d6",
+
"rev": "cd18e2ae9ab8e2a0a8d715b60c91b54c0ac35ff9",
"type": "github"
},
"original": {
-
"owner": "NixOS",
-
"ref": "nixos-unstable",
+
"owner": "nixos",
+
"ref": "nixpkgs-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"nixpkgs_2": {
"locked": {
-
"lastModified": 1712163089,
-
"narHash": "sha256-Um+8kTIrC19vD4/lUCN9/cU9kcOsD1O1m+axJqQPyMM=",
-
"owner": "NixOS",
+
"lastModified": 1697723726,
+
"narHash": "sha256-SaTWPkI8a5xSHX/rrKzUe+/uVNy6zCGMXgoeMb7T9rg=",
+
"owner": "nixos",
"repo": "nixpkgs",
-
"rev": "fd281bd6b7d3e32ddfa399853946f782553163b5",
+
"rev": "7c9cc5a6e5d38010801741ac830a3f8fd667a7a0",
"type": "github"
},
"original": {
-
"owner": "NixOS",
+
"owner": "nixos",
"ref": "nixos-unstable",
"repo": "nixpkgs",
"type": "github"
···
},
"nixpkgs_3": {
"locked": {
-
"lastModified": 1717868076,
-
"narHash": "sha256-c83Y9t815Wa34khrux81j8K8ET94ESmCuwORSKm2bQY=",
-
"owner": "nixos",
+
"lastModified": 1703013332,
+
"narHash": "sha256-+tFNwMvlXLbJZXiMHqYq77z/RfmpfpiI3yjL6o/Zo9M=",
+
"owner": "NixOS",
"repo": "nixpkgs",
-
"rev": "cd18e2ae9ab8e2a0a8d715b60c91b54c0ac35ff9",
+
"rev": "54aac082a4d9bb5bbc5c4e899603abfb76a3f6d6",
"type": "github"
},
"original": {
-
"owner": "nixos",
-
"ref": "nixpkgs-unstable",
+
"owner": "NixOS",
+
"ref": "nixos-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"nixpkgs_4": {
"locked": {
-
"lastModified": 1697723726,
-
"narHash": "sha256-SaTWPkI8a5xSHX/rrKzUe+/uVNy6zCGMXgoeMb7T9rg=",
-
"owner": "nixos",
+
"lastModified": 1712163089,
+
"narHash": "sha256-Um+8kTIrC19vD4/lUCN9/cU9kcOsD1O1m+axJqQPyMM=",
+
"owner": "NixOS",
"repo": "nixpkgs",
-
"rev": "7c9cc5a6e5d38010801741ac830a3f8fd667a7a0",
+
"rev": "fd281bd6b7d3e32ddfa399853946f782553163b5",
"type": "github"
},
"original": {
-
"owner": "nixos",
+
"owner": "NixOS",
"ref": "nixos-unstable",
"repo": "nixpkgs",
"type": "github"
···
},
"root": {
"inputs": {
+
"Hyprnix": "Hyprnix",
"agenix": "agenix",
"catppuccin": "catppuccin",
"disko": "disko",
"hardware": "hardware",
"home-manager": "home-manager_2",
"hyprland-contrib": "hyprland-contrib",
-
"hyprland-nix": "hyprland-nix",
"nixos-hardware": "nixos-hardware",
"nixpkgs": "nixpkgs_5",
"spicetify-nix": "spicetify-nix"
···
},
"systems_2": {
"locked": {
-
"lastModified": 1681028828,
-
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
+
"lastModified": 1689347949,
+
"narHash": "sha256-12tWmuL2zgBgZkdoB6qXZsgJEH9LR3oUgpaQq2RbI80=",
"owner": "nix-systems",
-
"repo": "default",
-
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
+
"repo": "default-linux",
+
"rev": "31732fcf5e8fea42e59c2488ad31a0e651500f68",
"type": "github"
},
"original": {
"owner": "nix-systems",
-
"repo": "default",
+
"repo": "default-linux",
"type": "github"
}
},
···
},
"systems_4": {
"locked": {
-
"lastModified": 1689347949,
-
"narHash": "sha256-12tWmuL2zgBgZkdoB6qXZsgJEH9LR3oUgpaQq2RbI80=",
+
"lastModified": 1681028828,
+
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
"owner": "nix-systems",
-
"repo": "default-linux",
-
"rev": "31732fcf5e8fea42e59c2488ad31a0e651500f68",
+
"repo": "default",
+
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
"type": "github"
},
"original": {
"owner": "nix-systems",
-
"repo": "default-linux",
+
"repo": "default",
"type": "github"
}
},
···
"xdph": {
"inputs": {
"hyprland-protocols": [
-
"hyprland-nix",
+
"Hyprnix",
"hyprland",
"hyprland-protocols"
],
"hyprlang": [
-
"hyprland-nix",
+
"Hyprnix",
"hyprland",
"hyprlang"
],
"nixpkgs": [
-
"hyprland-nix",
+
"Hyprnix",
"hyprland",
"nixpkgs"
],
"systems": [
-
"hyprland-nix",
+
"Hyprnix",
"hyprland",
"systems"
]
+1 -1
flake.nix
···
home-manager.inputs.nixpkgs.follows = "nixpkgs";
# hyprland nix
-
hyprland-nix.url = "github:hyprland-community/hyprnix";
+
Hyprnix.url = "github:hyprland-community/hyprnix";
hyprland-contrib = {
url = "github:hyprwm/contrib";
};
+5
home-manager/home.nix
···
# catpuccin
inputs.catppuccin.homeManagerModules.catppuccin
+
inputs.Hyprnix.homeManagerModules.hyprland
+
./hyprland.nix
+
# ./hyprland
./waybar.nix
];
···
flavor = "macchiato";
};
};
+
+
wayland.windowManager.hyprland.enable = true;
# git config
programs.git = {
moonlark/hyprland/config.nix home-manager/hyprland/config.nix
moonlark/hyprland/default.nix home-manager/hyprland/default.nix
moonlark/hyprland/keybinds.nix home-manager/hyprland/keybinds.nix
moonlark/hyprland/waybar.nix home-manager/hyprland/waybar.nix
moonlark/hyprland/waybar.scss home-manager/hyprland/waybar.scss
moonlark/hyprland/windowrules.nix home-manager/hyprland/windowrules.nix