migrates system shell

This commit is contained in:
Dennis Schoepf 2026-03-03 21:55:58 +01:00
parent e72a052384
commit eaaaf14d1e
2 changed files with 22 additions and 0 deletions

View file

@ -6,7 +6,11 @@ in
flake.nixosConfigurations.dnsc-machine = inputs.nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
modules = with config.flake.modules.nixos; [
# Modules
base
shell
# Machine-specific configuration
{
imports = [ ./_hardware-configuration.nix ];
networking.hostName = hostname;

18
modules/shell/default.nix Normal file
View file

@ -0,0 +1,18 @@
{
...
}:
{
flake.modules.nixos.shell =
{ pkgs, ... }:
{
programs.fish.enable = true;
users.defaultUserShell = pkgs.fish;
};
flake.modules.darwin.shell =
{ pkgs, ... }:
{
programs.fish.enable = true;
users.defaultUserShell = pkgs.fish;
};
}