add reflac and misc changes
This commit is contained in:
@@ -55,23 +55,22 @@
|
||||
systemd-boot.enable = true;
|
||||
efi.canTouchEfiVariables = true;
|
||||
|
||||
# 1 sec timeout
|
||||
# 1s timeout
|
||||
timeout = 1;
|
||||
};
|
||||
|
||||
initrd = {
|
||||
compressor = "zstd";
|
||||
compressorArgs = [ "-19" ];
|
||||
};
|
||||
|
||||
kernelModules = [
|
||||
# kernel module for case fan control
|
||||
"nct6775"
|
||||
];
|
||||
# kernelModules = [
|
||||
# # kernel module for case fan control
|
||||
# "nct6775"
|
||||
# ];
|
||||
};
|
||||
|
||||
environment.etc = {
|
||||
"issue".text = "muffin server :3\n";
|
||||
"issue".text = "";
|
||||
};
|
||||
|
||||
# Set your time zone.
|
||||
@@ -86,11 +85,6 @@
|
||||
};
|
||||
};
|
||||
|
||||
#Intel GPU stuff
|
||||
nixpkgs.config.packageOverrides = pkgs: {
|
||||
vaapiIntel = pkgs.vaapiIntel.override { enableHybridCodec = true; };
|
||||
};
|
||||
|
||||
hardware.graphics = {
|
||||
enable = true;
|
||||
extraPackages = with pkgs; [
|
||||
@@ -100,8 +94,6 @@
|
||||
];
|
||||
};
|
||||
|
||||
hardware.intelgpu.driver = "xe";
|
||||
|
||||
#fwupd for updating firmware
|
||||
services.fwupd = {
|
||||
enable = true;
|
||||
@@ -146,6 +138,16 @@
|
||||
${pkgs.smartmontools}/bin/smartctl -a "$i" | ${pkgs.gnugrep}/bin/grep "SMART overall-health self-assessment test result:" | ${pkgs.coreutils}/bin/cut -d' ' -f6
|
||||
done
|
||||
'')
|
||||
|
||||
flac
|
||||
(pkgs.writeScriptBin "reflac" (
|
||||
builtins.readFile (
|
||||
pkgs.fetchurl {
|
||||
url = "https://raw.githubusercontent.com/chungy/reflac/refs/heads/master/reflac";
|
||||
sha256 = "61c6cc8be3d276c6714e68b55e5de0e6491f50bbf195233073dbce14a1e278a7";
|
||||
}
|
||||
)
|
||||
))
|
||||
];
|
||||
|
||||
services.zfs = {
|
||||
|
||||
Reference in New Issue
Block a user