nix: add flake

This commit is contained in:
Nico 2025-05-03 16:15:57 +10:00
parent 94354286c1
commit 44829a3c62
2 changed files with 34 additions and 1 deletions

27
nix/flake.lock generated Normal file
View file

@ -0,0 +1,27 @@
{
"nodes": {
"nixpkgs": {
"locked": {
"lastModified": 1729256560,
"narHash": "sha256-/uilDXvCIEs3C9l73JTACm4quuHUsIHcns1c+cHUJwA=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "4c2fcb090b1f3e5b47eaa7bd33913b574a11e0a0",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixos-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"root": {
"inputs": {
"nixpkgs": "nixpkgs"
}
}
},
"root": "root",
"version": 7
}

View file

@ -3,7 +3,7 @@
inputs = {
# NixOS official package source, using the unstable branch here
nixpkgs.url = "github:NixOS/nixpkgs/unstable";
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
};
outputs = { self, nixpkgs, ... }@inputs: {
@ -11,6 +11,12 @@
system = "x86_64-linux";
modules = [
./configuration.nix
./modules/shell.nix
./modules/users.nix
./modules/hyprland.nix
./modules/applications.nix
./hosts/pluto/conf.nix
./hosts/pluto/hardware-configuration.nix
];