Compare commits
	
		
			4 commits
		
	
	
		
			4131d726d5
			...
			58663a006a
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 58663a006a | |||
| bc266ec793 | |||
| 5ee726a22e | |||
| 7436a7b5e7 | 
					 4 changed files with 16 additions and 2 deletions
				
			
		| 
						 | 
					@ -38,7 +38,7 @@
 | 
				
			||||||
    home-manager.url = "github:nix-community/home-manager/release-24.05";
 | 
					    home-manager.url = "github:nix-community/home-manager/release-24.05";
 | 
				
			||||||
    home-manager.inputs.nixpkgs.follows = "nixpkgs";
 | 
					    home-manager.inputs.nixpkgs.follows = "nixpkgs";
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    neovim-flake.url = "github:notashelf/neovim-flake/v0.5";
 | 
					    neovim-flake.url = "github:NotAShelf/nvf/v0.6";
 | 
				
			||||||
    neovim-flake.inputs.nixpkgs.follows = "nixpkgs";
 | 
					    neovim-flake.inputs.nixpkgs.follows = "nixpkgs";
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    disko.url = "github:nix-community/disko";
 | 
					    disko.url = "github:nix-community/disko";
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -11,6 +11,13 @@
 | 
				
			||||||
    stateVersion = "23.11"; # Please read the comment before changing.
 | 
					    stateVersion = "23.11"; # Please read the comment before changing.
 | 
				
			||||||
  };
 | 
					  };
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  programs.ssh.extraConfig = ''
 | 
				
			||||||
 | 
					    UseKeychain yes
 | 
				
			||||||
 | 
					    AddKeysToAgent yes
 | 
				
			||||||
 | 
					    IdentityFile ~/.ssh/id_ed25519
 | 
				
			||||||
 | 
					  '';
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  metacfg = {
 | 
					  metacfg = {
 | 
				
			||||||
    cli-apps = {
 | 
					    cli-apps = {
 | 
				
			||||||
      bash.enable = true;
 | 
					      bash.enable = true;
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -47,7 +47,7 @@ in
 | 
				
			||||||
      };
 | 
					      };
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      NSGlobalDomain = {
 | 
					      NSGlobalDomain = {
 | 
				
			||||||
        _HIHideMenuBar = true;
 | 
					        _HIHideMenuBar = false;
 | 
				
			||||||
        AppleShowScrollBars = "Always";
 | 
					        AppleShowScrollBars = "Always";
 | 
				
			||||||
      };
 | 
					      };
 | 
				
			||||||
    };
 | 
					    };
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -21,6 +21,12 @@ in
 | 
				
			||||||
    email = mkOpt types.str "harald@hoyer.xyz" "The email of the user.";
 | 
					    email = mkOpt types.str "harald@hoyer.xyz" "The email of the user.";
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    uid = mkOpt (types.nullOr types.int) 501 "The uid for the user account.";
 | 
					    uid = mkOpt (types.nullOr types.int) 501 "The uid for the user account.";
 | 
				
			||||||
 | 
					    sshKeys = mkOpt (types.listOf types.str) [
 | 
				
			||||||
 | 
					      "sk-ssh-ed25519@openssh.com AAAAGnNrLXNzaC1lZDI1NTE5QG9wZW5zc2guY29tAAAAIDsb/Tr69YN5MQLweWPuJaRGm+h2kOyxfD6sqKEDTIwoAAAABHNzaDo= harald@fedora.fritz.box"
 | 
				
			||||||
 | 
					      "sk-ecdsa-sha2-nistp256@openssh.com AAAAInNrLWVjZHNhLXNoYTItbmlzdHAyNTZAb3BlbnNzaC5jb20AAAAIbmlzdHAyNTYAAABBBACLgT81iB1iWWVuXq6PdQ5GAAGhaZhSKnveQCvcNnAOZ5WKH80bZShKHyAYzrzbp8IGwLWJcZQ7TqRK+qZdfagAAAAEc3NoOg== harald@hoyer.xyz"
 | 
				
			||||||
 | 
					      "ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBAYbUTKpy4QR3s944/hjJ1UK05asFEs/SmWeUbtS0cdA660sT4xHnRfals73FicOoz+uIucJCwn/SCM804j+wtM="
 | 
				
			||||||
 | 
					      "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIMNsmP15vH8BVKo7bdvIiiEjiQboPGcRPqJK0+bH4jKD harald@lenovo.fritz.box"
 | 
				
			||||||
 | 
					    ] "ssh keys";
 | 
				
			||||||
  };
 | 
					  };
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  config = {
 | 
					  config = {
 | 
				
			||||||
| 
						 | 
					@ -29,6 +35,7 @@ in
 | 
				
			||||||
      # module to evaluate successfully since it reads
 | 
					      # module to evaluate successfully since it reads
 | 
				
			||||||
      # `users.users.${metacfg.user.name}.uid`.
 | 
					      # `users.users.${metacfg.user.name}.uid`.
 | 
				
			||||||
      uid = mkIf (cfg.uid != null) cfg.uid;
 | 
					      uid = mkIf (cfg.uid != null) cfg.uid;
 | 
				
			||||||
 | 
					      openssh.authorizedKeys.keys = cfg.sshKeys;
 | 
				
			||||||
    };
 | 
					    };
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    snowfallorg.users.${config.metacfg.user.name}.home.config = {
 | 
					    snowfallorg.users.${config.metacfg.user.name}.home.config = {
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue