@@ -59,7 +59,8 @@ let
 | 
				
			|||||||
      };
 | 
					      };
 | 
				
			||||||
    };
 | 
					    };
 | 
				
			||||||
  });
 | 
					  });
 | 
				
			||||||
in {
 | 
					in
 | 
				
			||||||
 | 
					{
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  options.age = {
 | 
					  options.age = {
 | 
				
			||||||
    secrets = mkOption {
 | 
					    secrets = mkOption {
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -24,11 +24,13 @@
 | 
				
			|||||||
        target = "${xdg.configHome}/mpv/mpv.conf";
 | 
					        target = "${xdg.configHome}/mpv/mpv.conf";
 | 
				
			||||||
      };
 | 
					      };
 | 
				
			||||||
      packages = {
 | 
					      packages = {
 | 
				
			||||||
        text = let
 | 
					        text =
 | 
				
			||||||
 | 
					          let
 | 
				
			||||||
            packages = builtins.map (p: "${p.name}") config.home.packages;
 | 
					            packages = builtins.map (p: "${p.name}") config.home.packages;
 | 
				
			||||||
            sortedUnique = builtins.sort builtins.lessThan (lib.unique packages);
 | 
					            sortedUnique = builtins.sort builtins.lessThan (lib.unique packages);
 | 
				
			||||||
            formatted = builtins.concatStringsSep "\n" sortedUnique;
 | 
					            formatted = builtins.concatStringsSep "\n" sortedUnique;
 | 
				
			||||||
          in formatted;
 | 
					          in
 | 
				
			||||||
 | 
					          formatted;
 | 
				
			||||||
        target = "${xdg.configHome}/${config.home.username}-packages";
 | 
					        target = "${xdg.configHome}/${config.home.username}-packages";
 | 
				
			||||||
      };
 | 
					      };
 | 
				
			||||||
    };
 | 
					    };
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -5,12 +5,14 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
  fileSystems."/" =
 | 
					  fileSystems."/" =
 | 
				
			||||||
    { device = "/dev/disk/by-label/NIXOS_SD";
 | 
					    {
 | 
				
			||||||
 | 
					      device = "/dev/disk/by-label/NIXOS_SD";
 | 
				
			||||||
      fsType = "ext4";
 | 
					      fsType = "ext4";
 | 
				
			||||||
    };
 | 
					    };
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  fileSystems."/nix/store" =
 | 
					  fileSystems."/nix/store" =
 | 
				
			||||||
    { device = "/nix/store";
 | 
					    {
 | 
				
			||||||
 | 
					      device = "/nix/store";
 | 
				
			||||||
      fsType = "none";
 | 
					      fsType = "none";
 | 
				
			||||||
      options = [ "bind" ];
 | 
					      options = [ "bind" ];
 | 
				
			||||||
    };
 | 
					    };
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -6,9 +6,14 @@
 | 
				
			|||||||
      allowedTCPPorts = [
 | 
					      allowedTCPPorts = [
 | 
				
			||||||
        22 # ssh
 | 
					        22 # ssh
 | 
				
			||||||
        80 # http
 | 
					        80 # http
 | 
				
			||||||
        6060 4444 5454 8080 #????
 | 
					        6060
 | 
				
			||||||
 | 
					        4444
 | 
				
			||||||
 | 
					        5454
 | 
				
			||||||
 | 
					        8080 #????
 | 
				
			||||||
        5001 #gitea
 | 
					        5001 #gitea
 | 
				
			||||||
        8800 4646 8500 #vault nomad consul
 | 
					        8800
 | 
				
			||||||
 | 
					        4646
 | 
				
			||||||
 | 
					        8500 #vault nomad consul
 | 
				
			||||||
        8888 #simpler-filehost1
 | 
					        8888 #simpler-filehost1
 | 
				
			||||||
        6666 #concourse
 | 
					        6666 #concourse
 | 
				
			||||||
        202 #gitea-ssh
 | 
					        202 #gitea-ssh
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -2,11 +2,13 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
  imports =
 | 
					  imports =
 | 
				
			||||||
    [ (modulesPath + "/profiles/qemu-guest.nix")
 | 
					    [
 | 
				
			||||||
 | 
					      (modulesPath + "/profiles/qemu-guest.nix")
 | 
				
			||||||
    ];
 | 
					    ];
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  fileSystems."/" =
 | 
					  fileSystems."/" =
 | 
				
			||||||
    { device = "/dev/disk/by-uuid/d91adce2-9059-4a8a-86e7-dee6ecc85b2b";
 | 
					    {
 | 
				
			||||||
 | 
					      device = "/dev/disk/by-uuid/d91adce2-9059-4a8a-86e7-dee6ecc85b2b";
 | 
				
			||||||
      fsType = "ext4";
 | 
					      fsType = "ext4";
 | 
				
			||||||
    };
 | 
					    };
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,4 +1,3 @@
 | 
				
			|||||||
 | 
					 | 
				
			||||||
{ config, lib, ... }:
 | 
					{ config, lib, ... }:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#let
 | 
					#let
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,6 +1,7 @@
 | 
				
			|||||||
final: prev:
 | 
					final: prev:
 | 
				
			||||||
let
 | 
					let
 | 
				
			||||||
  call = prev.callPackage; in
 | 
					  call = prev.callPackage;
 | 
				
			||||||
 | 
					in
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
  customscripts = call ./customscripts { };
 | 
					  customscripts = call ./customscripts { };
 | 
				
			||||||
  tlauncher = call ./tlauncher { };
 | 
					  tlauncher = call ./tlauncher { };
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user