forked from nico/dots
nix: init flake
This commit is contained in:
commit
012b23bb1b
1 changed files with 19 additions and 0 deletions
19
nix/flake.nix
Normal file
19
nix/flake.nix
Normal file
|
|
@ -0,0 +1,19 @@
|
||||||
|
{
|
||||||
|
description = "nico's linux system.";
|
||||||
|
|
||||||
|
inputs = {
|
||||||
|
# NixOS official package source, using the unstable branch here
|
||||||
|
nixpkgs.url = "github:NixOS/nixpkgs/unstable";
|
||||||
|
};
|
||||||
|
|
||||||
|
outputs = { self, nixpkgs, ... }@inputs: {
|
||||||
|
nixosConfigurations.pluto = nixpkgs.lib.nixosSystem {
|
||||||
|
system = "x86_64-linux";
|
||||||
|
modules = [
|
||||||
|
./configuration.nix
|
||||||
|
./hosts/pluto/conf.nix
|
||||||
|
./hosts/pluto/hardware-configuration.nix
|
||||||
|
];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue