idk
This commit is contained in:
		
							parent
							
								
									f7ed344a30
								
							
						
					
					
						commit
						cfc03cf564
					
				
					 4 changed files with 26 additions and 16 deletions
				
			
		| 
						 | 
				
			
			@ -57,7 +57,7 @@
 | 
			
		|||
    quickemu, nixos-hardware, emacs, nix-bitcoin #, eww
 | 
			
		||||
    , simple-nixos-mailserver, anipy-cli, darkly, niri, 
 | 
			
		||||
    # ags,
 | 
			
		||||
    stylix, ... }:
 | 
			
		||||
    stylix, self, ... }:
 | 
			
		||||
    let
 | 
			
		||||
      system = "x86_64-linux";
 | 
			
		||||
      username = "chris";
 | 
			
		||||
| 
						 | 
				
			
			@ -186,5 +186,6 @@
 | 
			
		|||
          ];
 | 
			
		||||
        };
 | 
			
		||||
      };
 | 
			
		||||
      packages.${system}.nixbook = self.nixosConfigurations.nixbook.config.system.build.isoImage;
 | 
			
		||||
    };
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
							
								
								
									
										11
									
								
								home/modules/zed.nix
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										11
									
								
								home/modules/zed.nix
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,11 @@
 | 
			
		|||
 | 
			
		||||
{ config, lib, pkgs, ... }:
 | 
			
		||||
 | 
			
		||||
let
 | 
			
		||||
  laptop = builtins.readFile "/etc/hostname" == "syl\n";
 | 
			
		||||
in
 | 
			
		||||
{
 | 
			
		||||
  programs.zed-editor = {
 | 
			
		||||
    enable = true;
 | 
			
		||||
  };
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			@ -18,19 +18,19 @@ in {
 | 
			
		|||
    nixPath = [ "nixpkgs=${inputs.nixpkgs}" ];
 | 
			
		||||
  };
 | 
			
		||||
 | 
			
		||||
  system.autoUpgrade = {
 | 
			
		||||
    enable = true;
 | 
			
		||||
    dates = "11:00";
 | 
			
		||||
    allowReboot = false;
 | 
			
		||||
    flake = "${config.users.users.chris.home}/${if laptop then ".dotfiles" else "conf"}";
 | 
			
		||||
    flags = [ "--update-input" "nixpkgs" "--commit-lock-file" ];
 | 
			
		||||
  };
 | 
			
		||||
  # system.autoUpgrade = {
 | 
			
		||||
  #   enable = true;
 | 
			
		||||
  #   dates = "11:00";
 | 
			
		||||
  #   allowReboot = false;
 | 
			
		||||
  #   flake = "${config.users.users.chris.home}/${if laptop then ".dotfiles" else "conf"}";
 | 
			
		||||
  #   flags = [ "--update-input" "nixpkgs" "--commit-lock-file" ];
 | 
			
		||||
  # };
 | 
			
		||||
 | 
			
		||||
  services.murmur = {
 | 
			
		||||
    enable = true;
 | 
			
		||||
    bonjour = true;
 | 
			
		||||
    openFirewall = true;
 | 
			
		||||
  };
 | 
			
		||||
  # services.murmur = {
 | 
			
		||||
  #   enable = true;
 | 
			
		||||
  #   bonjour = true;
 | 
			
		||||
  #   openFirewall = true;
 | 
			
		||||
  # };
 | 
			
		||||
 | 
			
		||||
  # Use the systemd-boot EFI boot loader.
 | 
			
		||||
  boot.loader.systemd-boot.enable = true;
 | 
			
		||||
| 
						 | 
				
			
			@ -47,6 +47,4 @@ in {
 | 
			
		|||
  # environment.binsh = "${pkgs.dash}/bin/dash";
 | 
			
		||||
  environment.homeBinInPath = true;
 | 
			
		||||
  programs.fish.enable = true;
 | 
			
		||||
  programs.zsh.enable = true;
 | 
			
		||||
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -196,7 +196,7 @@
 | 
			
		|||
  };
 | 
			
		||||
 | 
			
		||||
  # Enable touchpad support (enabled default in most desktopManager).
 | 
			
		||||
  services.xserver.libinput.enable = true;
 | 
			
		||||
  services.libinput.enable = true;
 | 
			
		||||
  services.xserver.dpi = 144;
 | 
			
		||||
 | 
			
		||||
  # Define a user account. Don't forget to set a password with ‘passwd’.
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue