maia: adjustments

This commit is contained in:
Gabriel Fontes
2022-08-22 12:28:46 -03:00
parent 98f1c4e413
commit f42ee3ca4c
4 changed files with 34 additions and 3 deletions
-2
View File
@@ -15,6 +15,4 @@
# Fix broken stuff
services.avahi.enable = false;
networking.networkmanager.enable = false;
i18n.defaultLocale = "pt_BR.UTF-8";
}
+27
View File
@@ -0,0 +1,27 @@
{
services = {
xserver = {
enable = true;
desktopManager.pantheon = {
enable = true;
};
displayManager.lightdm = {
enable = true;
greeters.pantheon.enable = true;
};
};
pantheon = {
apps.enable = true;
};
geoclue2.enable = true;
};
programs = {
pantheon-tweaks.enable = true;
};
# Fix shutdown taking a long time
# https://gist.github.com/worldofpeace/27fcdcb111ddf58ba1227bf63501a5fe
systemd.extraConfig = ''
DefaultTimeoutStopSec=10s
DefaultTimeoutStartSec=10s
'';
}
+5 -1
View File
@@ -1,4 +1,4 @@
{ pkgs, config, ... }:
{ pkgs, lib, config, persistence, ... }:
{
users.mutableUsers = false;
users.users.layla = {
@@ -17,4 +17,8 @@
neededForUsers = true;
};
# Persist entire home
environment.persistence = lib.mkIf persistence {
"/persist".directories = [ "/home/layla" ];
};
}
+2
View File
@@ -11,6 +11,7 @@
../common/users/layla.nix
./services
../common/optional/pantheon.nix
../common/optional/quietboot.nix
../common/optional/tailscale.nix
];
@@ -40,6 +41,7 @@
};
};
i18n.defaultLocale = "pt_BR.UTF-8";
hardware.nvidia.prime.offload.enable = false;
system.stateVersion = "22.05";
# TODO: Add graphical stuff