feat: add some new flake inputs for other nixpkgs

lix: remove lix module
ghc: fix nixvim installGhc trace
libreoffice: switch to binary distribution
This commit is contained in:
Zhongheng Liu 2024-11-24 13:08:08 +02:00
commit 6eb3bb0b70
Signed by: steven
GPG key ID: 805A28B071DAD84B
5 changed files with 45 additions and 30 deletions

View file

@ -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}" = {