diff options
| -rw-r--r-- | flake.nix | 27 | ||||
| -rw-r--r-- | machines/zenbook/configuration.nix | 2 |
2 files changed, 15 insertions, 14 deletions
@@ -13,23 +13,24 @@ # hyprland.url = "github:hyprwm/Hyprland"; }; - # outputs = inputs@{ self, nixpkgs, nixpkgs-unstable, home-manager, hyprland, ... }: { - outputs = inputs@{ self, nixpkgs, nixpkgs-unstable, home-manager, ... }: let - system = "x86_64-linux"; - pkgs = import nixpkgs { - inherit system; - config.allowUnfree = true; - }; - pkgsUnstable = import nixpkgs-unstable { - inherit system; - config.allowUnfree = true; - }; + outputs = inputs@{ self, nixpkgs, nixpkgs-unstable, home-manager, hyprland, ... }: { + outputs = inputs@{ self, nixpkgs, nixpkgs-unstable, home-manager, ... }: { + # outputs = inputs@{ self, nixpkgs, nixpkgs-unstable, home-manager, ... }: let + # system = "x86_64-linux"; + # pkgs = import nixpkgs { + # inherit system; + # config.allowUnfree = true; + # }; + # pkgsUnstable = import nixpkgs-unstable { + # inherit system; + # config.allowUnfree = true; + # }; - in { + # in { nixosConfigurations = { nixos-zenbook = nixpkgs.lib.nixosSystem { - inherit system; + # inherit system; modules = [ ./machines/zenbook/configuration.nix diff --git a/machines/zenbook/configuration.nix b/machines/zenbook/configuration.nix index 7535ca8..4148d7b 100644 --- a/machines/zenbook/configuration.nix +++ b/machines/zenbook/configuration.nix @@ -13,7 +13,7 @@ nixpkgs = { # texlive.combined.scheme-medium; - # hostPlatform = "x84_64-linux"; + system = "x84_64-linux"; config.allowUnfree = true; }; |
