diff options
| author | Devin Finlinson <devin.finlinson@pm.me> | 2023-08-31 01:35:51 +0200 |
|---|---|---|
| committer | Devin Finlinson <devin.finlinson@pm.me> | 2023-08-31 01:35:51 +0200 |
| commit | 03d3a9993b6295ede497255ba6ca45ff8c99467c (patch) | |
| tree | 5bbe0d7b5a71ae296299ad07b2c4afa266598075 | |
| parent | 7425b8e2b030787e525751a88faad3bb44481f0e (diff) | |
| -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; }; |
