pruflas: update config to work for laptop and do not try to recompile gnome without xlibs

This commit is contained in:
Tim Schubert 2022-07-04 23:13:42 +02:00
parent 3ecc868128
commit 89990f9fd1
Signed by: dadada
GPG key ID: EEB8D1CE62C4DFEA
2 changed files with 23 additions and 2 deletions

View file

@ -58,7 +58,7 @@ in
system = "x86_64-linux";
modules = (nixpkgs.lib.attrValues self.nixosModules) ++ [
(adapterModule system)
./modules/profiles/server.nix
./modules/profiles/laptop.nix
./pruflas/configuration.nix
];
};

View file

@ -1,6 +1,8 @@
{ config, pkgs, lib, ... }:
with lib;
{
let
keys = [ ../../keys/dadada.pub ];
in {
imports = [ ./hardware-configuration.nix ];
networking.hostName = "pruflas";
@ -68,5 +70,24 @@ with lib;
extraGroups = [ "users" "video" ];
};
networking.domain = "dadada.li";
dadada.admin.users = {
"dadada" = keys;
};
users.mutableUsers = true;
dadada.networking.localResolver.enable = true;
dadada.autoUpgrade.enable = mkDefault true;
documentation.enable = false;
documentation.nixos.enable = false;
services.journald.extraConfig = ''
SystemKeepFree = 2G
'';
system.stateVersion = "20.09";
}