diff --git a/configuration.nix b/configuration.nix index ef72896..98345c0 100644 --- a/configuration.nix +++ b/configuration.nix @@ -26,6 +26,9 @@ # networking.proxy.default = "http://user:password@proxy:port/"; # networking.proxy.noProxy = "127.0.0.1,localhost,internal.domain"; + # Flake + nix.settings.experimental-features = [ "nix-command" "flakes" ]; + # Enable networking networking.networkmanager.enable = true; diff --git a/flake.nix b/flake.nix new file mode 100644 index 0000000..98f982f --- /dev/null +++ b/flake.nix @@ -0,0 +1,16 @@ +{ + description = "NixOS Konfiguration"; + + inputs = { + nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; + }; + + outputs = { self, nixpkgs, ... }: { + nixosConfigurations.nixos = nixpkgs.lib.nixosSystem { + system = "x86_64-linux"; + modules = [ + ./configuration.nix + ]; + }; + }; +}