global: rename from faucet
This commit is contained in:
parent
785ab73c50
commit
d3f97a71e4
31 changed files with 40 additions and 40 deletions
|
@ -2,6 +2,6 @@
|
|||
, ... }: {
|
||||
# this module passes openssh public keys to home-manager
|
||||
users.homeModules = [ {
|
||||
passthrough.publicKeys = config.faucet.auth.openssh.publicKeys;
|
||||
passthrough.publicKeys = config.global.auth.openssh.publicKeys;
|
||||
} ];
|
||||
}
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
, lib
|
||||
, config
|
||||
, ... }: with lib; let
|
||||
gui = with config.faucet.gui; ( enable && session );
|
||||
gui = with config.global.gui; ( enable && session );
|
||||
in {
|
||||
users.home.persist.directories = mkIf gui [ ".config/google-chrome" ];
|
||||
security.chromiumSuidSandbox.enable = mkIf gui true;
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
, lib
|
||||
, config
|
||||
, ... }: with lib; let
|
||||
gui = with config.faucet.gui; ( enable && session );
|
||||
gui = with config.global.gui; ( enable && session );
|
||||
in {
|
||||
config = {
|
||||
users.homeModules = [
|
||||
|
|
|
@ -72,7 +72,7 @@ in {
|
|||
description = with opts; mkIf (description != null) description;
|
||||
extraGroups = mkIf opts.admin cfg.adminGroups;
|
||||
openssh.authorizedKeys.keys = mkIf (opts.sshLogin && config.services.openssh.enable)
|
||||
config.faucet.auth.openssh.publicKeys;
|
||||
config.global.auth.openssh.publicKeys;
|
||||
hashedPasswordFile = "/nix/persist/shadow/${name}";
|
||||
shell = pkgs.zsh;
|
||||
isNormalUser = mkIf (name != "root") true;
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
, lib
|
||||
, config
|
||||
, ... }: with lib; let
|
||||
gui = with config.faucet.gui; ( enable && session );
|
||||
gui = with config.global.gui; ( enable && session );
|
||||
in mkIf gui {
|
||||
services.xserver.displayManager.sessionPackages = [
|
||||
(pkgs.writeTextFile {
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
, lib
|
||||
, config
|
||||
, ... }: with lib; let
|
||||
gui = with config.faucet.gui; ( enable && session );
|
||||
gui = with config.global.gui; ( enable && session );
|
||||
in {
|
||||
users.home.persist.directories = [ ] ++
|
||||
optionals gui [
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
, lib
|
||||
, config
|
||||
, ... }: with lib; let
|
||||
gui = with config.faucet.gui; ( enable && session );
|
||||
gui = with config.global.gui; ( enable && session );
|
||||
in mkIf gui {
|
||||
programs.virt-manager.enable = true;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue