🐟 shell
This commit is contained in:
parent
c8bd8acd8b
commit
19f999514e
2 changed files with 169 additions and 137 deletions
|
@ -14,7 +14,7 @@
|
|||
|
||||
modules = lib.mkOption {
|
||||
type = with lib.types; listOf str;
|
||||
default = ["shell" "git" "nix-index"];
|
||||
default = [];
|
||||
};
|
||||
|
||||
packages = lib.mkOption {
|
||||
|
@ -45,6 +45,7 @@
|
|||
|
||||
config = lib.mkIf config.ccr.enable {
|
||||
ccr.extraGroups = ["wheel" "fuse" "networkmanager" "dialout"];
|
||||
ccr.modules = ["shell" "git" "nix-index"];
|
||||
|
||||
users.users.ccr = {
|
||||
uid = 1000;
|
||||
|
@ -52,11 +53,11 @@
|
|||
description = "Andrea Ciceri";
|
||||
isNormalUser = true;
|
||||
inherit (config.ccr) extraGroups;
|
||||
shell = pkgs.zsh;
|
||||
shell = pkgs.fish;
|
||||
openssh.authorizedKeys.keys = config.ccr.authorizedKeys;
|
||||
};
|
||||
|
||||
programs.zsh.enable = true;
|
||||
programs.fish.enable = true;
|
||||
|
||||
services.getty.autologinUser =
|
||||
if config.ccr.autologin
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue