my NixOS and nix-darwin config
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

added var

+12 -8
+12 -8
hosts/Khaos/configuration.nix
··· 2 2 # your system. Help is available in the configuration.nix(5) man page 3 3 # and in the NixOS manual (accessible by running ‘nixos-help’). 4 4 5 - { inputs, outputs, pkgs, ... }: 5 + { 6 + inputs, 7 + outputs, 8 + pkgs, 9 + ... 10 + }: 6 11 7 12 { 8 - imports = [ # Include the results of the hardware scan. 13 + imports = [ 14 + # Include the results of the hardware scan. 9 15 ./hardware-configuration.nix 10 16 ]; 11 17 ··· 87 93 88 94 ]; 89 95 90 - variables = { 96 + environment.variables = { 91 97 # for compiling openssl for nixos, should refactor into a diff file later 92 98 PKG_CONFIG_PATH = "${pkgs.openssl.dev}/lib/pkgconfig"; 93 99 }; ··· 151 157 hyprland = { 152 158 enable = true; 153 159 xwayland.enable = true; 154 - package = 155 - inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.hyprland; 160 + package = inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.hyprland; 156 161 }; 157 162 158 163 # allows normal binaries to run 159 164 nix-ld = { 160 165 enable = true; 161 - libraries = with pkgs; 162 - [ 166 + libraries = with pkgs; [ 163 167 164 - ]; 168 + ]; 165 169 }; 166 170 167 171 };