diff --git a/.config/nixos/flake.nix b/.config/nixos/flake.nix index 62c00ff..040c411 100755 --- a/.config/nixos/flake.nix +++ b/.config/nixos/flake.nix @@ -1,35 +1,3 @@ -{ - description = "System flake with automatic hostname detection"; - - inputs = { - nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; - # home-manager.url = "github:nix-community/home-manager"; - # home-manager.inputs.nixpkgs.follows = "nixpkgs"; - stylix.url = "github:danth/stylix"; - stylix.inputs.nixpkgs.follows = "nixpkgs"; - }; - - outputs = { self, nixpkgs, ... }@inputs: let - system = builtins.currentSystem; - hostname = builtins.getEnv "HOSTNAME"; - in - { - nixosConfigurations = { - "${hostname}" = nixpkgs.lib.nixosSystem { - inherit system; - specialArgs = { inherit inputs; }; - modules = [ - # ./common.nix - ./${hostname}/configuration.nix - # ./${hostname}/hardware-configuration.nix - inputs.stylix.nixosModules.stylix - ]; - }; - }; - }; -} - -/* { description = "System flake"; inputs = { @@ -57,4 +25,3 @@ }; }; } -*/