attempting to use a flake
This commit is contained in:
parent
d3eb6e3d81
commit
c46c131bc2
2 changed files with 27 additions and 6 deletions
21
flake.nix
Normal file
21
flake.nix
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
{
|
||||
description = "Configuration for NixOS";
|
||||
inputs = {
|
||||
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
||||
nixos-hardware.url = "github:nixos/nixos-hardware";
|
||||
home-manager.url = "github:nix-community/home-manager";
|
||||
};
|
||||
outputs = inputs@{self, nixpkgs, nixos-hardware, ...}:
|
||||
{
|
||||
nixosConfigurations = {
|
||||
neon = nixpkgs.lib.nixosSystem {
|
||||
system = "x86_64-linux";
|
||||
modules = [
|
||||
# https://github.com/NixOS/nixos-hardware/blob/master/README.md#using-nix-flakes-support
|
||||
nixos-hardware.nixosModules.gpd-pocket-3
|
||||
./configuration.nix
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue