Run fastfetch on both home servers for new shells
Some checks are pending
/ check (push) Waiting to run

This commit is contained in:
Oliver Davies 2025-11-21 16:40:47 +00:00
parent 19edb2b4c0
commit dd466c291c
2 changed files with 148 additions and 130 deletions

View file

@ -1,7 +1,9 @@
{ inputs, ... }: { inputs, lib, ... }:
{ {
flake.modules.nixos."nixosConfigurations/home01" = { flake.modules.nixos."nixosConfigurations/home01" =
{ pkgs, ... }:
{
imports = with inputs.self.modules.nixos; [ imports = with inputs.self.modules.nixos; [
]; ];
@ -56,6 +58,7 @@
"wheel" "wheel"
]; ];
packages = [ ]; packages = [ ];
shell = pkgs.zsh;
}; };
nixpkgs.config.allowUnfree = true; nixpkgs.config.allowUnfree = true;
@ -63,5 +66,11 @@
services.openssh.enable = true; services.openssh.enable = true;
security.sudo.wheelNeedsPassword = false; security.sudo.wheelNeedsPassword = false;
programs.zsh.enable = true;
programs.zsh.interactiveShellInit = ''
clear
${lib.getExe pkgs.fastfetch}
'';
}; };
} }

View file

@ -1,7 +1,9 @@
{ inputs, ... }: { inputs, lib, ... }:
{ {
flake.modules.nixos."nixosConfigurations/home02" = { flake.modules.nixos."nixosConfigurations/home02" =
{ pkgs, ... }:
{
imports = with inputs.self.modules.nixos; [ imports = with inputs.self.modules.nixos; [
inputs.agenix.nixosModules.default inputs.agenix.nixosModules.default
@ -65,6 +67,7 @@
"wheel" "wheel"
]; ];
packages = [ ]; packages = [ ];
shell= pkgs.zsh;
}; };
nixpkgs.config.allowUnfree = true; nixpkgs.config.allowUnfree = true;
@ -72,5 +75,11 @@
services.openssh.enable = true; services.openssh.enable = true;
security.sudo.wheelNeedsPassword = false; security.sudo.wheelNeedsPassword = false;
programs.zsh.enable = true;
programs.zsh.interactiveShellInit = ''
clear
${lib.getExe pkgs.fastfetch}
'';
}; };
} }