updates: nixpkgs

This commit is contained in:
Yuri Tatishchev 2025-02-01 13:39:32 -08:00
parent 042a3c5a71
commit 83bfc367f6
Signed by: CaZzzer
GPG Key ID: E0EBF441EA424369
4 changed files with 18 additions and 35 deletions

12
flake.lock generated
View File

@ -23,11 +23,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1736730523, "lastModified": 1737057290,
"narHash": "sha256-mvTZ7fLKA6ggGnA8GZwcXV57EvVReRTCfi26xc08Q3g=", "narHash": "sha256-3Pe0yKlCc7EOeq1X/aJVDH0CtNL+tIBm49vpepwL1MQ=",
"owner": "nix-community", "owner": "nix-community",
"repo": "nixos-generators", "repo": "nixos-generators",
"rev": "74b8e31dd709760c86eed16b6c1d0b88d7360937", "rev": "d002ce9b6e7eb467cd1c6bb9aef9c35d191b5453",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -38,11 +38,11 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1736701207, "lastModified": 1738142207,
"narHash": "sha256-jG/+MvjVY7SlTakzZ2fJ5dC3V1PrKKrUEOEE30jrOKA=", "narHash": "sha256-NGqpVVxNAHwIicXpgaVqJEJWeyqzoQJ9oc8lnK9+WC4=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "ed4a395ea001367c1f13d34b1e01aa10290f67d6", "rev": "9d3ae807ebd2981d593cddd0080856873139aa40",
"type": "github" "type": "github"
}, },
"original": { "original": {

View File

@ -23,10 +23,16 @@
"sysrq_always_enabled=1" "sysrq_always_enabled=1"
]; ];
# https://nixos.wiki/wiki/OSX-KVM
boot.extraModprobeConfig = ''
options kvm_amd nested=1
options kvm_amd emulate_invalid_guest_state=0
options kvm ignore_msrs=1
'';
boot.loader.timeout = 3; boot.loader.timeout = 3;
boot.loader.systemd-boot.configurationLimit = 5; boot.loader.systemd-boot.configurationLimit = 5;
boot.kernelPackages = pkgs.linuxKernel.packages.linux_6_12; boot.kernelPackages = pkgs.linuxKernel.packages.linux_6_12;
boot.extraModulePackages = with config.boot.kernelPackages; [ zfs ];
# https://nixos.wiki/wiki/Accelerated_Video_Playback # https://nixos.wiki/wiki/Accelerated_Video_Playback
hardware.graphics = { hardware.graphics = {
@ -104,6 +110,7 @@
group = "cazzzer"; group = "cazzzer";
extraGroups = [ "networkmanager" "wheel" "docker" "wireshark" "geoclue" ]; extraGroups = [ "networkmanager" "wheel" "docker" "wireshark" "geoclue" ];
packages = with pkgs; [ packages = with pkgs; [
# Python
python3 python3
poetry poetry
@ -115,6 +122,9 @@
nodejs_22 nodejs_22
pnpm pnpm
bun bun
# Nix
nixd
]; ];
}; };
@ -144,7 +154,6 @@
virtualisation.docker.package = pkgs.docker_27; virtualisation.docker.package = pkgs.docker_27;
virtualisation.docker.storageDriver = "zfs"; virtualisation.docker.storageDriver = "zfs";
# https://discourse.nixos.org/t/firefox-does-not-use-kde-window-decorations-and-cursor/32132/3 # https://discourse.nixos.org/t/firefox-does-not-use-kde-window-decorations-and-cursor/32132/3
# programs.dconf.enable = true; # programs.dconf.enable = true;
# programs.firefox = { # programs.firefox = {
@ -171,31 +180,6 @@
# For JetBrains stuff # For JetBrains stuff
# https://github.com/NixOS/nixpkgs/issues/240444 # https://github.com/NixOS/nixpkgs/issues/240444
curl
expat
fontconfig
freetype
fuse
fuse3
glib
icu
libclang.lib
libdbusmenu
libsecret
libxcrypt-legacy
libxml2
nss
openssl
python3
stdenv.cc.cc
xorg.libX11
xorg.libXcursor
xorg.libXext
xorg.libXi
xorg.libXrender
xorg.libXtst
xz
zlib
]; ];
# attempt to fix flatpak firefox cjk fonts # attempt to fix flatpak firefox cjk fonts

View File

@ -22,7 +22,6 @@
boot.loader.systemd-boot.configurationLimit = 5; boot.loader.systemd-boot.configurationLimit = 5;
boot.kernelPackages = pkgs.linuxKernel.packages.linux_6_12; boot.kernelPackages = pkgs.linuxKernel.packages.linux_6_12;
boot.extraModulePackages = with config.boot.kernelPackages; [ zfs ];
environment.etc.hosts.mode = "0644"; environment.etc.hosts.mode = "0644";

View File

@ -24,7 +24,7 @@ in {
aggregated = pkgs.buildEnv { aggregated = pkgs.buildEnv {
name = "system-fonts-and-icons"; name = "system-fonts-and-icons";
paths = builtins.attrValues { paths = builtins.attrValues {
inherit (pkgs.libsForQt5) breeze-qt5; inherit (pkgs.kdePackages) breeze;
inherit inherit
(pkgs) (pkgs)
noto-fonts noto-fonts