diff options
author | Mark Nipper <nipsy@bitgnome.net> | 2024-10-23 02:16:40 -0700 |
---|---|---|
committer | Mark Nipper <nipsy@bitgnome.net> | 2024-10-23 02:16:40 -0700 |
commit | 50936812b83bff4419ab167af7e2403cdc04d67a (patch) | |
tree | 4a96f0d39ff022feb4542b2d551f89d9c289d627 /hosts/arrakis | |
parent | 1f9227d8c82bdd0f80715a6a0de76dabd890575e (diff) | |
download | nix-50936812b83bff4419ab167af7e2403cdc04d67a.tar nix-50936812b83bff4419ab167af7e2403cdc04d67a.tar.gz nix-50936812b83bff4419ab167af7e2403cdc04d67a.tar.bz2 nix-50936812b83bff4419ab167af7e2403cdc04d67a.tar.lz nix-50936812b83bff4419ab167af7e2403cdc04d67a.tar.xz nix-50936812b83bff4419ab167af7e2403cdc04d67a.tar.zst nix-50936812b83bff4419ab167af7e2403cdc04d67a.zip |
Finish cleanup for new flake syntax
Diffstat (limited to 'hosts/arrakis')
-rw-r--r-- | hosts/arrakis/default.nix | 13 | ||||
-rw-r--r-- | hosts/arrakis/hardware-configuration.nix | 11 |
2 files changed, 12 insertions, 12 deletions
diff --git a/hosts/arrakis/default.nix b/hosts/arrakis/default.nix index 7279a9f..0098090 100644 --- a/hosts/arrakis/default.nix +++ b/hosts/arrakis/default.nix @@ -1,4 +1,4 @@ -{ config, pkgs, ... }: { +{ config, inputs, outputs, pkgs, ... }: { boot = { initrd.kernelModules = [ "zfs" ]; kernel.sysctl = { @@ -209,6 +209,17 @@ }; }; + nixpkgs = { + config.allowUnfree = true; + hostPlatform = "x86_64-linux"; + overlays = [ + inputs.nvidia-patch.overlays.default + outputs.overlays.additions + outputs.overlays.modifications + outputs.overlays.stable-packages + ]; + }; + services.openssh.settings.X11Forwarding = true; services.xserver.videoDrivers = [ "nvidia" ]; diff --git a/hosts/arrakis/hardware-configuration.nix b/hosts/arrakis/hardware-configuration.nix index 6dc6542..5a4c958 100644 --- a/hosts/arrakis/hardware-configuration.nix +++ b/hosts/arrakis/hardware-configuration.nix @@ -88,17 +88,6 @@ { device = "/dev/disk/by-label/swap2"; } ]; - nixpkgs = { - config.allowUnfree = true; - hostPlatform = "x86_64-linux"; - overlays = [ - inputs.nvidia-patch.overlays.default - outputs.overlays.additions - outputs.overlays.modifications - outputs.overlays.stable-packages - ]; - }; - hardware = { bluetooth.enable = true; graphics = { |