transition to nixos stable

This commit is contained in:
2026-10-17 06:50:58 +02:00
parent 3062ef1608
commit 7c00c133ab
6 changed files with 101 additions and 106 deletions
@@ -15,6 +15,9 @@
];
# Use the default kernel maintained by the stable nixpkgs release.
boot.kernelPackages = pkgs.linuxPackages;
# Bootloader.
# boot.loader.systemd-boot.enable = true; # managed by lanzaboote
boot.loader.efi.canTouchEfiVariables = true;
@@ -266,7 +269,7 @@
services.mullvad-vpn = {
enable = true;
gui.enable = true;
package = pkgs.mullvad-vpn;
};
fonts = {
@@ -29,6 +29,11 @@ let
# inherit (lib.my-namespace) systemPackages;
inherit pkgs;
installedPackages = lib.my-namespace.mkPackages pkgs;
# Explicit application exceptions; all other packages use stable pkgs.
unstablePkgs = import inputs.nixpkgs-unstable {
system = pkgs.stdenv.hostPlatform.system;
config.allowUnfree = true;
};
in
{
# inherit system;
@@ -87,7 +92,7 @@ in
spotify
appimage-run
prismlauncher #replaces broken minecraft package
trilium-desktop
unstablePkgs.trilium-desktop
terraform
virt-manager
nil
@@ -170,7 +175,7 @@ in
my-namespace.cs-demo-manager
vscode-modernized
zed-editor
jetbrains-toolbox
unstablePkgs.jetbrains-toolbox
(pkgs.writeShellScriptBin "switch-to-desktop" ''
#!/bin/sh
@@ -14,11 +14,7 @@
./acer-monitor-edid.nix
./samsung-monitor-edid.nix
];
# boot.kernelPackages = pkgs.linuxPackages_latest;
boot.kernelPackages = pkgs.cachyosKernels.linuxPackages-cachyos-latest;
hardware.enableRedistributableFirmware = true;
# boot.kernelPackages = pkgs.linuxKernel.packages.linux_xanmod_latest;
# boot.kernelPackages = pkgs.linuxPackages;
boot.loader.efi.canTouchEfiVariables = true;
boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "nvme" "usbhid" "usb_storage" "sd_mod" ];
boot.kernelModules = [ "kvm-amd" "r8125" "4vl2loopback" ];