1
0
mirror of https://github.com/ellmau/nixos.git synced 2025-12-19 09:29:36 +01:00
nixos/machines/stel-xps/default.nix

56 lines
1023 B
Nix

{ config, pkgs, inputs, nixos-hardware, ...}:
{
imports = [
../../common/users.nix
./printer.nix
./hardware-configuration.nix
./software.nix
nixos-hardware.dell-xps-13-7390
];
elss = {
# base system
base.enable = true;
# setup locale and font settings
locale.enable = true;
# configure zsh
zsh.enable = true;
# enable X11 with lightdm and i3
graphical = {
enable = true;
# set dpi if used in mobile applications
# dpi = 180;
};
# enable sops
sops = {
enable = true;
};
# user setup
users = {
enable = true;
admins = [ "ellmau" ];
users = [ ];
meta = {
ellmau.git = {
key = "0x4998BEEE";
gpgsm = true;
signDefault = true;
};
};
};
};
boot.extraModulePackages = [
config.boot.kernelPackages.v4l2loopback
];
boot.kernelModules = [
"v4l2loopback"
];
services.xserver.desktopManager.wallpaper.mode = "fill";
}