os changes

This commit is contained in:
2025-01-26 10:19:48 +01:00
parent 9a529d3bbe
commit 2ae3539681
4 changed files with 19 additions and 4 deletions

View File

@@ -12,6 +12,7 @@
boot.initrd.availableKernelModules = [ "xhci_pci" "thunderbolt" "nvme" "usb_storage" "sd_mod" ];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-intel" ];
boot.kernelParams = [ "modprobe.blacklist=dvb_usb_rtl28xxu" ];
boot.extraModulePackages = [ ];
fileSystems."/" =
@@ -43,4 +44,5 @@
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
hardware.bluetooth.enable = true;
hardware.ledger.enable = true;
hardware.rtl-sdr.enable = true;
}

View File

@@ -1,4 +1,10 @@
{ pkgs, ... }: {
{ config, pkgs, ... }:
let
unstable = import
(builtins.fetchTarball https://github.com/nixos/nixpkgs/tarball/nixpkgs-unstable)
# reuse the current configuration
{ config = config.nixpkgs.config; };
in {
nixpkgs.config = {
allowUnfree = true;
@@ -19,6 +25,7 @@
enableSSHSupport = true;
};
environment.systemPackages = with pkgs; [
fd
fzf
@@ -40,7 +47,12 @@
docker-buildx
appimage-run
gimp
unstable.libation
unstable.ledger-live-desktop
unstable.android-tools
unstable.android-udev-rules
];
services.logind.extraConfig = ''
RuntimeDirectorySize=20G
'';

View File

@@ -4,7 +4,7 @@
isNormalUser = true;
description = "master";
initialPassword = "master";
extraGroups = [ "networkmanager" "wheel" "docker" ];
extraGroups = [ "networkmanager" "wheel" "docker" "plugdev" ];
};
home-manager.users.master = {
@@ -37,9 +37,10 @@
hunspell
hunspellDicts.de_CH
imagemagick
ledger-live-desktop
solana-cli
sqlite
rtl-sdr
brave
];
programs = {