aboutsummaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2022-02-07 18:05:58 -0800
committerFranck Cuny <franck@fcuny.net>2022-02-07 18:05:58 -0800
commitbd7d3e28ad6dc59f84ad5b6eb8101832d2d6eda3 (patch)
treed4b73c173a3b8fa0de89c5cf66ac0db4adc6a6c6 /flake.nix
parentdoc: how to install the system (diff)
downloadinfra-bd7d3e28ad6dc59f84ad5b6eb8101832d2d6eda3.tar.gz
carmel: initial host configuration
Initial configuration for the desktop (carmel).
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix21
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
+ ];
+ };
+ };
+ };
+}