2023-07-09-11-13-29

This commit is contained in:
Alexander Szczepanski
2023-07-09 11:13:29 +02:00
parent 8ea95b95d6
commit 7415fb4b1e
3 changed files with 23 additions and 12 deletions

View File

@ -71,6 +71,13 @@ in
tealdeer tealdeer
unrar unrar
yt-dlp yt-dlp
gnumake
pkg-config
libftdi
libusb1
gcc
coreboot-toolchain.arm
]; ];
sessionPath = [ "$HOME/.npm-packages" "$HOME/.bin" ]; sessionPath = [ "$HOME/.npm-packages" "$HOME/.bin" ];
file = { file = {
@ -96,7 +103,9 @@ in
matchBlocks."szczepan.ski" = { hostname = "207.180.220.97"; }; matchBlocks."szczepan.ski" = { hostname = "207.180.220.97"; };
matchBlocks."mini" = { hostname = "10.100.0.3"; }; matchBlocks."mini" = { hostname = "10.100.0.3"; };
matchBlocks."thinkpad" = { hostname = "10.100.0.8"; }; matchBlocks."thinkpad" = { hostname = "10.100.0.8"; };
matchBlocks."pi" = { hostname = "192.168.1.143"; }; matchBlocks."pi" = { hostname = "10.100.0.6"; };
matchBlocks."vps2" = { hostname = "10.100.0.50"; };
matchBlocks."vps3" = { hostname = "10.100.0.100"; };
matchBlocks."router" = { matchBlocks."router" = {
hostname = "192.168.1.1"; hostname = "192.168.1.1";
user = "root"; user = "root";

View File

@ -38,7 +38,7 @@ in
# system = "x86_64-linux"; # system = "x86_64-linux";
# }; # };
nix.settings.system-features = [ "nixos-test" "benchmark" "big-parallel" "kvm" "gccarch-alderlake" ]; nix.settings.system-features = [ "nixos-test" "benchmark" "big-parallel" "kvm" "gccarch-alderlake" ];
# programs.nix-ld.enable = true; # programs.nix-ld.enable = true;
networking = { networking = {
hostName = "framework"; hostName = "framework";
@ -63,6 +63,7 @@ in
hardware = { hardware = {
enableAllFirmware = true; enableAllFirmware = true;
cpu.intel.updateMicrocode = true; cpu.intel.updateMicrocode = true;
opengl = { opengl = {
enable = true; enable = true;
driSupport32Bit = true; driSupport32Bit = true;
@ -73,19 +74,20 @@ in
libvdpau-va-gl libvdpau-va-gl
]; ];
}; };
pulseaudio.enable = false;
}; };
# Enable sound. # Bring in some audio
sound.enable = true; security.rtkit.enable = true;
hardware.pulseaudio = { # rtkit is optional but recommended
enable = true;
support32Bit = true;
};
services = { services = {
power-profiles-daemon.enable = true; power-profiles-daemon.enable = true;
auto-cpufreq.enable = false; pipewire = {
thermald.enable = false; enable = true;
alsa.enable = true;
alsa.support32Bit = true;
pulse.enable = true;
};
}; };
powerManagement = { powerManagement = {

View File

@ -89,5 +89,5 @@ in {
}; };
system.stateVersion = "22.05"; system.stateVersion = "23.05";
} }