Change-Id: I7753ccb53ce7a692b79f46e62ce395dfd1770edf Reviewed-on: https://cl.tvl.fyi/c/depot/+/5950 Reviewed-by: tazjin <tazjin@tvl.su> Autosubmit: tazjin <tazjin@tvl.su> Tested-by: BuildkiteCI
		
			
				
	
	
		
			95 lines
		
	
	
	
		
			1.7 KiB
		
	
	
	
		
			Nix
		
	
	
	
	
	
			
		
		
	
	
			95 lines
		
	
	
	
		
			1.7 KiB
		
	
	
	
		
			Nix
		
	
	
	
	
	
# Default configuration settings for physical machines that I use.
 | 
						|
{ lib, pkgs, depot, ... }:
 | 
						|
 | 
						|
let
 | 
						|
  pass-otp = pkgs.pass.withExtensions (e: [ e.pass-otp ]);
 | 
						|
in
 | 
						|
{
 | 
						|
  # Install all the default software.
 | 
						|
  environment.systemPackages =
 | 
						|
    # programs from the depot
 | 
						|
    (with depot; [
 | 
						|
      users.tazjin.screenLock
 | 
						|
      users.tazjin.emacs
 | 
						|
      third_party.agenix.cli
 | 
						|
      third_party.josh
 | 
						|
    ]) ++
 | 
						|
 | 
						|
    # programs from nixpkgs
 | 
						|
    (with pkgs; [
 | 
						|
      amber
 | 
						|
      bat
 | 
						|
      curl
 | 
						|
      ddcutil
 | 
						|
      direnv
 | 
						|
      dnsutils
 | 
						|
      electrum
 | 
						|
      emacsNativeComp # emacsclient
 | 
						|
      exa
 | 
						|
      fd
 | 
						|
      file
 | 
						|
      firefox
 | 
						|
      gdb
 | 
						|
      gh
 | 
						|
      git
 | 
						|
      gnupg
 | 
						|
      google-chrome
 | 
						|
      gtk3 # for gtk-launch
 | 
						|
      htop
 | 
						|
      hyperfine
 | 
						|
      iftop
 | 
						|
      imagemagick
 | 
						|
      jq
 | 
						|
      lieer
 | 
						|
      man-pages
 | 
						|
      moreutils
 | 
						|
      mosh
 | 
						|
      msmtp
 | 
						|
      mullvad-vpn
 | 
						|
      networkmanagerapplet
 | 
						|
      nix-prefetch-github
 | 
						|
      nmap
 | 
						|
      notmuch
 | 
						|
      openssh
 | 
						|
      openssl
 | 
						|
      pass-otp
 | 
						|
      pavucontrol
 | 
						|
      pinentry
 | 
						|
      pinentry-emacs
 | 
						|
      pulseaudio # for pactl
 | 
						|
      pwgen
 | 
						|
      quasselClient
 | 
						|
      rink
 | 
						|
      ripgrep
 | 
						|
      rust-analyzer
 | 
						|
      rustup
 | 
						|
      screen
 | 
						|
      scrot
 | 
						|
      thunderbird
 | 
						|
      tig
 | 
						|
      tokei
 | 
						|
      tree
 | 
						|
      unzip
 | 
						|
      vlc
 | 
						|
      volumeicon
 | 
						|
      whois
 | 
						|
      xclip
 | 
						|
      xsecurelock
 | 
						|
      zoxide
 | 
						|
    ]);
 | 
						|
 | 
						|
  # Run services & configure programs for all machines.
 | 
						|
  services = {
 | 
						|
    mullvad-vpn.enable = true;
 | 
						|
    fwupd.enable = true;
 | 
						|
  };
 | 
						|
 | 
						|
  # Disable the broken NetworkManager-wait-online.service
 | 
						|
  systemd.services.NetworkManager-wait-online.enable = lib.mkForce false;
 | 
						|
 | 
						|
  programs = {
 | 
						|
    fish.enable = true;
 | 
						|
    mosh.enable = true;
 | 
						|
    ssh.startAgent = true;
 | 
						|
  };
 | 
						|
}
 |