feat(user:shell): add system modules for zsh/bash user shell configuration
This commit is contained in:
parent
48c0e8e005
commit
ea1c418c73
7 changed files with 53 additions and 34 deletions
|
|
@ -1,11 +1,12 @@
|
|||
{ pkgs, lib, config, ... }:
|
||||
|
||||
let
|
||||
cfg = config.systemModules.user.shell.fish;
|
||||
inherit (lib) mkIf;
|
||||
userShell = config.systemModules.user.shell;
|
||||
in
|
||||
|
||||
{
|
||||
config = lib.mkIf cfg.enable {
|
||||
config = mkIf (userShell == "fish") {
|
||||
users.users.ooks.shell = pkgs.fish;
|
||||
programs.fish = {
|
||||
enable = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue