Compare commits
	
		
			No commits in common. "bd1a250b1f43657b907fa088284b37084cf38e21" and "c06bedc73ca434f4549271cdce01112cac63022f" have entirely different histories.
		
	
	
		
			bd1a250b1f
			...
			c06bedc73c
		
	
		
					 4 changed files with 47 additions and 50 deletions
				
			
		
							
								
								
									
										86
									
								
								flake.lock
									
										
									
										generated
									
									
									
								
							
							
						
						
									
										86
									
								
								flake.lock
									
										
									
										generated
									
									
									
								
							| 
						 | 
				
			
			@ -10,11 +10,11 @@
 | 
			
		|||
        "systems": "systems"
 | 
			
		||||
      },
 | 
			
		||||
      "locked": {
 | 
			
		||||
        "lastModified": 1716561646,
 | 
			
		||||
        "narHash": "sha256-UIGtLO89RxKt7RF2iEgPikSdU53r6v/6WYB0RW3k89I=",
 | 
			
		||||
        "lastModified": 1707830867,
 | 
			
		||||
        "narHash": "sha256-PAdwm5QqdlwIqGrfzzvzZubM+FXtilekQ/FA0cI49/o=",
 | 
			
		||||
        "owner": "ryantm",
 | 
			
		||||
        "repo": "agenix",
 | 
			
		||||
        "rev": "c2fc0762bbe8feb06a2e59a364fa81b3a57671c9",
 | 
			
		||||
        "rev": "8cb01a0e717311680e0cbca06a76cbceba6f3ed6",
 | 
			
		||||
        "type": "github"
 | 
			
		||||
      },
 | 
			
		||||
      "original": {
 | 
			
		||||
| 
						 | 
				
			
			@ -32,11 +32,11 @@
 | 
			
		|||
        "nixpkgs-stable": "nixpkgs-stable"
 | 
			
		||||
      },
 | 
			
		||||
      "locked": {
 | 
			
		||||
        "lastModified": 1711742460,
 | 
			
		||||
        "narHash": "sha256-0O4v6e4a1toxXZ2gf5INhg4WPE5C5T+SVvsBt+45Mcc=",
 | 
			
		||||
        "lastModified": 1707922053,
 | 
			
		||||
        "narHash": "sha256-wSZjK+rOXn+UQiP1NbdNn5/UW6UcBxjvlqr2wh++MbM=",
 | 
			
		||||
        "owner": "zhaofengli",
 | 
			
		||||
        "repo": "attic",
 | 
			
		||||
        "rev": "4dbdbee45728d8ce5788db6461aaaa89d98081f0",
 | 
			
		||||
        "rev": "6eabc3f02fae3683bffab483e614bebfcd476b21",
 | 
			
		||||
        "type": "github"
 | 
			
		||||
      },
 | 
			
		||||
      "original": {
 | 
			
		||||
| 
						 | 
				
			
			@ -55,11 +55,11 @@
 | 
			
		|||
        "stable": "stable"
 | 
			
		||||
      },
 | 
			
		||||
      "locked": {
 | 
			
		||||
        "lastModified": 1711386353,
 | 
			
		||||
        "narHash": "sha256-gWEpb8Hybnoqb4O4tmpohGZk6+aerAbJpywKcFIiMlg=",
 | 
			
		||||
        "lastModified": 1706509311,
 | 
			
		||||
        "narHash": "sha256-QQKQ6r3CID8aXn2ZXZ79ZJxdCOeVP+JTnOctDALErOw=",
 | 
			
		||||
        "owner": "zhaofengli",
 | 
			
		||||
        "repo": "colmena",
 | 
			
		||||
        "rev": "cd65ef7a25cdc75052fbd04b120aeb066c3881db",
 | 
			
		||||
        "rev": "c84ccd0a7a712475e861c2b111574472b1a8d0cd",
 | 
			
		||||
        "type": "github"
 | 
			
		||||
      },
 | 
			
		||||
      "original": {
 | 
			
		||||
| 
						 | 
				
			
			@ -118,11 +118,11 @@
 | 
			
		|||
        ]
 | 
			
		||||
      },
 | 
			
		||||
      "locked": {
 | 
			
		||||
        "lastModified": 1716431128,
 | 
			
		||||
        "narHash": "sha256-t3T8HlX3udO6f4ilLcN+j5eC3m2gqsouzSGiriKK6vk=",
 | 
			
		||||
        "lastModified": 1709439398,
 | 
			
		||||
        "narHash": "sha256-MW0zp3ta7SvdpjvhVCbtP20ewRwQZX2vRFn14gTc4Kg=",
 | 
			
		||||
        "owner": "nix-community",
 | 
			
		||||
        "repo": "disko",
 | 
			
		||||
        "rev": "7ffc4354dfeb37c8c725ae1465f04a9b45ec8606",
 | 
			
		||||
        "rev": "1f76b318aa11170c8ca8c225a9b4c458a5fcbb57",
 | 
			
		||||
        "type": "github"
 | 
			
		||||
      },
 | 
			
		||||
      "original": {
 | 
			
		||||
| 
						 | 
				
			
			@ -170,11 +170,11 @@
 | 
			
		|||
        ]
 | 
			
		||||
      },
 | 
			
		||||
      "locked": {
 | 
			
		||||
        "lastModified": 1715865404,
 | 
			
		||||
        "narHash": "sha256-/GJvTdTpuDjNn84j82cU6bXztE0MSkdnTWClUCRub78=",
 | 
			
		||||
        "lastModified": 1709336216,
 | 
			
		||||
        "narHash": "sha256-Dt/wOWeW6Sqm11Yh+2+t0dfEWxoMxGBvv3JpIocFl9E=",
 | 
			
		||||
        "owner": "hercules-ci",
 | 
			
		||||
        "repo": "flake-parts",
 | 
			
		||||
        "rev": "8dc45382d5206bd292f9c2768b8058a8fd8311d9",
 | 
			
		||||
        "rev": "f7b3c975cf067e56e7cda6cb098ebe3fb4d74ca2",
 | 
			
		||||
        "type": "github"
 | 
			
		||||
      },
 | 
			
		||||
      "original": {
 | 
			
		||||
| 
						 | 
				
			
			@ -257,27 +257,27 @@
 | 
			
		|||
        ]
 | 
			
		||||
      },
 | 
			
		||||
      "locked": {
 | 
			
		||||
        "lastModified": 1717527182,
 | 
			
		||||
        "narHash": "sha256-vWSkg6AMok1UUQiSYVdGMOXKD2cDFnajITiSi0Zjd1A=",
 | 
			
		||||
        "lastModified": 1706981411,
 | 
			
		||||
        "narHash": "sha256-cLbLPTL1CDmETVh4p0nQtvoF+FSEjsnJTFpTxhXywhQ=",
 | 
			
		||||
        "owner": "rycee",
 | 
			
		||||
        "repo": "home-manager",
 | 
			
		||||
        "rev": "845a5c4c073f74105022533907703441e0464bc3",
 | 
			
		||||
        "rev": "652fda4ca6dafeb090943422c34ae9145787af37",
 | 
			
		||||
        "type": "github"
 | 
			
		||||
      },
 | 
			
		||||
      "original": {
 | 
			
		||||
        "owner": "rycee",
 | 
			
		||||
        "ref": "release-24.05",
 | 
			
		||||
        "ref": "release-23.11",
 | 
			
		||||
        "repo": "home-manager",
 | 
			
		||||
        "type": "github"
 | 
			
		||||
      }
 | 
			
		||||
    },
 | 
			
		||||
    "nixos-hardware": {
 | 
			
		||||
      "locked": {
 | 
			
		||||
        "lastModified": 1716715385,
 | 
			
		||||
        "narHash": "sha256-fe6Z33pbfqu4TI5ijmcaNc5vRBs633tyxJ12HTghy3w=",
 | 
			
		||||
        "lastModified": 1709410583,
 | 
			
		||||
        "narHash": "sha256-esOSUoQ7mblwcsSea0K17McZuwAIjoS6dq/4b83+lvw=",
 | 
			
		||||
        "owner": "NixOS",
 | 
			
		||||
        "repo": "nixos-hardware",
 | 
			
		||||
        "rev": "2e7d6c568063c83355fe066b8a8917ee758de1b8",
 | 
			
		||||
        "rev": "59e37017b9ed31dee303dbbd4531c594df95cfbc",
 | 
			
		||||
        "type": "github"
 | 
			
		||||
      },
 | 
			
		||||
      "original": {
 | 
			
		||||
| 
						 | 
				
			
			@ -288,11 +288,11 @@
 | 
			
		|||
    },
 | 
			
		||||
    "nixpkgs": {
 | 
			
		||||
      "locked": {
 | 
			
		||||
        "lastModified": 1711401922,
 | 
			
		||||
        "narHash": "sha256-QoQqXoj8ClGo0sqD/qWKFWezgEwUL0SUh37/vY2jNhc=",
 | 
			
		||||
        "lastModified": 1702539185,
 | 
			
		||||
        "narHash": "sha256-KnIRG5NMdLIpEkZTnN5zovNYc0hhXjAgv6pfd5Z4c7U=",
 | 
			
		||||
        "owner": "NixOS",
 | 
			
		||||
        "repo": "nixpkgs",
 | 
			
		||||
        "rev": "07262b18b97000d16a4bdb003418bd2fb067a932",
 | 
			
		||||
        "rev": "aa9d4729cbc99dabacb50e3994dcefb3ea0f7447",
 | 
			
		||||
        "type": "github"
 | 
			
		||||
      },
 | 
			
		||||
      "original": {
 | 
			
		||||
| 
						 | 
				
			
			@ -304,11 +304,11 @@
 | 
			
		|||
    },
 | 
			
		||||
    "nixpkgs-stable": {
 | 
			
		||||
      "locked": {
 | 
			
		||||
        "lastModified": 1711460390,
 | 
			
		||||
        "narHash": "sha256-akSgjDZL6pVHEfSE6sz1DNSXuYX6hq+P/1Z5IoYWs7E=",
 | 
			
		||||
        "lastModified": 1702780907,
 | 
			
		||||
        "narHash": "sha256-blbrBBXjjZt6OKTcYX1jpe9SRof2P9ZYWPzq22tzXAA=",
 | 
			
		||||
        "owner": "NixOS",
 | 
			
		||||
        "repo": "nixpkgs",
 | 
			
		||||
        "rev": "44733514b72e732bd49f5511bd0203dea9b9a434",
 | 
			
		||||
        "rev": "1e2e384c5b7c50dbf8e9c441a9e58d85f408b01f",
 | 
			
		||||
        "type": "github"
 | 
			
		||||
      },
 | 
			
		||||
      "original": {
 | 
			
		||||
| 
						 | 
				
			
			@ -320,11 +320,11 @@
 | 
			
		|||
    },
 | 
			
		||||
    "nixpkgs-unstable": {
 | 
			
		||||
      "locked": {
 | 
			
		||||
        "lastModified": 1716715802,
 | 
			
		||||
        "narHash": "sha256-usk0vE7VlxPX8jOavrtpOqphdfqEQpf9lgedlY/r66c=",
 | 
			
		||||
        "lastModified": 1709356872,
 | 
			
		||||
        "narHash": "sha256-mvxCirJbtkP0cZ6ABdwcgTk0u3bgLoIoEFIoYBvD6+4=",
 | 
			
		||||
        "owner": "NixOS",
 | 
			
		||||
        "repo": "nixpkgs",
 | 
			
		||||
        "rev": "e2dd4e18cc1c7314e24154331bae07df76eb582f",
 | 
			
		||||
        "rev": "458b097d81f90275b3fdf03796f0563844926708",
 | 
			
		||||
        "type": "github"
 | 
			
		||||
      },
 | 
			
		||||
      "original": {
 | 
			
		||||
| 
						 | 
				
			
			@ -336,27 +336,27 @@
 | 
			
		|||
    },
 | 
			
		||||
    "nixpkgs_2": {
 | 
			
		||||
      "locked": {
 | 
			
		||||
        "lastModified": 1717796960,
 | 
			
		||||
        "narHash": "sha256-BKjQ9tQdsuoROrojHZb7KTAv95WprqCkNFvuzatfEo0=",
 | 
			
		||||
        "owner": "NixOS",
 | 
			
		||||
        "lastModified": 1716330751,
 | 
			
		||||
        "narHash": "sha256-JLvLi84gRMwgF9DumUwiOUA5UciXf9e2Aaa07sKx4Y0=",
 | 
			
		||||
        "owner": "pennae",
 | 
			
		||||
        "repo": "nixpkgs",
 | 
			
		||||
        "rev": "8e0a5f16b7bf7f212be068dd302c49888c6ad68f",
 | 
			
		||||
        "rev": "8e505de834edbac6d581589ebd18339c38d32731",
 | 
			
		||||
        "type": "github"
 | 
			
		||||
      },
 | 
			
		||||
      "original": {
 | 
			
		||||
        "owner": "NixOS",
 | 
			
		||||
        "ref": "nixos-24.05-small",
 | 
			
		||||
        "owner": "pennae",
 | 
			
		||||
        "repo": "nixpkgs",
 | 
			
		||||
        "rev": "8e505de834edbac6d581589ebd18339c38d32731",
 | 
			
		||||
        "type": "github"
 | 
			
		||||
      }
 | 
			
		||||
    },
 | 
			
		||||
    "nur": {
 | 
			
		||||
      "locked": {
 | 
			
		||||
        "lastModified": 1716741358,
 | 
			
		||||
        "narHash": "sha256-4bxptwbmplGKq3W4tl6Zem/bOHsdLP4DSPcm/FfCaFE=",
 | 
			
		||||
        "lastModified": 1709439575,
 | 
			
		||||
        "narHash": "sha256-49f8WbTUE4C8VrIxS2DrINOncakhFChcmZ6xccVSfkA=",
 | 
			
		||||
        "owner": "nix-community",
 | 
			
		||||
        "repo": "NUR",
 | 
			
		||||
        "rev": "c65a3bde6793b437a705edfe5ff8435cbb8307a2",
 | 
			
		||||
        "rev": "075c3094d6c6c3fae0e107de41e2367d17341ac4",
 | 
			
		||||
        "type": "github"
 | 
			
		||||
      },
 | 
			
		||||
      "original": {
 | 
			
		||||
| 
						 | 
				
			
			@ -388,11 +388,11 @@
 | 
			
		|||
        ]
 | 
			
		||||
      },
 | 
			
		||||
      "locked": {
 | 
			
		||||
        "lastModified": 1716425501,
 | 
			
		||||
        "narHash": "sha256-BSLhmGYY1khyyBAjraR+N0Pa9Nha/et5yQQlEZxcfkU=",
 | 
			
		||||
        "lastModified": 1709301784,
 | 
			
		||||
        "narHash": "sha256-Yf7HeS2VZCD8kD/wEgnToyt9YqQhCle/9TazmFYnjsE=",
 | 
			
		||||
        "owner": "numtide",
 | 
			
		||||
        "repo": "srvos",
 | 
			
		||||
        "rev": "1122cd50a23647e09c3e7a679d37ec02113bc412",
 | 
			
		||||
        "rev": "9501896e0edf01d2cbd5fa6f0dbb3aafc00dae81",
 | 
			
		||||
        "type": "github"
 | 
			
		||||
      },
 | 
			
		||||
      "original": {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -10,13 +10,13 @@
 | 
			
		|||
    flake-parts.url = "github:hercules-ci/flake-parts";
 | 
			
		||||
    flake-parts.inputs.nixpkgs-lib.follows = "nixpkgs";
 | 
			
		||||
 | 
			
		||||
    nixpkgs.url = "github:NixOS/nixpkgs/nixos-24.05-small";
 | 
			
		||||
    nixpkgs.url = "github:pennae/nixpkgs/8e505de834edbac6d581589ebd18339c38d32731";
 | 
			
		||||
    nixpkgs-unstable.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
 | 
			
		||||
 | 
			
		||||
    nixos-hardware.url = "github:NixOS/nixos-hardware";
 | 
			
		||||
    nur.url = "github:nix-community/NUR";
 | 
			
		||||
 | 
			
		||||
    home-manager.url = "github:rycee/home-manager/release-24.05";
 | 
			
		||||
    home-manager.url = "github:rycee/home-manager/release-23.11";
 | 
			
		||||
    home-manager.inputs.nixpkgs.follows = "nixpkgs";
 | 
			
		||||
 | 
			
		||||
    agenix.url = "github:ryantm/agenix";
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -31,11 +31,7 @@ in
 | 
			
		|||
    ];
 | 
			
		||||
 | 
			
		||||
    # Makes the computer go faster.
 | 
			
		||||
    # nixos.jobserver.enable = true;
 | 
			
		||||
    # TODO(raito): rework this.
 | 
			
		||||
 | 
			
		||||
    # Avoid weird failures for builders.
 | 
			
		||||
    services.openssh.settings.MaxStartups = 100;
 | 
			
		||||
    nixos.jobserver.enable = true;
 | 
			
		||||
 | 
			
		||||
    # Memory accounting techniques
 | 
			
		||||
    systemd.services.nix-daemon.serviceConfig = {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -22,6 +22,7 @@ in
 | 
			
		|||
      luj = {
 | 
			
		||||
        isNormalUser = true;
 | 
			
		||||
        home = "/home/luj";
 | 
			
		||||
        inherit (config.users.users.raito);
 | 
			
		||||
        extraGroups = extraGroups ++ [ "production-hydra-db" ];
 | 
			
		||||
        shell = "/run/current-system/sw/bin/zsh";
 | 
			
		||||
        uid = 1001;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Reference in a new issue