+builder for proxmox nixos-template

This commit is contained in:
Sascha Koenig
2025-05-19 12:53:05 +02:00
parent f85332f321
commit 68ecbd3bf1
14 changed files with 397 additions and 20 deletions

View File

@ -12,7 +12,9 @@ in {
config = mkIf cfg.enable {
programs.nushell = {
enable = true;
package = pkgs.pinned.nushell;
plugins = with pkgs.nushellPlugins; [
skim
];
envFile.text = ''
$env.config.show_banner = false
$env.NIX_PATH = "nixpkgs=channel:nixos-unstable"
@ -31,6 +33,7 @@ in {
--color header:bold
--header 'Press CTRL-Y to copy command into clipboard'"
$env.FLAKE = $"($env.HOME)/p/nixos/nixos-config"
source /run/agenix/${config.home.username}-secrets
'';
configFile.text = ''
if (tty) == "/dev/tty1" {

View File

@ -0,0 +1,17 @@
{
imports = [
../common
../features/cli
./home-server.nix
];
features = {
cli = {
fish.enable = true;
skim.enable = true;
nitch.enable = true;
secrets.enable = false;
starship.enable = true;
};
};
}

View File

@ -8,7 +8,7 @@
features = {
cli = {
fish.enable = true;
fzf.enable = true;
skim.enable = true;
nitch.enable = true;
secrets.enable = false;
starship.enable = true;