stockholm/tv/1systems/querel/config.nix

88 lines
1.9 KiB
Nix
Raw Normal View History

2022-12-09 00:31:56 +00:00
with import ./lib;
2017-11-02 20:12:27 +00:00
{ config, pkgs, ... }: {
imports = [
2018-10-05 20:14:36 +00:00
<stockholm/tv>
2017-11-02 20:12:27 +00:00
<stockholm/tv/2configs/retiolum.nix>
2018-10-05 20:14:36 +00:00
<stockholm/tv/2configs/xp-332.nix>
2017-11-02 20:12:27 +00:00
];
krebs.build.host = config.krebs.hosts.querel;
krebs.build.user = mkForce config.krebs.users.itak;
boot.initrd.availableKernelModules = [ "ahci" ];
boot.initrd.luks.devices.querel-luks1 = {
allowDiscards = true;
device = "/dev/sda2";
2017-11-02 20:12:27 +00:00
};
boot.kernelModules = [ "kvm-intel" ];
boot.loader = {
efi.canTouchEfiVariables = true;
systemd-boot.enable = true;
};
2022-05-31 18:12:06 +00:00
environment.systemPackages = [
pkgs.firefox
pkgs.gimp
pkgs.kate
pkgs.libreoffice
2022-08-02 11:43:30 +00:00
(pkgs.pidgin.override {
plugins = [ pkgs.pidgin-otr ];
2017-11-02 20:12:27 +00:00
})
2022-05-31 18:12:06 +00:00
pkgs.sxiv
pkgs.texlive.combined.scheme-full
pkgs.vim
pkgs.xsane
pkgs.zathura
2017-11-02 20:12:27 +00:00
];
fileSystems = {
"/" = {
device = "/dev/mapper/querel-root";
fsType = "ext4";
options = [ "defaults" "discard" ];
};
"/home" = {
device = "/dev/mapper/querel-home";
fsType = "ext4";
options = [ "defaults" "discard" ];
};
"/boot" = {
device = "/dev/sda1";
};
};
hardware.enableRedistributableFirmware = true;
hardware.pulseaudio.enable = true;
i18n.defaultLocale = "de_DE.UTF-8";
networking.networkmanager.enable = true;
programs.ssh.startAgent = false;
services.xserver.enable = true;
services.xserver.layout = "de";
services.xserver.xkbOptions = "eurosign:e";
2019-10-16 07:21:17 +00:00
services.xserver.libinput.enable = false;
2017-11-02 20:12:27 +00:00
services.xserver.synaptics = {
enable = true;
twoFingerScroll = true;
};
services.xserver.desktopManager.plasma5.enable = true;
2020-06-04 18:20:49 +00:00
services.xserver.displayManager.autoLogin.enable = true;
services.xserver.displayManager.autoLogin.user = "itak";
2017-11-02 20:12:27 +00:00
users.users.itak = {
inherit (config.krebs.users.itak) home uid;
isNormalUser = true;
extraGroups = [
"audio"
"video"
"networkmanager"
];
};
}