blob: 7ea7bd773731ee5244a4bafec97b70485daca231 (
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
|
{ config, pkgs, lib, ... }:
{
boot.initrd.availableKernelModules = [ "usbhid" ];
boot.kernelModules = [ "kvm-intel" ];
boot.loader.gummiboot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
environment.systemPackages = with pkgs; [
cdparanoia chromium figlet gajim gimp htop inkscape libreoffice mosh mpv
pciutils skype vlc vuizvui.tomahawk wget youtubeDL
];
fileSystems."/boot".device = "/dev/disk/by-uuid/A0D5-269D";
fileSystems."/boot".fsType = "vfat";
fileSystems."/".label = "tyree-root";
fileSystems."/".fsType = "btrfs";
fileSystems."/".options = [
"compress=lzo"
"discard"
"noatime"
"space_cache"
"ssd"
];
swapDevices = lib.singleton {
label = "tyree-swap";
};
hardware.cpu.intel.updateMicrocode = true;
hardware.pulseaudio.enable = true;
i18n.consoleKeyMap = "de";
i18n.defaultLocale = "en_US.UTF-8";
networking.hostName = "tyree";
networking.firewall.enable = false;
networking.wireless.enable = false;
networking.networkmanager.enable = true;
networking.useNetworkd = true;
nix.maxJobs = 4;
nix.useChroot = true;
nix.readOnlyStore = true;
nix.buildCores = 0;
nix.extraOptions = ''
auto-optimise-store = true
'';
nixpkgs.config = {
allowUnfree = true;
pulseaudio = true;
chromium.enablePepperFlash = true;
};
services.openssh.enable = true;
services.tlp.enable = true;
services.xserver.enable = true;
services.xserver.layout = "de";
services.xserver.xkbOptions = "eurosign:e";
services.xserver.displayManager.auto.enable = true;
services.xserver.displayManager.auto.user = "bla";
services.xserver.desktopManager.kde5.enable = true;
services.xserver.synaptics.enable = true;
services.xserver.wacom.enable = true;
time.timeZone = "Europe/Berlin";
users.users.bla = {
isNormalUser = true;
uid = 1000;
extraGroups = [ "video" "wheel" ];
};
vuizvui.hardware.t100ha.enable = true;
vuizvui.user.aszlig.programs.vim.enable = true;
}
|