blob: ea592bcb319868c6e086cf6733ec9a5e3bcb3d59 (
plain) (
blame)
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
|
{ config, pkgs, unfreePkgs, unfreeAndNonDistributablePkgs, lib, ... }:
let
mainDisk = "ata-WDC_WD5000LPVX-22V0TT0_WD-WXG1E2559AYH";
rootUUID = "dbbd5a35-3ac0-4d5a-837d-914457de14a4";
in {
boot = {
initrd.availableKernelModules = [
"xhci_pci" "ehci_pci" "ahci" "usb_storage" "sd_mod" "sr_mod"
"rtsx_pci_sdmmc"
];
kernelModules = [ "kvm-intel" "wl" ];
kernelPackages = pkgs.linuxPackages_latest;
extraModulePackages = [ config.boot.kernelPackages.broadcom_sta ];
loader.systemd-boot.enable = true;
loader.efi.canTouchEfiVariables = true;
};
fileSystems."/" = {
device = "/dev/disk/by-uuid/${rootUUID}";
fsType = "btrfs";
options = [ "compress=zlib" "space_cache" "noatime" ];
};
fileSystems."/boot" = {
device = "/dev/disk/by-uuid/534F-980B";
fsType = "vfat";
};
hardware = {
cpu.intel.updateMicrocode = true;
enableAllFirmware = true;
opengl.s3tcSupport = true;
opengl.driSupport32Bit = true;
pulseaudio.enable = true;
};
networking = {
firewall.enable = false;
hostName = "brawndo";
networkmanager.enable = true;
};
nix = {
maxJobs = 4;
useSandbox = true;
readOnlyStore = true;
buildCores = 0;
};
nixpkgs.config = {
allowUnfree = true; # XXX: More granularity!
chromium.enablePepperFlash = true;
pulseaudio = true;
};
environment.systemPackages = with pkgs; [
vuizvui.aszlig.axbo
chromium
file
vuizvui.aszlig.gajim
gimp
git
gpodder
htop
kdeApplications.gwenview
kdeApplications.okular
libreoffice
mpv
opentyrian
pavucontrol
pulseaudioFull
samba
unfreePkgs.steam
unfreeAndNonDistributablePkgs.skype
thunderbird
wine
xpdf
youtubeDL
];
i18n = {
consoleFont = "lat9w-16";
consoleKeyMap = "de";
defaultLocale = "en_US.UTF-8";
};
services = {
deluge.enable = true;
printing.drivers = [ pkgs.cups-bjnp ];
tlp.enable = true;
xserver = {
enable = true;
layout = "de";
xkbOptions = "eurosign:e";
synaptics.enable = true;
synaptics.twoFingerScroll = true;
displayManager.sddm.enable = true;
desktopManager.plasma5.enable = true;
};
};
swapDevices = lib.singleton { label = "swap"; };
time.timeZone = "Europe/Berlin";
vuizvui.user.aszlig.profiles.managed.enable = true;
vuizvui.user.aszlig.profiles.managed.mainUser = "dwenola";
vuizvui.user.aszlig.programs.vim.enable = true;
vuizvui.enableGlobalNixpkgsConfig = true;
}
|