diff options
| author | Franck Cuny <franck@fcuny.net> | 2022-02-07 18:05:58 -0800 |
|---|---|---|
| committer | Franck Cuny <franck@fcuny.net> | 2022-02-07 18:05:58 -0800 |
| commit | bd7d3e28ad6dc59f84ad5b6eb8101832d2d6eda3 (patch) | |
| tree | d4b73c173a3b8fa0de89c5cf66ac0db4adc6a6c6 /flake.nix | |
| parent | doc: how to install the system (diff) | |
| download | infra-bd7d3e28ad6dc59f84ad5b6eb8101832d2d6eda3.tar.gz | |
carmel: initial host configuration
Initial configuration for the desktop (carmel).
Diffstat (limited to '')
| -rw-r--r-- | flake.nix | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/flake.nix b/flake.nix new file mode 100644 index 0000000..44f5997 --- /dev/null +++ b/flake.nix @@ -0,0 +1,21 @@ +{ + description = "personal NixOS configurations"; + + inputs = { + # Nixpkgs, NixOS's official repo + nixpkgs.url = "github:nixos/nixpkgs/release-21.11"; + }; + + # Output config, or config for NixOS system + outputs = { self, nixpkgs, ... }@inputs: { + nixosConfigurations = { + # desktop + carmel = nixpkgs.lib.nixosSystem { + system = "x86_64-linux"; + modules = [ + ./hosts/carmel/configuration.nix + ]; + }; + }; + }; +} |
