nixos-config/machines/sternchen/configuration.nix

104 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
2024-03-03 10:52:46 +01:00
../../modules
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
];
networking.hostName = "sternchen";
2024-05-23 16:04:36 +02:00
system.stateVersion = "23.11";
# for calibre server
2024-05-23 22:31:30 +02:00
networking.firewall.allowedTCPPorts = [ 8080 ];
2021-03-05 08:22:35 +01:00
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;
2024-05-23 22:31:30 +02:00
components.gui.style.enable = false; # installes nerd-fonts which seem not to work.
2024-06-02 21:38:48 +02:00
#components.gui.noti.enable = false;
2023-08-14 09:52:48 +02:00
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;
2024-05-23 16:04:36 +02:00
components.monitor.enable = false;
2024-03-03 09:59:17 +01:00
2024-05-23 22:31:30 +02:00
users.users.mainUser.extraGroups = [ "video" ];
2023-08-14 03:29:02 +02:00
home-manager.users.mainUser.home.git-pull.enable = false;
2024-05-23 22:31:30 +02:00
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
2024-03-03 09:59:17 +01:00
services.browser.enable = false;
2021-03-05 08:22:35 +01:00
2024-05-23 22:31:30 +02:00
#security.wrappers = {
# 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
2021-03-06 05:59:24 +01:00
# keyboard fiddling
i18n.defaultLocale = "de_DE.UTF-8";
console.keyMap = "de";
2024-05-24 21:08:34 +02:00
services.xserver.xkb.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
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
2024-05-24 21:08:34 +02:00
services.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
# -----
2024-03-03 09:59:17 +01:00
samba-share = {
2021-03-05 08:22:35 +01:00
enable = false;
folders = {
share = "/home/share";
};
};
2021-03-06 05:59:24 +01:00
virtualisation = {
docker.enable = false;
virtualbox = {
host.enable = false;
guest.enable = false;
};
};
2021-03-05 16:01:24 +01:00
2021-03-05 08:22:35 +01:00
}