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

Use existing modules for stel-xps

This commit is contained in:
Stefan Ellmauthaler 2022-05-11 14:10:53 +02:00
parent 49f7f4b5fb
commit a27415749e
Failed to extract signature
2 changed files with 29 additions and 5 deletions

View File

@ -1,17 +1,27 @@
{ config, pkgs, ...}:
{
imports = [
../../common/users.nix
./printer.nix
./hardware-configuration.nix
./software.nix
];
elss = {
# base system
base.enable = true;
# setup locale and font settings
locale.enable = true;
# configure zsh
zsh.enable = true;
# user setup
users = {
enable = true;
admins = [ "ellmau" ];
users = [ ];
};
};
imports = [
../../common/users.nix
./printer.nix
];
variables = {
hostName = "stel-xps";
@ -28,7 +38,7 @@
brightnessctl
];
boot.extraModulePackages = [
boot.extraModulePackages = [
config.boot.kernelPackages.v4l2loopback
];

View File

@ -0,0 +1,14 @@
{ config, pkgs, ...}:
{
environment.systempackages = with pkgs; [
brightnessctl
];
programs = {
java.enable = true;
};
services = {
autorandr.enable = true;
};
}