mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-01-30 22:57:55 +00:00
hosts/ni: set Nushell as default user shell for foo-dogsquared user
This commit is contained in:
parent
788880c1e6
commit
909799e3f2
@ -18,6 +18,7 @@ in
|
||||
|
||||
# This is to make an exception for Archivebox.
|
||||
nixpkgs.config.permittedInsecurePackages = [
|
||||
"archiver-3.5.1"
|
||||
"python3.12-django-3.1.14"
|
||||
];
|
||||
|
||||
@ -42,6 +43,19 @@ in
|
||||
|
||||
inputs.nixos-hardware.nixosModules.common-cpu-amd-pstate
|
||||
inputs.nixos-hardware.nixosModules.common-cpu-amd-raphael-igpu
|
||||
|
||||
(
|
||||
{ config, ... }: let
|
||||
hmCfg = config.home-manager.users;
|
||||
in {
|
||||
# Testing out Nushell for a spinerooski.
|
||||
users.users.foo-dogsquared.shell =
|
||||
if hmCfg.foo-dogsquared.programs.nushell.enable then
|
||||
hmCfg.foo-dogsquared.programs.nushell.package
|
||||
else
|
||||
"/run/current-system/sw/bin/bash";
|
||||
}
|
||||
)
|
||||
];
|
||||
home-manager = {
|
||||
branch = "home-manager-unstable";
|
||||
|
Loading…
Reference in New Issue
Block a user