+builder for proxmox nixos-template
This commit is contained in:
@ -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" {
|
||||
|
Reference in New Issue
Block a user