2023-07-09-11-13-29
This commit is contained in:
@ -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";
|
||||||
|
@ -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 = {
|
||||||
|
@ -89,5 +89,5 @@ in {
|
|||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
system.stateVersion = "22.05";
|
system.stateVersion = "23.05";
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user