blob: 1ba73c7a1c9d80814f7e4a09ec0c60a46e065fc8 (
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
|
{ pkgs, lib, ... }:
let
rootUUID = "ata-WDC_WD7500BPVT-22HXZT3_WD-WX71A9124879";
in {
boot = {
initrd.availableKernelModules = [ "ehci_pci" "ahci" ];
kernelPackages = pkgs.linuxPackages_latest;
loader.grub.enable = true;
loader.grub.version = 2;
loader.grub.device = "/dev/disk/by-id/${rootUUID}";
};
fileSystems."/" = {
label = "root";
fsType = "btrfs";
options = [ "space_cache" "relatime" ];
};
hardware = {
enableAllFirmware = true;
opengl.s3tcSupport = true;
pulseaudio.enable = true;
};
networking = {
firewall.enable = false;
hostName = "notsure";
networkmanager.enable = true;
};
nix.maxJobs = 2;
nixpkgs.config = {
allowUnfree = true;
chromium.enablePepperFlash = true;
pulseaudio = true;
};
environment.systemPackages = with pkgs; [
chromium
file
gajim
gimp
git
htop
kde5.gwenview
libreoffice
miro
mpv
opentyrian
pavucontrol
pulseaudioFull
samba
skype
thunderbird
vuizvui.tomahawk
wine
xpdf
youtubeDL
];
i18n = {
consoleFont = "lat9w-16";
consoleKeyMap = "de";
defaultLocale = "en_US.UTF-8";
};
services = {
deluge.enable = true;
printing.enable = true;
printing.drivers = [ pkgs.gutenprint pkgs.hplip ];
tlp.enable = true;
xserver = {
enable = true;
layout = "de";
xkbOptions = "eurosign:e";
displayManager.kdm.enable = true;
desktopManager.kde5.enable = true;
};
};
swapDevices = lib.singleton { label = "swap"; };
time.timeZone = "Europe/Berlin";
vuizvui.user.aszlig.programs.vim.enable = true;
vuizvui.enableGlobalNixpkgsConfig = true;
}
|