1
0
mirror of https://github.com/ellmau/nixos.git synced 2025-12-19 09:29:36 +01:00
nixos/machines/nucturne/default.nix
Stefan Ellmauthaler 51480e20b6
Add further configuration
while sway seems to work pretty well the following parts are not very
welcoming:

* waybar (multiple modules do not behave as documented)
* nm-applet
* systemd-integration due to "normal" call via greetd
2022-08-15 16:56:54 +02:00

70 lines
1.2 KiB
Nix

{ config, pkgs, inputs, nixos-hardware, ...}:
{
imports = [
../../common/users.nix
./hardware-configuration.nix
./software.nix
];
elss = {
# base system
base.enable = true;
# setup locale and font settings
locale.enable = true;
# setup sshd
sshd.enable = true;
# configure zsh
zsh.enable = true;
# enable X11 with lightdm and i3
graphical = {
enable = true;
sway.enable = true;
i3.enable = false;
# set dpi if used in mobile applications
# dpi = 180;
};
# enable deamon to generate nix-index-db
nix-index-db-update.enable = true;
# add TUD vpn
openvpn.enable = true;
# enable sops
sops = {
enable = true;
};
# enable wireguard
wireguard.enable = true;
# user setup
users = {
enable = true;
admins = [ "ellmau" ];
users = [ ];
meta = {
ellmau.git = {
signDefault = true;
};
};
};
};
boot = {
extraModulePackages = [
config.boot.kernelPackages.v4l2loopback
];
kernelModules = [
"v4l2loopback"
];
plymouth.enable = true;
};
system.stateVersion = "21.05";
}