chore: upgrade to NixOS 24.05
This commit is contained in:
parent
bf90bef6c0
commit
a377290326
|
@ -3,6 +3,6 @@
|
|||
{
|
||||
# Enable the X11 windowing system.
|
||||
services.xserver.enable = true;
|
||||
services.xserver.layout = "gb";
|
||||
services.xserver.xkbOptions = "eurosign:e";
|
||||
services.xserver.xkb.layout = "gb";
|
||||
services.xserver.xkb.options = "eurosign:e";
|
||||
}
|
||||
|
|
16
flake.lock
16
flake.lock
|
@ -323,16 +323,16 @@
|
|||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1716711146,
|
||||
"narHash": "sha256-CZ8vs7lX/qDqzJo/Vp/59q6yFxo99we2TSecUYJpeOc=",
|
||||
"lastModified": 1716716433,
|
||||
"narHash": "sha256-QNR7kydi+pnuSfCeVHjDJOId3YlRFYYQCRQ2rv2tuIU=",
|
||||
"owner": "nix-community",
|
||||
"repo": "home-manager",
|
||||
"rev": "147c5eb5b39dee01c44feb6fca4632183e23e03b",
|
||||
"rev": "142d4365b53e3c0f967c1757fed4a26f9e1747f5",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "nix-community",
|
||||
"ref": "release-23.11",
|
||||
"ref": "release-24.05",
|
||||
"repo": "home-manager",
|
||||
"type": "github"
|
||||
}
|
||||
|
@ -392,16 +392,16 @@
|
|||
},
|
||||
"nixpkgs": {
|
||||
"locked": {
|
||||
"lastModified": 1716361217,
|
||||
"narHash": "sha256-mzZDr00WUiUXVm1ujBVv6A0qRd8okaITyUp4ezYRgc4=",
|
||||
"lastModified": 1716542732,
|
||||
"narHash": "sha256-0Y9fRr0CUqWT4KgBITmaGwlnNIGMYuydu2L8iLTfHU4=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "46397778ef1f73414b03ed553a3368f0e7e33c2f",
|
||||
"rev": "d12251ef6e8e6a46e05689eeccd595bdbd3c9e60",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "NixOS",
|
||||
"ref": "nixos-23.11",
|
||||
"ref": "nixos-24.05",
|
||||
"repo": "nixpkgs",
|
||||
"type": "github"
|
||||
}
|
||||
|
|
|
@ -15,7 +15,7 @@ rec {
|
|||
};
|
||||
|
||||
inputs = {
|
||||
nixpkgs.url = "github:NixOS/nixpkgs/nixos-23.11";
|
||||
nixpkgs.url = "github:NixOS/nixpkgs/nixos-24.05";
|
||||
|
||||
nixpkgs-unstable.url = "github:NixOS/nixpkgs/nixos-unstable";
|
||||
|
||||
|
@ -29,7 +29,7 @@ rec {
|
|||
flake-utils.url = "github:numtide/flake-utils";
|
||||
|
||||
home-manager = {
|
||||
url = "github:nix-community/home-manager/release-23.11";
|
||||
url = "github:nix-community/home-manager/release-24.05";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
|
||||
|
@ -116,12 +116,13 @@ rec {
|
|||
src = ./.;
|
||||
hooks = {
|
||||
nixfmt.enable = true;
|
||||
nixfmt.package = pkgs.nixfmt-classic;
|
||||
shellcheck.enable = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
formatter = pkgs.nixfmt;
|
||||
formatter = pkgs.nixfmt-classic;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
@ -26,7 +26,7 @@ in {
|
|||
meta = with lib; {
|
||||
homepage = "https://www.zotero.org";
|
||||
description = "Save references to Zotero from your web browser";
|
||||
license = licenses.agpl3;
|
||||
license = licenses.agpl3Plus;
|
||||
platforms = platforms.all;
|
||||
};
|
||||
};
|
||||
|
|
|
@ -29,7 +29,7 @@
|
|||
nodePackages.eslint
|
||||
nodePackages.eslint_d
|
||||
statix
|
||||
nixfmt
|
||||
nixfmt-rfc-style
|
||||
buf
|
||||
nodePackages.stylelint
|
||||
nodePackages.prettier
|
||||
|
|
|
@ -13,7 +13,6 @@
|
|||
sshKeys = [ "3C48489F3B0FBB44E72180D4B1D7541C201C9987" ];
|
||||
defaultCacheTtl = 600;
|
||||
defaultCacheTtlSsh = 600;
|
||||
pinentryFlavor = "curses";
|
||||
};
|
||||
programs.zsh.initExtra = ''
|
||||
export SSH_AUTH_SOCK=$XDG_RUNTIME_DIR/gnupg/S.gpg-agent.ssh
|
||||
|
|
|
@ -23,7 +23,6 @@ with pkgs; {
|
|||
sshKeys = [ "8A6213DCDAF86BD3A63549FCFDF71B2C92DAE02C" ];
|
||||
defaultCacheTtl = 600;
|
||||
defaultCacheTtlSsh = 600;
|
||||
pinentryFlavor = "gnome3";
|
||||
};
|
||||
programs.zsh.initExtra = ''
|
||||
export SSH_AUTH_SOCK=$XDG_RUNTIME_DIR/gnupg/S.gpg-agent.ssh
|
||||
|
@ -52,7 +51,7 @@ with pkgs; {
|
|||
|
||||
# dev & admin
|
||||
pods
|
||||
gaphor
|
||||
# gaphor
|
||||
|
||||
# security & privacy
|
||||
authenticator
|
||||
|
|
|
@ -29,7 +29,6 @@
|
|||
];
|
||||
defaultCacheTtl = 600;
|
||||
defaultCacheTtlSsh = 600;
|
||||
pinentryFlavor = "gnome3";
|
||||
};
|
||||
programs.zsh.initExtra = ''
|
||||
export SSH_AUTH_SOCK=$XDG_RUNTIME_DIR/gnupg/S.gpg-agent.ssh
|
||||
|
@ -63,7 +62,7 @@
|
|||
|
||||
# dev & admin
|
||||
pods
|
||||
gaphor
|
||||
# gaphor
|
||||
|
||||
# game dev
|
||||
ldtk
|
||||
|
@ -87,7 +86,7 @@
|
|||
# yubioath-flutter # TODO conflicts with fluffychat
|
||||
magic-wormhole-rs
|
||||
warp
|
||||
onionshare-gui
|
||||
# onionshare-gui
|
||||
transmission_4-gtk
|
||||
qbittorrent
|
||||
fragments
|
||||
|
|
|
@ -4,7 +4,9 @@ let shellAliases = import ./aliases.nix;
|
|||
in {
|
||||
programs.zsh = {
|
||||
enable = true;
|
||||
enableAutosuggestions = true;
|
||||
# TODO is being renamed again in later 24.05 release
|
||||
autosuggestion.enable = true;
|
||||
# autosuggestions.enable = true;
|
||||
autocd = true;
|
||||
defaultKeymap = "viins";
|
||||
history.extended = true;
|
||||
|
|
|
@ -18,6 +18,10 @@ let
|
|||
${ipCfg.extraConfig}
|
||||
'';
|
||||
in {
|
||||
# NixOS 24.05 introduced an official module, but it works somewhat differently.
|
||||
# For now I'll continue using my own module.
|
||||
disabledModules = [ "services/networking/inadyn.nix" ];
|
||||
|
||||
options = {
|
||||
services.inadyn = {
|
||||
enable = mkEnableOption (lib.mdDoc "inadyn DDNS client");
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
services.resolved = {
|
||||
enable = true;
|
||||
# don't use fallback resolvers
|
||||
fallbackDns = config.networking.nameservers;
|
||||
fallbackDns = [ ];
|
||||
};
|
||||
|
||||
services.nextdns = {
|
||||
|
|
|
@ -3,5 +3,5 @@
|
|||
{
|
||||
services.printing.enable = true;
|
||||
services.avahi.enable = true;
|
||||
services.avahi.nssmdns = true;
|
||||
services.avahi.nssmdns4 = true;
|
||||
}
|
||||
|
|
|
@ -11,12 +11,12 @@
|
|||
jack.enable = true;
|
||||
};
|
||||
|
||||
environment.etc."wireplumber/bluetooth.lua.d/51-bluez-config.lua".text = ''
|
||||
bluez_monitor.properties = {
|
||||
["bluez5.enable-sbc-xq"] = true,
|
||||
["bluez5.enable-msbc"] = true,
|
||||
["bluez5.enable-hw-volume"] = true,
|
||||
["bluez5.headset-roles"] = "[ hsp_hs hsp_ag hfp_hf hfp_ag ]"
|
||||
}
|
||||
'';
|
||||
services.pipewire.wireplumber.extraConfig = {
|
||||
"monitor.bluez.properties" = {
|
||||
"bluez5.enable-sbc-xq" = true;
|
||||
"bluez5.enable-msbc" = true;
|
||||
"bluez5.enable-hw-volume" = true;
|
||||
"bluez5.roles" = [ "hsp_hs" "hsp_ag" "hfp_hf" "hfp_ag" ];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue