diff --git a/flake.nix b/flake.nix index 4ff9206..b7d1430 100755 --- a/flake.nix +++ b/flake.nix @@ -11,29 +11,29 @@ home-manager.inputs.nixpkgs.follows = "nixpkgs"; }; - outputs = { - self, - nixpkgs, - home-manager, - ... - } @ inputs: let - systems = ["x86_64-linux"]; - forAllSystems = nixpkgs.lib.genAttrs systems; - in { + outputs = + { + nixpkgs, + ... + }@inputs: + let + systems = [ "x86_64-linux" ]; + forAllSystems = nixpkgs.lib.genAttrs systems; + in + { + packages = forAllSystems (system: import ./pkgs nixpkgs.legacyPackages.${system}); + overlays = import ./overlays { inherit inputs; }; - packages = forAllSystems (system: import ./pkgs nixpkgs.legacyPackages.${system}); - overlays = import ./overlays {inherit inputs;}; + apps = import ./modules/apps; + nixos = import ./modules/nixos; + home-manager = import ./modules/home; - nixos = import ./modules/nixos; - home = import ./modules/home; - apps = import ./modules/apps; - - nixosConfigurations = { - nixos = nixpkgs.lib.nixosSystem { - specialArgs = {inherit inputs;}; - modules = [./nixos/configuration.nix]; + nixosConfigurations = { + nixos = nixpkgs.lib.nixosSystem { + specialArgs = { inherit inputs; }; + modules = [ ./nixos/configuration.nix ]; + }; }; - }; - }; + }; } diff --git a/nixos/configuration.nix b/nixos/configuration.nix index 965a211..f28d9ca 100755 --- a/nixos/configuration.nix +++ b/nixos/configuration.nix @@ -53,10 +53,10 @@ time.timeZone = "Europe/Brussels"; # System services - within.boot.systemd = true; - within.boot.plymouth = true; - within.graphics.nvidia.base = true; - within.audio.pipewire = true; + within.boot.systemd.enable = true; + within.boot.plymouth.enable = true; + within.graphics.nvidia.base.enable = true; + within.audio.pipewire.enable = true; within.networks.dns.enable = true; within.networks.manager.enable = true;