diff --git a/flake.nix b/flake.nix index 34d5c514..a9709f4d 100644 --- a/flake.nix +++ b/flake.nix @@ -19,8 +19,8 @@ libx = import ./lib { inherit inputs outputs stateVersion hmStateVersion; }; in { nixosConfigurations = { - nixos-laptop = libx.mkHost { hostname = "nixos-laptop"; username = "albert"; desktop = "hyprland"; graphics="intel" }; - nixos-desktop = libx.mkHost { hostname = "nixos-desktop"; username = "albert"; desktop = "gnome"; graphics="nvidia" }; + nixos-laptop = libx.mkHost { hostname = "nixos-laptop"; username = "albert"; desktop = "hyprland"; graphics = "intel"; }; + nixos-desktop = libx.mkHost { hostname = "nixos-desktop"; username = "albert"; desktop = "gnome"; graphics = "nvidia"; }; }; homeConfigurations = { "albert@nixos-laptop" = libx.mkHome { hostname = "nixos-laptop"; username = "albert"; desktop = "hyprland"; }; diff --git a/nixos/default.nix b/nixos/default.nix index 610f1fde..7a2e8c99 100644 --- a/nixos/default.nix +++ b/nixos/default.nix @@ -1,4 +1,4 @@ -{ lib, config, pkgs, hostname, stateVersion, username, desktop, ... }: { +{ lib, config, pkgs, hostname, stateVersion, username, desktop, graphics, ... }: { imports = [ # Services ./common/services/openssh.nix diff --git a/nixos/hosts/nixos-laptop/default.nix b/nixos/hosts/nixos-laptop/default.nix index d7567dd5..8b8e0f72 100644 --- a/nixos/hosts/nixos-laptop/default.nix +++ b/nixos/hosts/nixos-laptop/default.nix @@ -1,4 +1,4 @@ -{ config, lib, pkgs, modulesPath, desktop, username, ... }: { +{ config, lib, pkgs, modulesPath, desktop, username, graphics, ... }: { imports = [ (modulesPath + "/installer/scan/not-detected.nix") ../../common/services/powertop.nix @@ -108,4 +108,4 @@ wineWowPackages.waylandFull ]; -} \ No newline at end of file +}