refactor imports
This commit is contained in:
		
							parent
							
								
									3e16c5a55d
								
							
						
					
					
						commit
						0a4f535117
					
				
					 3 changed files with 9 additions and 4 deletions
				
			
		| 
						 | 
				
			
			@ -1,8 +1,13 @@
 | 
			
		|||
{ config, pkgs, ... }:
 | 
			
		||||
{ config, pkgs, inputs, ... }:
 | 
			
		||||
let
 | 
			
		||||
  hostname = config.networking.hostName;
 | 
			
		||||
in
 | 
			
		||||
{
 | 
			
		||||
  imports = [
 | 
			
		||||
    inputs.agenix.nixosModules.default
 | 
			
		||||
    inputs.agenix-rekey.nixosModules.default
 | 
			
		||||
  ];
 | 
			
		||||
 | 
			
		||||
  environment.systemPackages = with pkgs; [
 | 
			
		||||
    agenix-rekey
 | 
			
		||||
  ];
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -2,9 +2,6 @@
 | 
			
		|||
 | 
			
		||||
{
 | 
			
		||||
  imports = [
 | 
			
		||||
    inputs.home-manager.nixosModules.home-manager
 | 
			
		||||
    inputs.agenix.nixosModules.default
 | 
			
		||||
    inputs.agenix-rekey.nixosModules.default
 | 
			
		||||
    ./age.nix
 | 
			
		||||
    ./env.nix
 | 
			
		||||
    ./nix.nix
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,6 +1,9 @@
 | 
			
		|||
{ inputs, outputs, pkgs, config, ... }:
 | 
			
		||||
 | 
			
		||||
{
 | 
			
		||||
  imports = [
 | 
			
		||||
    inputs.home-manager.nixosModules.home-manager
 | 
			
		||||
  ];
 | 
			
		||||
  users.users.sajenim = {
 | 
			
		||||
      isNormalUser = true;
 | 
			
		||||
      extraGroups = [ "audio" "docker" "networkmanager" "wheel" ];
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue