Compare commits
	
		
			3 commits
		
	
	
		
			603411fa64
			...
			1b3a130561
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 1b3a130561 | |||
| 62e5c673c5 | |||
| 5a8b5a29a2 | 
					 4 changed files with 9 additions and 7 deletions
				
			
		| 
						 | 
					@ -4,7 +4,6 @@
 | 
				
			||||||
  imports = [ ../common/nix-settings.nix ];
 | 
					  imports = [ ../common/nix-settings.nix ];
 | 
				
			||||||
  nix = {
 | 
					  nix = {
 | 
				
			||||||
    enable = true;
 | 
					    enable = true;
 | 
				
			||||||
    package = pkgs.nixVersions.nix_2_25;
 | 
					 | 
				
			||||||
    settings = {
 | 
					    settings = {
 | 
				
			||||||
      trusted-users = [
 | 
					      trusted-users = [
 | 
				
			||||||
        "os"
 | 
					        "os"
 | 
				
			||||||
| 
						 | 
					@ -21,9 +20,6 @@
 | 
				
			||||||
    };
 | 
					    };
 | 
				
			||||||
  };
 | 
					  };
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  # Auto upgrade nix package and the daemon service.
 | 
					 | 
				
			||||||
  services.nix-daemon.enable = true;
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
  # List packages installed in system profile. To search by name, run:
 | 
					  # List packages installed in system profile. To search by name, run:
 | 
				
			||||||
  # $ nix-env -qaP | grep wget
 | 
					  # $ nix-env -qaP | grep wget
 | 
				
			||||||
  environment.systemPackages = [ pkgs.vim ];
 | 
					  environment.systemPackages = [ pkgs.vim ];
 | 
				
			||||||
| 
						 | 
					@ -38,6 +34,7 @@
 | 
				
			||||||
  # system-wide SSH configuration, used by nix-daemon for remote builders
 | 
					  # system-wide SSH configuration, used by nix-daemon for remote builders
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  # show hidden files
 | 
					  # show hidden files
 | 
				
			||||||
 | 
					  system.primaryUser = "os";
 | 
				
			||||||
  system.defaults.NSGlobalDomain.AppleShowAllFiles = true;
 | 
					  system.defaults.NSGlobalDomain.AppleShowAllFiles = true;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  # Used for backwards compatibility, please read the changelog before changing.
 | 
					  # Used for backwards compatibility, please read the changelog before changing.
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -17,16 +17,19 @@ let
 | 
				
			||||||
      inkscape
 | 
					      inkscape
 | 
				
			||||||
      darktable
 | 
					      darktable
 | 
				
			||||||
      exiftool
 | 
					      exiftool
 | 
				
			||||||
      gimp3
 | 
					 | 
				
			||||||
    ]
 | 
					    ]
 | 
				
			||||||
    ++ (with gimp3Plugins; [
 | 
					    ++ (with gimp3Plugins; [
 | 
				
			||||||
      #fourier  # broken
 | 
					      #fourier  # broken
 | 
				
			||||||
      #lqrPlugin  # broken
 | 
					      #lqrPlugin  # broken
 | 
				
			||||||
    ])
 | 
					    ])
 | 
				
			||||||
    ++ lib.optionals pkgs.stdenv.isLinux [
 | 
					    ++ lib.optionals pkgs.stdenv.isLinux [
 | 
				
			||||||
 | 
					      gimp3
 | 
				
			||||||
      hugin
 | 
					      hugin
 | 
				
			||||||
      #luminanceHDR  # FIXME, build failure
 | 
					      #luminanceHDR  # FIXME, build failure
 | 
				
			||||||
      xournalpp
 | 
					      xournalpp
 | 
				
			||||||
 | 
					    ]
 | 
				
			||||||
 | 
					    ++ lib.optionals pkgs.stdenv.isLinux [
 | 
				
			||||||
 | 
					      gimp
 | 
				
			||||||
    ];
 | 
					    ];
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  multimediaApps =
 | 
					  multimediaApps =
 | 
				
			||||||
| 
						 | 
					@ -142,7 +145,6 @@ let
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  desktopCommon = [
 | 
					  desktopCommon = [
 | 
				
			||||||
    keepassxc
 | 
					    keepassxc
 | 
				
			||||||
    tigervnc
 | 
					 | 
				
			||||||
  ];
 | 
					  ];
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  desktopLinux = [
 | 
					  desktopLinux = [
 | 
				
			||||||
| 
						 | 
					@ -171,6 +173,7 @@ let
 | 
				
			||||||
      mediaSupport = true;
 | 
					      mediaSupport = true;
 | 
				
			||||||
      pulseaudioSupport = pkgs.stdenv.isLinux;
 | 
					      pulseaudioSupport = pkgs.stdenv.isLinux;
 | 
				
			||||||
    })
 | 
					    })
 | 
				
			||||||
 | 
					    tigervnc
 | 
				
			||||||
    pdfpc
 | 
					    pdfpc
 | 
				
			||||||
    nheko
 | 
					    nheko
 | 
				
			||||||
    gpxsee
 | 
					    gpxsee
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -33,4 +33,7 @@
 | 
				
			||||||
  # servers. You should change this only after NixOS release notes say you
 | 
					  # servers. You should change this only after NixOS release notes say you
 | 
				
			||||||
  # should.
 | 
					  # should.
 | 
				
			||||||
  system.stateVersion = "18.09"; # Did you read the comment?
 | 
					  system.stateVersion = "18.09"; # Did you read the comment?
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  # since 25.05, this broke and started to slow down system startup. tpm is currently not utilised on this host, so simply disable.
 | 
				
			||||||
 | 
					  security.tpm2.enable = false;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -21,7 +21,6 @@
 | 
				
			||||||
  boot.extraModulePackages = [ ];
 | 
					  boot.extraModulePackages = [ ];
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  nix.settings.max-jobs = lib.mkDefault 4;
 | 
					  nix.settings.max-jobs = lib.mkDefault 4;
 | 
				
			||||||
  powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
  # modesetting is always better than intel (legacy)
 | 
					  # modesetting is always better than intel (legacy)
 | 
				
			||||||
  services.xserver.videoDrivers = [ "modesetting" ];
 | 
					  services.xserver.videoDrivers = [ "modesetting" ];
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue