home(chrome): move relevant nixos configuration
This commit is contained in:
parent
09dbe97673
commit
57d1af27a5
2 changed files with 9 additions and 7 deletions
|
@ -16,12 +16,6 @@ in {
|
|||
# this module passes sway-specific config values
|
||||
{ passthrough.sway = cfg; }
|
||||
];
|
||||
|
||||
users.home.persist = mkIf gui {
|
||||
directories = [
|
||||
".config/google-chrome"
|
||||
];
|
||||
};
|
||||
users.adminGroups = mkIf gui [ "video" ];
|
||||
|
||||
# themes and icons
|
||||
|
@ -45,7 +39,6 @@ in {
|
|||
|
||||
security = mkIf gui {
|
||||
polkit.enable = true;
|
||||
chromiumSuidSandbox.enable = true;
|
||||
pam.services.swaylock = { };
|
||||
};
|
||||
fonts.enableDefaultPackages = mkIf gui true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue