diff options
author | Zhongheng Liu <z.liu@outlook.com.gr> | 2024-11-24 13:08:08 +0200 |
---|---|---|
committer | Zhongheng Liu <z.liu@outlook.com.gr> | 2024-11-24 13:08:08 +0200 |
commit | 6eb3bb0b70c748203867c1ea6d13fbce769e7269 (patch) | |
tree | 0a563ff466103c4edfcebe3cae106c5ada413013 /nixos/configuration.nix | |
parent | 06fa623eefa2c2ee8f015ccfbc81445513bba55c (diff) | |
download | nixos-configuration-6eb3bb0b70c748203867c1ea6d13fbce769e7269.tar.gz nixos-configuration-6eb3bb0b70c748203867c1ea6d13fbce769e7269.tar.bz2 nixos-configuration-6eb3bb0b70c748203867c1ea6d13fbce769e7269.zip |
feat: add some new flake inputs for other nixpkgs
lix: remove lix module
ghc: fix nixvim installGhc trace
libreoffice: switch to binary distribution
Diffstat (limited to 'nixos/configuration.nix')
-rw-r--r-- | nixos/configuration.nix | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/nixos/configuration.nix b/nixos/configuration.nix index 91ceba0..89b1142 100644 --- a/nixos/configuration.nix +++ b/nixos/configuration.nix @@ -21,6 +21,7 @@ environment.sessionVariables = { GDK_SCALE = config.displayScale; FLAKE = config.myConfigLocation; + MANPAGER = "$EDITOR +Man!"; # GTK_IM_MODULE = lib.mkForce ""; }; services.pcscd.enable = true; @@ -151,7 +152,7 @@ in { settings = { experimental-features = "nix-command flakes"; - flake-registry = ""; + # flake-registry = ""; nix-path = config.nix.nixPath; }; extraOptions = '' @@ -161,9 +162,13 @@ registry = lib.mapAttrs (_: flake: {inherit flake;}) flakeInputs; nixPath = lib.mapAttrsToList (n: _: "${n}=flake:${n}") flakeInputs; }; + + systemd.network.wait-online.enable = false; networking = { hostName = "${config.myHostName}"; networkmanager.enable = true; + useNetworkd = lib.mkDefault true; + useDHCP = lib.mkDefault true; }; users.users = { "${config.myUserName}" = { |