pruflas: update config to work for laptop and do not try to recompile gnome without xlibs
This commit is contained in:
parent
3ecc868128
commit
89990f9fd1
2 changed files with 23 additions and 2 deletions
|
@ -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
|
||||
];
|
||||
};
|
||||
|
|
|
@ -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";
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue