27;5;13~ljasdasdjkl

This commit is contained in:
2026-01-19 01:37:58 +01:00
parent 647f1754d0
commit c198489f59
3 changed files with 12 additions and 11 deletions

View File

@@ -5,6 +5,7 @@
# https://github.com/nixos/nixpkgs
nixpkgs-test.url = "github:NixOS/nixpkgs/refs/pull/379645/merge"; # for testing
nixpkgs-edge.url = "https://nixos.org/channels/nixos-unstable/nixexprs.tar.xz"; # len("edge") == 4
# remember to update ./profiles/auto-upgrade.nix
nixpkgs-2511.url = "https://nixos.org/channels/nixos-25.11/nixexprs.tar.xz";
nixpkgs-2505.url = "https://nixos.org/channels/nixos-25.05/nixexprs.tar.xz";
nixpkgs-2411.url = "https://nixos.org/channels/nixos-24.11/nixexprs.tar.xz"; # for old docs
@@ -231,6 +232,7 @@
{ pkgs, lib, ... }:
let
# TODO: by-name
# TODO: this filterAttrs seems to force the inputs to download
pbsdspkgs = lib.filterAttrs (_: lib.isDerivation) (
pkgs.appendOverlays
[

View File

@@ -10,15 +10,6 @@
# zramSwap.enable = true;
# zramSwap.memoryPercent = 20;
# amdgpu audio fix when at 4k@60fps
boot.kernelPackages = pkgs.linuxPackages_latest;
services.displayManager.autoLogin.enable = true;
services.displayManager.autoLogin.user = "pbsds";
# tmp: https://github.com/NixOS/nixpkgs/issues/103746#issuecomment-945091229
systemd.services."getty@tty1".enable = false;
systemd.services."autovt@tty1".enable = false;
# for testing only, not for building
# boot.binfmt.addEmulatedSystemsToNixSandbox = false;
# boot.binfmt.emulatedSystems = [
@@ -29,6 +20,9 @@
# "x86_64-windows"
# ];
# amdgpu audio fix when at 4k@60fps
# boot.kernelPackages = pkgs.linuxPackages_latest;
imports = [
./hardware-configuration.nix
inputs.nixos-hardware.nixosModules.common-pc

View File

@@ -79,11 +79,16 @@ in
#"--update-input" "nixpkgs-edge" # deprecated in nix 2.22, removed in lix 2.90
# "--override-input" "nixpkgs-edge" "github:NixOS/nixpkgs/nixos-unstable"
] ++ (lib.pipe inputUrls [
# TODO: i keep forgetting to update this, perhaps use a blacklist instead?
(lib.filterAttrs (key: _: builtins.elem key [
"nixpkgs-edge"
"nixpkgs-2411"
"nixpkgs-2511"
"nixpkgs-2505"
# "nixpkgs-2411"
"home-manager-edge"
"home-manager-2411"
"home-manager-2511"
"home-manager-2505"
# "home-manager-2411"
"nix-index-database"
"nixos-hardware"
]))