Fix deprecations and breaking changes

This commit is contained in:
Valentin Brandl 2025-05-23 02:09:30 +02:00
parent d2985d8499
commit 381a6f58ae
Signed by: vbrandl
GPG Key ID: 7FB009175885FC76
4 changed files with 11 additions and 17 deletions

View File

@ -1,6 +1,6 @@
{ ... }: {
programs.lsd = {
enable = true;
enableAliases = true;
enableZshIntegration = true;
};
}

View File

@ -35,7 +35,7 @@
GOROOT = "$HOME/go";
PATH = "$PATH:$HOME/.cargo/bin:$GOROOT/bin:$GOPATH/bin";
};
initExtra = ''
initContent = ''
[ -f $HOME/.nix-profile/etc/profile.d/nix.sh ] && . $HOME/.nix-profile/etc/profile.d/nix.sh
source ${pkgs.antigen}/share/antigen/antigen.zsh
# TODO: remove on NixOS

View File

@ -31,12 +31,6 @@ inputs:
hardware = {
# TODO: remove
enableAllFirmware = true;
#pulseaudio = {
# TODO: pipewire
#enable = true;
# stop mumble from muting other processes
#extraConfig = "unload-module module-role-cork";
#};
graphics = {
enable = true;
# driSupport = true;
@ -143,7 +137,6 @@ inputs:
gvfs
# yubikey packages
yubikey-manager-qt
yubikey-personalization-gui
yubioath-flutter
];
@ -170,10 +163,10 @@ inputs:
virtualisation.libvirtd.enable = false;
programs.virt-manager.enable = false;
#dconf.settings = {
#"org/virt-manager/virt-manager/connections" = {
#autoconnect = ["qemu:///system"];
#uris = ["qemu:///system"];
#};
#"org/virt-manager/virt-manager/connections" = {
#autoconnect = ["qemu:///system"];
#uris = ["qemu:///system"];
#};
#};
@ -194,7 +187,7 @@ inputs:
environment.sessionVariables = {
XKB_DEFAULT_OPTIONS = "caps:escape";
XKB_DEFAULT_LAYOUT = "eu";
XKB_DEFAULT_LAYOUT = "eu";
};
# required for i3
@ -204,13 +197,14 @@ inputs:
enableDefaultPackages = true;
packages = with pkgs; [
font-awesome
nerdfonts
noto-fonts
noto-fonts-cjk-sans
noto-fonts-emoji
powerline-fonts
material-icons
];
]
# TODO: only install selected/needed fonts
++ builtins.filter lib.attrsets.isDerivation (builtins.attrValues pkgs.nerd-fonts);
fontconfig = {
defaultFonts = {
monospace = [ "JetBrainsMono Nerd Font" "Noto Color Emoji" "FontAwesome" ];

View File

@ -24,7 +24,7 @@ inputs:
# needed for steam
hardware.graphics.enable32Bit = true;
hardware.pulseaudio.support32Bit = true;
services.pulseaudio.support32Bit = true;
programs.steam.enable = true;
}