nixos-config/nixos/machines/sternchen/configuration.nix

106 lines
2.4 KiB
Nix
Raw Normal View History

2021-03-05 08:22:35 +01:00
{ config, pkgs, lib, ... }: {
imports = [
2023-08-14 03:48:28 +02:00
../../components
2021-09-27 18:53:45 +02:00
../../system/desktop
2021-03-05 08:22:35 +01:00
./hardware-configuration.nix
./packages.nix
2021-03-10 19:27:43 +01:00
./syncthing.nix
2021-03-05 08:22:35 +01:00
./tinc.nix
2024-01-12 17:30:57 +01:00
./cups.nix
2021-03-05 08:22:35 +01:00
];
2021-11-18 11:39:19 +01:00
sops.defaultSopsFile = ../../secrets/sternchen.yaml;
2021-03-05 08:22:35 +01:00
networking.hostName = "sternchen";
2023-08-14 03:29:02 +02:00
components.gui.enable = true;
2023-08-14 09:52:48 +02:00
components.gui.kmonad.enable = false;
2023-08-14 03:29:02 +02:00
components.terminal.enable = true;
components.network.enable = true;
components.network.wifi.enable = true;
components.mainUser.enable = true;
users.users.mainUser.extraGroups = [ "adbusers" "video" ];
home-manager.users.mainUser.home.git-pull.enable = false;
2023-08-14 09:52:48 +02:00
users.users.mainUser.name = lib.mkForce "tina";
2023-08-14 10:31:21 +02:00
users.users.mainUser.home = lib.mkForce "/home/tina";
2021-03-05 08:22:35 +01:00
2023-08-14 03:29:02 +02:00
#system.custom.wifi.interfaces = [ "wlp3s0" ];
2021-03-05 08:22:35 +01:00
security.wrappers = {
2022-02-07 19:13:27 +01:00
pmount = {
source = "${pkgs.pmount}/bin/pmount";
setuid = true;
owner = "root";
group = "root";
};
pumount = {
source = "${pkgs.pmount}/bin/pumount";
setuid = true;
owner = "root";
group = "root";
};
2021-03-05 08:22:35 +01:00
};
programs.custom.steam.enable = false;
2021-03-06 05:59:24 +01:00
# keyboard fiddling
i18n.defaultLocale = "de_DE.UTF-8";
console.keyMap = "de";
services.xserver.layout = "de,us";
2021-03-05 17:42:00 +01:00
2023-08-14 03:48:28 +02:00
#system.custom.suspend.enable = false;
2023-08-14 03:29:02 +02:00
services.printing.enable = false;
2021-03-05 08:22:35 +01:00
# fonts
# -----
programs.custom.urxvt.fontSize = 12;
programs.custom.xterm.fontSize = 12;
2023-06-30 20:59:11 +02:00
# system.custom.fonts.dpi = 100;
2021-03-05 08:22:35 +01:00
2021-03-06 05:59:24 +01:00
# for congress and streaming
hardware.opengl = {
enable = true;
2023-08-14 03:29:02 +02:00
#extraPackages = [ pkgs.vaapiIntel ];
2021-03-15 08:28:27 +01:00
driSupport = true;
2021-03-06 05:59:24 +01:00
driSupport32Bit = true;
};
2021-03-05 08:22:35 +01:00
2022-02-07 19:13:27 +01:00
services.xserver.displayManager.defaultSession = "plasma";
2021-03-18 21:12:43 +01:00
services.xserver.desktopManager.pantheon.enable = false;
services.xserver.desktopManager.xfce.enable = false;
2021-11-18 20:47:06 +01:00
services.xserver.desktopManager.gnome.enable = false;
2021-03-18 21:12:43 +01:00
services.xserver.desktopManager.cinnamon.enable = true;
services.xserver.desktopManager.lxqt.enable = true;
services.xserver.desktopManager.mate.enable = true;
services.xserver.desktopManager.plasma5.enable = true;
services.xserver.desktopManager.plasma5.phononBackend = "vlc";
2021-03-06 05:59:24 +01:00
# stuff
# -----
2021-03-05 08:22:35 +01:00
custom.samba-share = {
enable = false;
folders = {
share = "/home/share";
};
};
2021-03-06 05:59:24 +01:00
virtualisation = {
docker.enable = false;
virtualbox = {
host.enable = false;
guest.x11 = false;
guest.enable = false;
};
};
2021-03-05 16:01:24 +01:00
2021-03-05 08:22:35 +01:00
}