blob: 6a681edf0450ad3f3d48e95b1ef5d6e2a0eeb4c8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
{ config, lib, pkgs, ... }: {
imports = [
./hardware-configuration.nix
./powertop-auto-tune.nix
# Uncomment this module and reboot to enable bios flashing
#./bios-flashing.nix
];
# Use grub
bootloader = {
loader = "grub";
mode = "bios";
grub.biosDevice = "/dev/sda";
};
# Use bootloader
boot.kernelPackages = pkgs.linuxPackages-libre;
# Enable network drives
nas.enable = true;
# i915 Gpu requires intel driver
services.xserver.videoDrivers = [ "intel" ];
# Tamzen font in st
nixpkgs.overlays = [
(final: prev: {
st = prev.st.overrideAttrs (old: {
buildInputs = old.buildInputs or [] ++ [ pkgs.makeWrapper ];
postInstall = old.postInstall or "" + ''
wrapProgram $out/bin/st \
--add-flags '-fTamzen:pixelsize=14'
'';
});
})
];
system.stateVersion = "24.11";
}
|