treewide: Update deprecated options for NixOS 25.05
This commit is contained in:
parent
6653fed1c2
commit
a630607350
4 changed files with 74 additions and 72 deletions
|
@ -14,7 +14,7 @@ in
|
||||||
pulse.enable = true;
|
pulse.enable = true;
|
||||||
jack.enable = true;
|
jack.enable = true;
|
||||||
};
|
};
|
||||||
hardware.pulseaudio.enable = false; # this theoretically defaults to false but something else seems to be flipping it
|
services.pulseaudio.enable = false; # this theoretically defaults to false but something else seems to be flipping it
|
||||||
environment.systemPackages = with pkgs; [ helvum ]; # patchbay
|
environment.systemPackages = with pkgs; [ helvum ]; # patchbay
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -10,7 +10,7 @@ in
|
||||||
languagePacks = [ "en-GB" ];
|
languagePacks = [ "en-GB" ];
|
||||||
|
|
||||||
profiles.default = {
|
profiles.default = {
|
||||||
extensions = with inputs.firefox-addons.packages.${pkgs.hostPlatform.system}; [
|
extensions.packages = with inputs.firefox-addons.packages.${pkgs.hostPlatform.system}; [
|
||||||
bitwarden
|
bitwarden
|
||||||
ublock-origin
|
ublock-origin
|
||||||
];
|
];
|
||||||
|
|
|
@ -7,9 +7,11 @@ in
|
||||||
{
|
{
|
||||||
programs.vscode = mkIf isGraphical {
|
programs.vscode = mkIf isGraphical {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
package = pkgs.vscodium;
|
||||||
|
mutableExtensionsDir = false;
|
||||||
|
profiles.default = {
|
||||||
enableExtensionUpdateCheck = false;
|
enableExtensionUpdateCheck = false;
|
||||||
enableUpdateCheck = false;
|
enableUpdateCheck = false;
|
||||||
package = pkgs.vscodium;
|
|
||||||
extensions = with pkgs.vscode-extensions; [
|
extensions = with pkgs.vscode-extensions; [
|
||||||
charliermarsh.ruff
|
charliermarsh.ruff
|
||||||
dbaeumer.vscode-eslint
|
dbaeumer.vscode-eslint
|
||||||
|
@ -24,7 +26,6 @@ in
|
||||||
rust-lang.rust-analyzer
|
rust-lang.rust-analyzer
|
||||||
vadimcn.vscode-lldb
|
vadimcn.vscode-lldb
|
||||||
];
|
];
|
||||||
mutableExtensionsDir = false;
|
|
||||||
userSettings = {
|
userSettings = {
|
||||||
"css.format.spaceAroundSelectorSeparator" = true;
|
"css.format.spaceAroundSelectorSeparator" = true;
|
||||||
"css.format.newlineBetweenSelectors" = false;
|
"css.format.newlineBetweenSelectors" = false;
|
||||||
|
@ -78,8 +79,9 @@ in
|
||||||
"python.createEnvironment.contentButton" = "show";
|
"python.createEnvironment.contentButton" = "show";
|
||||||
"python.defaultInterpreterPath" = "${pkgs.python3}/bin/python";
|
"python.defaultInterpreterPath" = "${pkgs.python3}/bin/python";
|
||||||
"ruff.nativeServer" = "on";
|
"ruff.nativeServer" = "on";
|
||||||
"ruff.path" = "${pkgs.ruff}/bin/ruff";
|
"ruff.path" = [ "${pkgs.ruff}/bin/ruff" ];
|
||||||
"mypy.dmypyExecutable" = "${pkgs.mypy}/bin/dmypy";
|
"mypy.dmypyExecutable" = "${pkgs.mypy}/bin/dmypy";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -31,7 +31,7 @@
|
||||||
theme = ""; # defer to powerlevel10k
|
theme = ""; # defer to powerlevel10k
|
||||||
};
|
};
|
||||||
|
|
||||||
initExtra = ''
|
initContent = ''
|
||||||
source ${pkgs.zsh-powerlevel10k}/share/zsh-powerlevel10k/powerlevel10k.zsh-theme
|
source ${pkgs.zsh-powerlevel10k}/share/zsh-powerlevel10k/powerlevel10k.zsh-theme
|
||||||
source ${./.p10k.zsh}
|
source ${./.p10k.zsh}
|
||||||
'';
|
'';
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue