diff options
| author | seth <[email protected]> | 2023-08-20 18:56:53 -0400 |
|---|---|---|
| committer | seth <[email protected]> | 2023-08-20 18:56:53 -0400 |
| commit | 6c0a1f9a2242bec3a024f3899265a100700d8932 (patch) | |
| tree | f9174a0ac6903344fd2ac73c6137bd014259fffa /templates/nixos/flake.nix | |
| parent | 18c96ddec9476285c17534cc0edcb5270fda8b53 (diff) | |
templates/nixos: init
Diffstat (limited to 'templates/nixos/flake.nix')
| -rw-r--r-- | templates/nixos/flake.nix | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/templates/nixos/flake.nix b/templates/nixos/flake.nix new file mode 100644 index 0000000..2b464cd --- /dev/null +++ b/templates/nixos/flake.nix @@ -0,0 +1,19 @@ +{ + description = "my cool flake"; + + inputs = { + nixpkgs.url = "nixpkgs/nixos-unstable"; + home-manager = { + url = "github:nix-community/home-manager"; + inputs.nixpkgs.follows = "nixpkgs"; + }; + }; + + outputs = {nixpkgs, ...} @ inputs: { + nixosConfigurations."myHostname" = nixpkgs.lib.nixosSystem { + system = "x86_64-linux"; + modules = [./configuration.nix]; + specialArgs = inputs; + }; + }; +} |
