Refactoring config preparing for server
This commit is contained in:
parent
2bffc8d711
commit
6992836cfe
18 changed files with 165 additions and 10 deletions
39
modules/desktop/gnome/default.nix
Normal file
39
modules/desktop/gnome/default.nix
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
{ pkgs, lib, ... }:
|
||||
|
||||
{
|
||||
imports =
|
||||
[
|
||||
./packages.nix
|
||||
];
|
||||
|
||||
# Fingerprint
|
||||
# security.pam.services.login.fprintAuth = false;
|
||||
# security.pam.services.gdm-fingerprint.text = ''
|
||||
# auth required pam_shells.so
|
||||
# auth requisite pam_nologin.so
|
||||
# auth requisite pam_faillock.so preauth
|
||||
# auth required ${pkgs.fprintd}/lib/security/pam_fprintd.so
|
||||
# auth optional pam_permit.so
|
||||
# auth required pam_env.so
|
||||
# auth [success=ok default=1] ${pkgs.gdm}/lib/security/pam_gdm.so
|
||||
# auth optional ${pkgs.gnome-keyring}/lib/security/pam_gnome_keyring.so
|
||||
|
||||
# account include login
|
||||
|
||||
# password required pam_deny.so
|
||||
|
||||
# session include login
|
||||
# session optional ${pkgs.gnome-keyring}/lib/security/pam_gnome_keyring.so auto_start
|
||||
# '';
|
||||
|
||||
# GNOME
|
||||
services.displayManager.gdm.enable = true;
|
||||
services.desktopManager.gnome.enable = true;
|
||||
environment.gnome.excludePackages = [ pkgs.evince ];
|
||||
|
||||
# KDE Connect
|
||||
programs.kdeconnect = {
|
||||
enable = true;
|
||||
package = lib.mkDefault pkgs.gnomeExtensions.gsconnect;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue