Sops don't work yet, updated lock, zsh nix shell
This commit is contained in:
		
							parent
							
								
									5b6c9302ea
								
							
						
					
					
						commit
						816b858c75
					
				
					 3 changed files with 41 additions and 19 deletions
				
			
		
							
								
								
									
										11
									
								
								.sops.yaml
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										11
									
								
								.sops.yaml
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,11 @@
 | 
			
		|||
# This example uses YAML anchors which allows reuse of multiple keys 
 | 
			
		||||
# without having to repeat yourself.
 | 
			
		||||
# Also see https://github.com/Mic92/dotfiles/blob/master/nixos/.sops.yaml
 | 
			
		||||
# for a more complex example.
 | 
			
		||||
keys:
 | 
			
		||||
  - &lillian age12e00qvf4shtmsfq3ujamyaa72pjvad2qhrxkvpl9hryrjvgxev4sjhmkxz
 | 
			
		||||
creation_rules:
 | 
			
		||||
  - path_regex: secrets/[^/]+\.(yaml|json|env|ini)$
 | 
			
		||||
    key_groups:
 | 
			
		||||
      age:
 | 
			
		||||
      - *lillian
 | 
			
		||||
							
								
								
									
										36
									
								
								flake.lock
									
										
									
										generated
									
									
									
								
							
							
						
						
									
										36
									
								
								flake.lock
									
										
									
										generated
									
									
									
								
							| 
						 | 
				
			
			@ -7,11 +7,11 @@
 | 
			
		|||
        ]
 | 
			
		||||
      },
 | 
			
		||||
      "locked": {
 | 
			
		||||
        "lastModified": 1698392685,
 | 
			
		||||
        "narHash": "sha256-yx/sbRneR2AfSAeAMqUu0hoVJdjh+qhl/7dkirp8yo8=",
 | 
			
		||||
        "lastModified": 1698479159,
 | 
			
		||||
        "narHash": "sha256-rJHBDwW4LbADEfhkgGHjKGfL2dF44NrlyXdXeZrQahs=",
 | 
			
		||||
        "owner": "nix-community",
 | 
			
		||||
        "repo": "home-manager",
 | 
			
		||||
        "rev": "1369d2cefb6f128c30e42fabcdebbacc07e18b3f",
 | 
			
		||||
        "rev": "f92a54fef4eacdbe86b0a2054054dd58b0e2a2a4",
 | 
			
		||||
        "type": "github"
 | 
			
		||||
      },
 | 
			
		||||
      "original": {
 | 
			
		||||
| 
						 | 
				
			
			@ -23,11 +23,11 @@
 | 
			
		|||
    },
 | 
			
		||||
    "nixpkgs": {
 | 
			
		||||
      "locked": {
 | 
			
		||||
        "lastModified": 1698134075,
 | 
			
		||||
        "narHash": "sha256-foCD+nuKzfh49bIoiCBur4+Fx1nozo+4C/6k8BYk4sg=",
 | 
			
		||||
        "lastModified": 1698318101,
 | 
			
		||||
        "narHash": "sha256-gUihHt3yPD7bVqg+k/UVHgngyaJ3DMEBchbymBMvK1E=",
 | 
			
		||||
        "owner": "nixos",
 | 
			
		||||
        "repo": "nixpkgs",
 | 
			
		||||
        "rev": "8efd5d1e283604f75a808a20e6cde0ef313d07d4",
 | 
			
		||||
        "rev": "63678e9f3d3afecfeafa0acead6239cdb447574c",
 | 
			
		||||
        "type": "github"
 | 
			
		||||
      },
 | 
			
		||||
      "original": {
 | 
			
		||||
| 
						 | 
				
			
			@ -39,11 +39,11 @@
 | 
			
		|||
    },
 | 
			
		||||
    "nixpkgs-stable": {
 | 
			
		||||
      "locked": {
 | 
			
		||||
        "lastModified": 1697929210,
 | 
			
		||||
        "narHash": "sha256-RkQZif6QhswEwv7484mrKfIU8XmIWm+ED6llbr4IyxM=",
 | 
			
		||||
        "lastModified": 1698544399,
 | 
			
		||||
        "narHash": "sha256-vhRmPyEyoPkrXF2iykBsWHA05MIaOSmMRLMF7Hul6+s=",
 | 
			
		||||
        "owner": "NixOS",
 | 
			
		||||
        "repo": "nixpkgs",
 | 
			
		||||
        "rev": "fb000224952bf7749a9e8b3779104ef7ea4465c8",
 | 
			
		||||
        "rev": "d87c5d8c41c9b3b39592563242f3a448b5cc4bc9",
 | 
			
		||||
        "type": "github"
 | 
			
		||||
      },
 | 
			
		||||
      "original": {
 | 
			
		||||
| 
						 | 
				
			
			@ -55,11 +55,11 @@
 | 
			
		|||
    },
 | 
			
		||||
    "nixpkgs-unstable": {
 | 
			
		||||
      "locked": {
 | 
			
		||||
        "lastModified": 1698134075,
 | 
			
		||||
        "narHash": "sha256-foCD+nuKzfh49bIoiCBur4+Fx1nozo+4C/6k8BYk4sg=",
 | 
			
		||||
        "lastModified": 1698318101,
 | 
			
		||||
        "narHash": "sha256-gUihHt3yPD7bVqg+k/UVHgngyaJ3DMEBchbymBMvK1E=",
 | 
			
		||||
        "owner": "nixos",
 | 
			
		||||
        "repo": "nixpkgs",
 | 
			
		||||
        "rev": "8efd5d1e283604f75a808a20e6cde0ef313d07d4",
 | 
			
		||||
        "rev": "63678e9f3d3afecfeafa0acead6239cdb447574c",
 | 
			
		||||
        "type": "github"
 | 
			
		||||
      },
 | 
			
		||||
      "original": {
 | 
			
		||||
| 
						 | 
				
			
			@ -71,11 +71,11 @@
 | 
			
		|||
    },
 | 
			
		||||
    "nixpkgs_2": {
 | 
			
		||||
      "locked": {
 | 
			
		||||
        "lastModified": 1697886341,
 | 
			
		||||
        "narHash": "sha256-AdE67xPty9M9wn36nPVp6aDntIdigrs7UbyaGv1VAaM=",
 | 
			
		||||
        "lastModified": 1698336494,
 | 
			
		||||
        "narHash": "sha256-sO72WDBKyijYD1GcKPlGsycKbMBiTJMBCnmOxLAs880=",
 | 
			
		||||
        "owner": "NixOS",
 | 
			
		||||
        "repo": "nixpkgs",
 | 
			
		||||
        "rev": "44881e03af1c730cbb1d72a4d41274a2c957813a",
 | 
			
		||||
        "rev": "808c0d8c53c7ae50f82aca8e7df263225cf235bf",
 | 
			
		||||
        "type": "github"
 | 
			
		||||
      },
 | 
			
		||||
      "original": {
 | 
			
		||||
| 
						 | 
				
			
			@ -99,11 +99,11 @@
 | 
			
		|||
        "nixpkgs-stable": "nixpkgs-stable"
 | 
			
		||||
      },
 | 
			
		||||
      "locked": {
 | 
			
		||||
        "lastModified": 1698273636,
 | 
			
		||||
        "narHash": "sha256-swsqg/ckSVJnravx7ie9NFQSKIH27owtlk0wh4+xStk=",
 | 
			
		||||
        "lastModified": 1698548647,
 | 
			
		||||
        "narHash": "sha256-7c03OjBGqnwDW0FBaBc+NjfEBxMkza+dxZGJPyIzfFE=",
 | 
			
		||||
        "owner": "Mic92",
 | 
			
		||||
        "repo": "sops-nix",
 | 
			
		||||
        "rev": "014e44d334a39481223a5d163530d4c4ca2e75cb",
 | 
			
		||||
        "rev": "632c3161a6cc24142c8e3f5529f5d81042571165",
 | 
			
		||||
        "type": "github"
 | 
			
		||||
      },
 | 
			
		||||
      "original": {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -118,6 +118,18 @@
 | 
			
		|||
 | 
			
		||||
  programs.zsh = {
 | 
			
		||||
    enable = true;
 | 
			
		||||
    plugins = [
 | 
			
		||||
      {
 | 
			
		||||
        name = "zsh-nix-shell";
 | 
			
		||||
        file = "nix-shell.plugin.zsh";
 | 
			
		||||
        src = pkgs.fetchFromGitHub {
 | 
			
		||||
          owner = "chisui";
 | 
			
		||||
          repo = "zsh-nix-shell";
 | 
			
		||||
          rev = "v0.7.0";
 | 
			
		||||
          sha256 = "149zh2rm59blr2q458a5irkfh82y3dwdich60s9670kl3cl5h2m1";
 | 
			
		||||
        };
 | 
			
		||||
      }
 | 
			
		||||
    ];
 | 
			
		||||
    enableAutosuggestions = true;
 | 
			
		||||
    enableCompletion = true;
 | 
			
		||||
    historySubstringSearch.enable = true;
 | 
			
		||||
| 
						 | 
				
			
			@ -182,7 +194,6 @@
 | 
			
		|||
        "web-search"
 | 
			
		||||
        "zsh-interactive-cd"
 | 
			
		||||
        "zsh-navigation-tools"
 | 
			
		||||
        "zsh-nix-shell"
 | 
			
		||||
      ];
 | 
			
		||||
      theme = "jtriley";
 | 
			
		||||
    };
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue