Compare commits
	
		
			46 Commits
		
	
	
		
			temp-small
			...
			597339129b
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 
						
						
							
						
						597339129b
	
				 | 
					
					
						|||
| 
						
						
							
						
						35e6aefacd
	
				 | 
					
					
						|||
| 
						
						
							
						
						83d7042daf
	
				 | 
					
					
						|||
| 
						
						
							
						
						6e9fe2386f
	
				 | 
					
					
						|||
| 
						
						
							
						
						7e15151bec
	
				 | 
					
					
						|||
| 
						
						
							
						
						71b6ace553
	
				 | 
					
					
						|||
| 
						
						
							
						
						0f3820862c
	
				 | 
					
					
						|||
| 
						
						
							
						
						93d29d20e2
	
				 | 
					
					
						|||
| 
						
						
							
						
						b99de63d8e
	
				 | 
					
					
						|||
| 
						
						
							
						
						7ed4dedc88
	
				 | 
					
					
						|||
| 
						
						
							
						
						e11e7380c7
	
				 | 
					
					
						|||
| 
						
						
							
						
						d92be99f1b
	
				 | 
					
					
						|||
| 
						
						
							
						
						0b1007754d
	
				 | 
					
					
						|||
| 
						
						
							
						
						0a8217cdb1
	
				 | 
					
					
						|||
| 
						
						
							
						
						4bdadd098d
	
				 | 
					
					
						|||
| 
						
						
							
						
						8548ef4607
	
				 | 
					
					
						|||
| 
						
						
							
						
						79e434c804
	
				 | 
					
					
						|||
| 
						
						
							
						
						710c26038d
	
				 | 
					
					
						|||
| 
						
						
							
						
						6102b9583f
	
				 | 
					
					
						|||
| 
						
						
							
						
						7e2e81747b
	
				 | 
					
					
						|||
| 
						
						
							
						
						8f4ab78882
	
				 | 
					
					
						|||
| 
						
						
							
						
						f66192ad46
	
				 | 
					
					
						|||
| 
						
						
							
						
						42d41a59fd
	
				 | 
					
					
						|||
| 
						
						
							
						
						8b3f35bf7b
	
				 | 
					
					
						|||
| 
						
						
							
						
						c4278ea9ba
	
				 | 
					
					
						|||
| 
						
						
							
						
						8396f02fee
	
				 | 
					
					
						|||
| 
						
						
							
						
						972753cd72
	
				 | 
					
					
						|||
| 
						
						
							
						
						2187cd5a74
	
				 | 
					
					
						|||
| 
						
						
							
						
						83a88bccba
	
				 | 
					
					
						|||
| 
						
						
							
						
						7ddbbeec2f
	
				 | 
					
					
						|||
| 
						
						
							
						
						4bcb5fc686
	
				 | 
					
					
						|||
| 
						
						
							
						
						7cfb7fd2cf
	
				 | 
					
					
						|||
| 
						
						
							
						
						903d2f704a
	
				 | 
					
					
						|||
| 
						
						
							
						
						79bd3950e9
	
				 | 
					
					
						|||
| 
						
						
							
						
						4c178a9c0d
	
				 | 
					
					
						|||
| 
						
						
							
						
						7854ab9d55
	
				 | 
					
					
						|||
| 
						
						
							
						
						a64aa24153
	
				 | 
					
					
						|||
| 
						
						
							
						
						cc74e1bfe4
	
				 | 
					
					
						|||
| 
						
						
							
						
						23e24070cd
	
				 | 
					
					
						|||
| 
						
						
							
						
						4431e54740
	
				 | 
					
					
						|||
| 
						
						
							
						
						9b497a5174
	
				 | 
					
					
						|||
| 
						
						
							
						
						a21d90e1e6
	
				 | 
					
					
						|||
| 
						
						
							
						
						562cc5c5d7
	
				 | 
					
					
						|||
| 
						
						
							
						
						e0ca946086
	
				 | 
					
					
						|||
| 
						
						
							
						
						db5a0f2458
	
				 | 
					
					
						|||
| 
						
						
							
						
						68aafc6845
	
				 | 
					
					
						
							
								
								
									
										411
									
								
								flake.lock
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										411
									
								
								flake.lock
									
									
									
										generated
									
									
									
								
							@@ -1,77 +1,5 @@
 | 
				
			|||||||
{
 | 
					{
 | 
				
			||||||
  "nodes": {
 | 
					  "nodes": {
 | 
				
			||||||
    "flake-utils": {
 | 
					 | 
				
			||||||
      "inputs": {
 | 
					 | 
				
			||||||
        "systems": "systems"
 | 
					 | 
				
			||||||
      },
 | 
					 | 
				
			||||||
      "locked": {
 | 
					 | 
				
			||||||
        "lastModified": 1710146030,
 | 
					 | 
				
			||||||
        "narHash": "sha256-SZ5L6eA7HJ/nmkzGG7/ISclqe6oZdOZTNoesiInkXPQ=",
 | 
					 | 
				
			||||||
        "owner": "numtide",
 | 
					 | 
				
			||||||
        "repo": "flake-utils",
 | 
					 | 
				
			||||||
        "rev": "b1d9ab70662946ef0850d488da1c9019f3a9752a",
 | 
					 | 
				
			||||||
        "type": "github"
 | 
					 | 
				
			||||||
      },
 | 
					 | 
				
			||||||
      "original": {
 | 
					 | 
				
			||||||
        "owner": "numtide",
 | 
					 | 
				
			||||||
        "repo": "flake-utils",
 | 
					 | 
				
			||||||
        "type": "github"
 | 
					 | 
				
			||||||
      }
 | 
					 | 
				
			||||||
    },
 | 
					 | 
				
			||||||
    "flake-utils_2": {
 | 
					 | 
				
			||||||
      "inputs": {
 | 
					 | 
				
			||||||
        "systems": "systems_2"
 | 
					 | 
				
			||||||
      },
 | 
					 | 
				
			||||||
      "locked": {
 | 
					 | 
				
			||||||
        "lastModified": 1710146030,
 | 
					 | 
				
			||||||
        "narHash": "sha256-SZ5L6eA7HJ/nmkzGG7/ISclqe6oZdOZTNoesiInkXPQ=",
 | 
					 | 
				
			||||||
        "owner": "numtide",
 | 
					 | 
				
			||||||
        "repo": "flake-utils",
 | 
					 | 
				
			||||||
        "rev": "b1d9ab70662946ef0850d488da1c9019f3a9752a",
 | 
					 | 
				
			||||||
        "type": "github"
 | 
					 | 
				
			||||||
      },
 | 
					 | 
				
			||||||
      "original": {
 | 
					 | 
				
			||||||
        "owner": "numtide",
 | 
					 | 
				
			||||||
        "repo": "flake-utils",
 | 
					 | 
				
			||||||
        "type": "github"
 | 
					 | 
				
			||||||
      }
 | 
					 | 
				
			||||||
    },
 | 
					 | 
				
			||||||
    "flake-utils_3": {
 | 
					 | 
				
			||||||
      "inputs": {
 | 
					 | 
				
			||||||
        "systems": "systems_4"
 | 
					 | 
				
			||||||
      },
 | 
					 | 
				
			||||||
      "locked": {
 | 
					 | 
				
			||||||
        "lastModified": 1726560853,
 | 
					 | 
				
			||||||
        "narHash": "sha256-X6rJYSESBVr3hBoH0WbKE5KvhPU5bloyZ2L4K60/fPQ=",
 | 
					 | 
				
			||||||
        "owner": "numtide",
 | 
					 | 
				
			||||||
        "repo": "flake-utils",
 | 
					 | 
				
			||||||
        "rev": "c1dfcf08411b08f6b8615f7d8971a2bfa81d5e8a",
 | 
					 | 
				
			||||||
        "type": "github"
 | 
					 | 
				
			||||||
      },
 | 
					 | 
				
			||||||
      "original": {
 | 
					 | 
				
			||||||
        "owner": "numtide",
 | 
					 | 
				
			||||||
        "repo": "flake-utils",
 | 
					 | 
				
			||||||
        "type": "github"
 | 
					 | 
				
			||||||
      }
 | 
					 | 
				
			||||||
    },
 | 
					 | 
				
			||||||
    "flake-utils_4": {
 | 
					 | 
				
			||||||
      "inputs": {
 | 
					 | 
				
			||||||
        "systems": "systems_5"
 | 
					 | 
				
			||||||
      },
 | 
					 | 
				
			||||||
      "locked": {
 | 
					 | 
				
			||||||
        "lastModified": 1726560853,
 | 
					 | 
				
			||||||
        "narHash": "sha256-X6rJYSESBVr3hBoH0WbKE5KvhPU5bloyZ2L4K60/fPQ=",
 | 
					 | 
				
			||||||
        "owner": "numtide",
 | 
					 | 
				
			||||||
        "repo": "flake-utils",
 | 
					 | 
				
			||||||
        "rev": "c1dfcf08411b08f6b8615f7d8971a2bfa81d5e8a",
 | 
					 | 
				
			||||||
        "type": "github"
 | 
					 | 
				
			||||||
      },
 | 
					 | 
				
			||||||
      "original": {
 | 
					 | 
				
			||||||
        "owner": "numtide",
 | 
					 | 
				
			||||||
        "repo": "flake-utils",
 | 
					 | 
				
			||||||
        "type": "github"
 | 
					 | 
				
			||||||
      }
 | 
					 | 
				
			||||||
    },
 | 
					 | 
				
			||||||
    "ghettoptt": {
 | 
					    "ghettoptt": {
 | 
				
			||||||
      "inputs": {
 | 
					      "inputs": {
 | 
				
			||||||
        "nixpkgs": [
 | 
					        "nixpkgs": [
 | 
				
			||||||
@@ -100,11 +28,11 @@
 | 
				
			|||||||
        ]
 | 
					        ]
 | 
				
			||||||
      },
 | 
					      },
 | 
				
			||||||
      "locked": {
 | 
					      "locked": {
 | 
				
			||||||
        "lastModified": 1732025103,
 | 
					        "lastModified": 1733175814,
 | 
				
			||||||
        "narHash": "sha256-qjEI64RKvDxRyEarY0jTzrZMa8ebezh2DEZmJJrpVdo=",
 | 
					        "narHash": "sha256-zFOtOaqjzZfPMsm1mwu98syv3y+jziAq5DfWygaMtLg=",
 | 
				
			||||||
        "owner": "nix-community",
 | 
					        "owner": "nix-community",
 | 
				
			||||||
        "repo": "home-manager",
 | 
					        "repo": "home-manager",
 | 
				
			||||||
        "rev": "a46e702093a5c46e192243edbd977d5749e7f294",
 | 
					        "rev": "bf23fe41082aa0289c209169302afd3397092f22",
 | 
				
			||||||
        "type": "github"
 | 
					        "type": "github"
 | 
				
			||||||
      },
 | 
					      },
 | 
				
			||||||
      "original": {
 | 
					      "original": {
 | 
				
			||||||
@@ -115,18 +43,19 @@
 | 
				
			|||||||
    },
 | 
					    },
 | 
				
			||||||
    "huecli": {
 | 
					    "huecli": {
 | 
				
			||||||
      "inputs": {
 | 
					      "inputs": {
 | 
				
			||||||
        "flake-utils": "flake-utils",
 | 
					 | 
				
			||||||
        "nixpkgs": [
 | 
					        "nixpkgs": [
 | 
				
			||||||
          "nixpkgs"
 | 
					          "nixpkgs"
 | 
				
			||||||
        ],
 | 
					        ],
 | 
				
			||||||
        "poetry2nix": "poetry2nix"
 | 
					        "pyproject-build-systems": "pyproject-build-systems",
 | 
				
			||||||
 | 
					        "pyproject-nix": "pyproject-nix",
 | 
				
			||||||
 | 
					        "uv2nix": "uv2nix"
 | 
				
			||||||
      },
 | 
					      },
 | 
				
			||||||
      "locked": {
 | 
					      "locked": {
 | 
				
			||||||
        "lastModified": 1728336978,
 | 
					        "lastModified": 1732927393,
 | 
				
			||||||
        "narHash": "sha256-7FX4K8QBH/9jiYyCMs2JyCTzlx1/D5Cw6upaFThSVg4=",
 | 
					        "narHash": "sha256-S/StGXd2t8VvvnZ81uPyggc0dHfgHyrFMmXWkGhsJqg=",
 | 
				
			||||||
        "ref": "master",
 | 
					        "ref": "master",
 | 
				
			||||||
        "rev": "700ece0bada9833fcfd3b6ce698cd74bc00e4493",
 | 
					        "rev": "c2ff98ce55605e57370ea216300d0e58df602c26",
 | 
				
			||||||
        "revCount": 22,
 | 
					        "revCount": 31,
 | 
				
			||||||
        "type": "git",
 | 
					        "type": "git",
 | 
				
			||||||
        "url": "https://git.t-juice.club/torjus/huecli"
 | 
					        "url": "https://git.t-juice.club/torjus/huecli"
 | 
				
			||||||
      },
 | 
					      },
 | 
				
			||||||
@@ -136,50 +65,6 @@
 | 
				
			|||||||
        "url": "https://git.t-juice.club/torjus/huecli"
 | 
					        "url": "https://git.t-juice.club/torjus/huecli"
 | 
				
			||||||
      }
 | 
					      }
 | 
				
			||||||
    },
 | 
					    },
 | 
				
			||||||
    "nix-github-actions": {
 | 
					 | 
				
			||||||
      "inputs": {
 | 
					 | 
				
			||||||
        "nixpkgs": [
 | 
					 | 
				
			||||||
          "huecli",
 | 
					 | 
				
			||||||
          "poetry2nix",
 | 
					 | 
				
			||||||
          "nixpkgs"
 | 
					 | 
				
			||||||
        ]
 | 
					 | 
				
			||||||
      },
 | 
					 | 
				
			||||||
      "locked": {
 | 
					 | 
				
			||||||
        "lastModified": 1703863825,
 | 
					 | 
				
			||||||
        "narHash": "sha256-rXwqjtwiGKJheXB43ybM8NwWB8rO2dSRrEqes0S7F5Y=",
 | 
					 | 
				
			||||||
        "owner": "nix-community",
 | 
					 | 
				
			||||||
        "repo": "nix-github-actions",
 | 
					 | 
				
			||||||
        "rev": "5163432afc817cf8bd1f031418d1869e4c9d5547",
 | 
					 | 
				
			||||||
        "type": "github"
 | 
					 | 
				
			||||||
      },
 | 
					 | 
				
			||||||
      "original": {
 | 
					 | 
				
			||||||
        "owner": "nix-community",
 | 
					 | 
				
			||||||
        "repo": "nix-github-actions",
 | 
					 | 
				
			||||||
        "type": "github"
 | 
					 | 
				
			||||||
      }
 | 
					 | 
				
			||||||
    },
 | 
					 | 
				
			||||||
    "nix-github-actions_2": {
 | 
					 | 
				
			||||||
      "inputs": {
 | 
					 | 
				
			||||||
        "nixpkgs": [
 | 
					 | 
				
			||||||
          "nixprstatus",
 | 
					 | 
				
			||||||
          "poetry2nix",
 | 
					 | 
				
			||||||
          "nixpkgs"
 | 
					 | 
				
			||||||
        ]
 | 
					 | 
				
			||||||
      },
 | 
					 | 
				
			||||||
      "locked": {
 | 
					 | 
				
			||||||
        "lastModified": 1720066371,
 | 
					 | 
				
			||||||
        "narHash": "sha256-uPlLYH2S0ACj0IcgaK9Lsf4spmJoGejR9DotXiXSBZQ=",
 | 
					 | 
				
			||||||
        "owner": "nix-community",
 | 
					 | 
				
			||||||
        "repo": "nix-github-actions",
 | 
					 | 
				
			||||||
        "rev": "622f829f5fe69310a866c8a6cd07e747c44ef820",
 | 
					 | 
				
			||||||
        "type": "github"
 | 
					 | 
				
			||||||
      },
 | 
					 | 
				
			||||||
      "original": {
 | 
					 | 
				
			||||||
        "owner": "nix-community",
 | 
					 | 
				
			||||||
        "repo": "nix-github-actions",
 | 
					 | 
				
			||||||
        "type": "github"
 | 
					 | 
				
			||||||
      }
 | 
					 | 
				
			||||||
    },
 | 
					 | 
				
			||||||
    "nix-packages": {
 | 
					    "nix-packages": {
 | 
				
			||||||
      "inputs": {
 | 
					      "inputs": {
 | 
				
			||||||
        "nixpkgs": [
 | 
					        "nixpkgs": [
 | 
				
			||||||
@@ -203,11 +88,11 @@
 | 
				
			|||||||
    },
 | 
					    },
 | 
				
			||||||
    "nixpkgs": {
 | 
					    "nixpkgs": {
 | 
				
			||||||
      "locked": {
 | 
					      "locked": {
 | 
				
			||||||
        "lastModified": 1731676054,
 | 
					        "lastModified": 1733015953,
 | 
				
			||||||
        "narHash": "sha256-OZiZ3m8SCMfh3B6bfGC/Bm4x3qc1m2SVEAlkV6iY7Yg=",
 | 
					        "narHash": "sha256-t4BBVpwG9B4hLgc6GUBuj3cjU7lP/PJfpTHuSqE+crk=",
 | 
				
			||||||
        "owner": "nixos",
 | 
					        "owner": "nixos",
 | 
				
			||||||
        "repo": "nixpkgs",
 | 
					        "repo": "nixpkgs",
 | 
				
			||||||
        "rev": "5e4fbfb6b3de1aa2872b76d49fafc942626e2add",
 | 
					        "rev": "ac35b104800bff9028425fec3b6e8a41de2bbfff",
 | 
				
			||||||
        "type": "github"
 | 
					        "type": "github"
 | 
				
			||||||
      },
 | 
					      },
 | 
				
			||||||
      "original": {
 | 
					      "original": {
 | 
				
			||||||
@@ -217,29 +102,13 @@
 | 
				
			|||||||
        "type": "github"
 | 
					        "type": "github"
 | 
				
			||||||
      }
 | 
					      }
 | 
				
			||||||
    },
 | 
					    },
 | 
				
			||||||
    "nixpkgs-small": {
 | 
					 | 
				
			||||||
      "locked": {
 | 
					 | 
				
			||||||
        "lastModified": 1732007104,
 | 
					 | 
				
			||||||
        "narHash": "sha256-qaWPxgLAvtIHTDcm0qJuc+WNYjcy4ZKigOyn2ag4ihM=",
 | 
					 | 
				
			||||||
        "owner": "nixos",
 | 
					 | 
				
			||||||
        "repo": "nixpkgs",
 | 
					 | 
				
			||||||
        "rev": "0705964c881cea8896474610188905ba41b59b08",
 | 
					 | 
				
			||||||
        "type": "github"
 | 
					 | 
				
			||||||
      },
 | 
					 | 
				
			||||||
      "original": {
 | 
					 | 
				
			||||||
        "owner": "nixos",
 | 
					 | 
				
			||||||
        "ref": "nixos-unstable-small",
 | 
					 | 
				
			||||||
        "repo": "nixpkgs",
 | 
					 | 
				
			||||||
        "type": "github"
 | 
					 | 
				
			||||||
      }
 | 
					 | 
				
			||||||
    },
 | 
					 | 
				
			||||||
    "nixpkgs-stable": {
 | 
					    "nixpkgs-stable": {
 | 
				
			||||||
      "locked": {
 | 
					      "locked": {
 | 
				
			||||||
        "lastModified": 1731755305,
 | 
					        "lastModified": 1732981179,
 | 
				
			||||||
        "narHash": "sha256-v5P3dk5JdiT+4x69ZaB18B8+Rcu3TIOrcdG4uEX7WZ8=",
 | 
					        "narHash": "sha256-F7thesZPvAMSwjRu0K8uFshTk3ZZSNAsXTIFvXBT+34=",
 | 
				
			||||||
        "owner": "nixos",
 | 
					        "owner": "nixos",
 | 
				
			||||||
        "repo": "nixpkgs",
 | 
					        "repo": "nixpkgs",
 | 
				
			||||||
        "rev": "057f63b6dc1a2c67301286152eb5af20747a9cb4",
 | 
					        "rev": "62c435d93bf046a5396f3016472e8f7c8e2aed65",
 | 
				
			||||||
        "type": "github"
 | 
					        "type": "github"
 | 
				
			||||||
      },
 | 
					      },
 | 
				
			||||||
      "original": {
 | 
					      "original": {
 | 
				
			||||||
@@ -251,18 +120,19 @@
 | 
				
			|||||||
    },
 | 
					    },
 | 
				
			||||||
    "nixprstatus": {
 | 
					    "nixprstatus": {
 | 
				
			||||||
      "inputs": {
 | 
					      "inputs": {
 | 
				
			||||||
        "flake-utils": "flake-utils_3",
 | 
					 | 
				
			||||||
        "nixpkgs": [
 | 
					        "nixpkgs": [
 | 
				
			||||||
          "nixpkgs"
 | 
					          "nixpkgs"
 | 
				
			||||||
        ],
 | 
					        ],
 | 
				
			||||||
        "poetry2nix": "poetry2nix_2"
 | 
					        "pyproject-build-systems": "pyproject-build-systems_2",
 | 
				
			||||||
 | 
					        "pyproject-nix": "pyproject-nix_2",
 | 
				
			||||||
 | 
					        "uv2nix": "uv2nix_2"
 | 
				
			||||||
      },
 | 
					      },
 | 
				
			||||||
      "locked": {
 | 
					      "locked": {
 | 
				
			||||||
        "lastModified": 1729118937,
 | 
					        "lastModified": 1733204290,
 | 
				
			||||||
        "narHash": "sha256-7xYCJXTh92OpKwfshYYnxrWmfNjqaH9SzQ0stuBARVM=",
 | 
					        "narHash": "sha256-I7rct67R/zkoXZ//EI2DxFOVSZRNanITQwbkrtNjP2g=",
 | 
				
			||||||
        "ref": "master",
 | 
					        "ref": "master",
 | 
				
			||||||
        "rev": "58b113d934f5d62f27dc50439b89fece4eb621f5",
 | 
					        "rev": "d1b8c63d604016d1520e7d1780439ebfe271a234",
 | 
				
			||||||
        "revCount": 37,
 | 
					        "revCount": 43,
 | 
				
			||||||
        "type": "git",
 | 
					        "type": "git",
 | 
				
			||||||
        "url": "https://git.t-juice.club/torjus/nixprstatus"
 | 
					        "url": "https://git.t-juice.club/torjus/nixprstatus"
 | 
				
			||||||
      },
 | 
					      },
 | 
				
			||||||
@@ -272,53 +142,103 @@
 | 
				
			|||||||
        "url": "https://git.t-juice.club/torjus/nixprstatus"
 | 
					        "url": "https://git.t-juice.club/torjus/nixprstatus"
 | 
				
			||||||
      }
 | 
					      }
 | 
				
			||||||
    },
 | 
					    },
 | 
				
			||||||
    "poetry2nix": {
 | 
					    "pyproject-build-systems": {
 | 
				
			||||||
      "inputs": {
 | 
					      "inputs": {
 | 
				
			||||||
        "flake-utils": "flake-utils_2",
 | 
					 | 
				
			||||||
        "nix-github-actions": "nix-github-actions",
 | 
					 | 
				
			||||||
        "nixpkgs": [
 | 
					        "nixpkgs": [
 | 
				
			||||||
          "huecli",
 | 
					          "huecli",
 | 
				
			||||||
          "nixpkgs"
 | 
					          "nixpkgs"
 | 
				
			||||||
        ],
 | 
					        ],
 | 
				
			||||||
        "systems": "systems_3",
 | 
					        "pyproject-nix": [
 | 
				
			||||||
        "treefmt-nix": "treefmt-nix"
 | 
					          "huecli",
 | 
				
			||||||
 | 
					          "pyproject-nix"
 | 
				
			||||||
 | 
					        ],
 | 
				
			||||||
 | 
					        "uv2nix": [
 | 
				
			||||||
 | 
					          "huecli",
 | 
				
			||||||
 | 
					          "uv2nix"
 | 
				
			||||||
 | 
					        ]
 | 
				
			||||||
      },
 | 
					      },
 | 
				
			||||||
      "locked": {
 | 
					      "locked": {
 | 
				
			||||||
        "lastModified": 1724208502,
 | 
					        "lastModified": 1732506638,
 | 
				
			||||||
        "narHash": "sha256-TCRcEPSfgAw/t7kClmlr23s591N06mQCrhzlAO7cyFw=",
 | 
					        "narHash": "sha256-aIjGCa8Lvhb8QnbHPOtkZ6yTrb8KURRlYzlo7UaBeac=",
 | 
				
			||||||
        "owner": "nix-community",
 | 
					        "owner": "pyproject-nix",
 | 
				
			||||||
        "repo": "poetry2nix",
 | 
					        "repo": "build-system-pkgs",
 | 
				
			||||||
        "rev": "884b66152b0c625b8220b570a31dc7acc36749a3",
 | 
					        "rev": "70c271e7a64199c71c9dbcbe513c7b2402573789",
 | 
				
			||||||
        "type": "github"
 | 
					        "type": "github"
 | 
				
			||||||
      },
 | 
					      },
 | 
				
			||||||
      "original": {
 | 
					      "original": {
 | 
				
			||||||
        "owner": "nix-community",
 | 
					        "owner": "pyproject-nix",
 | 
				
			||||||
        "repo": "poetry2nix",
 | 
					        "repo": "build-system-pkgs",
 | 
				
			||||||
        "type": "github"
 | 
					        "type": "github"
 | 
				
			||||||
      }
 | 
					      }
 | 
				
			||||||
    },
 | 
					    },
 | 
				
			||||||
    "poetry2nix_2": {
 | 
					    "pyproject-build-systems_2": {
 | 
				
			||||||
      "inputs": {
 | 
					      "inputs": {
 | 
				
			||||||
        "flake-utils": "flake-utils_4",
 | 
					 | 
				
			||||||
        "nix-github-actions": "nix-github-actions_2",
 | 
					 | 
				
			||||||
        "nixpkgs": [
 | 
					        "nixpkgs": [
 | 
				
			||||||
          "nixprstatus",
 | 
					          "nixprstatus",
 | 
				
			||||||
          "nixpkgs"
 | 
					          "nixpkgs"
 | 
				
			||||||
        ],
 | 
					        ],
 | 
				
			||||||
        "systems": "systems_6",
 | 
					        "pyproject-nix": [
 | 
				
			||||||
        "treefmt-nix": "treefmt-nix_2"
 | 
					          "nixprstatus",
 | 
				
			||||||
 | 
					          "pyproject-nix"
 | 
				
			||||||
 | 
					        ],
 | 
				
			||||||
 | 
					        "uv2nix": [
 | 
				
			||||||
 | 
					          "nixprstatus",
 | 
				
			||||||
 | 
					          "uv2nix"
 | 
				
			||||||
 | 
					        ]
 | 
				
			||||||
      },
 | 
					      },
 | 
				
			||||||
      "locked": {
 | 
					      "locked": {
 | 
				
			||||||
        "lastModified": 1729073785,
 | 
					        "lastModified": 1733103007,
 | 
				
			||||||
        "narHash": "sha256-KaDC7emuamQblDdka+gkBUUdEjQf3YGYozMb+zomgSM=",
 | 
					        "narHash": "sha256-7xEh7JboF6tTyzfIRbPcb7OtwZsIPBLUfg9mkv6Yum0=",
 | 
				
			||||||
        "owner": "nix-community",
 | 
					        "owner": "pyproject-nix",
 | 
				
			||||||
        "repo": "poetry2nix",
 | 
					        "repo": "build-system-pkgs",
 | 
				
			||||||
        "rev": "795fddefc9f910671c1cf0752c29802ce27322d6",
 | 
					        "rev": "52f42c78204f705289339a27e0f2a2e38dc25899",
 | 
				
			||||||
        "type": "github"
 | 
					        "type": "github"
 | 
				
			||||||
      },
 | 
					      },
 | 
				
			||||||
      "original": {
 | 
					      "original": {
 | 
				
			||||||
        "owner": "nix-community",
 | 
					        "owner": "pyproject-nix",
 | 
				
			||||||
        "repo": "poetry2nix",
 | 
					        "repo": "build-system-pkgs",
 | 
				
			||||||
 | 
					        "type": "github"
 | 
				
			||||||
 | 
					      }
 | 
				
			||||||
 | 
					    },
 | 
				
			||||||
 | 
					    "pyproject-nix": {
 | 
				
			||||||
 | 
					      "inputs": {
 | 
				
			||||||
 | 
					        "nixpkgs": [
 | 
				
			||||||
 | 
					          "huecli",
 | 
				
			||||||
 | 
					          "nixpkgs"
 | 
				
			||||||
 | 
					        ]
 | 
				
			||||||
 | 
					      },
 | 
				
			||||||
 | 
					      "locked": {
 | 
				
			||||||
 | 
					        "lastModified": 1732502826,
 | 
				
			||||||
 | 
					        "narHash": "sha256-tgInDnNOGd5haarL7i94TZ/TqOR1UHvYliw+Db0lk6U=",
 | 
				
			||||||
 | 
					        "owner": "pyproject-nix",
 | 
				
			||||||
 | 
					        "repo": "pyproject.nix",
 | 
				
			||||||
 | 
					        "rev": "fb87b3bad09fbd71b448e2f71f0337087430dbc7",
 | 
				
			||||||
 | 
					        "type": "github"
 | 
				
			||||||
 | 
					      },
 | 
				
			||||||
 | 
					      "original": {
 | 
				
			||||||
 | 
					        "owner": "pyproject-nix",
 | 
				
			||||||
 | 
					        "repo": "pyproject.nix",
 | 
				
			||||||
 | 
					        "type": "github"
 | 
				
			||||||
 | 
					      }
 | 
				
			||||||
 | 
					    },
 | 
				
			||||||
 | 
					    "pyproject-nix_2": {
 | 
				
			||||||
 | 
					      "inputs": {
 | 
				
			||||||
 | 
					        "nixpkgs": [
 | 
				
			||||||
 | 
					          "nixprstatus",
 | 
				
			||||||
 | 
					          "nixpkgs"
 | 
				
			||||||
 | 
					        ]
 | 
				
			||||||
 | 
					      },
 | 
				
			||||||
 | 
					      "locked": {
 | 
				
			||||||
 | 
					        "lastModified": 1733112511,
 | 
				
			||||||
 | 
					        "narHash": "sha256-qQd6K8RYZpwEeawyqSnDkFCPZAIbz8c7BP9490EsgQM=",
 | 
				
			||||||
 | 
					        "owner": "pyproject-nix",
 | 
				
			||||||
 | 
					        "repo": "pyproject.nix",
 | 
				
			||||||
 | 
					        "rev": "60b55f8095cc1909d1c8f1806431f0f7f5f3fc32",
 | 
				
			||||||
 | 
					        "type": "github"
 | 
				
			||||||
 | 
					      },
 | 
				
			||||||
 | 
					      "original": {
 | 
				
			||||||
 | 
					        "owner": "pyproject-nix",
 | 
				
			||||||
 | 
					        "repo": "pyproject.nix",
 | 
				
			||||||
        "type": "github"
 | 
					        "type": "github"
 | 
				
			||||||
      }
 | 
					      }
 | 
				
			||||||
    },
 | 
					    },
 | 
				
			||||||
@@ -329,7 +249,6 @@
 | 
				
			|||||||
        "huecli": "huecli",
 | 
					        "huecli": "huecli",
 | 
				
			||||||
        "nix-packages": "nix-packages",
 | 
					        "nix-packages": "nix-packages",
 | 
				
			||||||
        "nixpkgs": "nixpkgs",
 | 
					        "nixpkgs": "nixpkgs",
 | 
				
			||||||
        "nixpkgs-small": "nixpkgs-small",
 | 
					 | 
				
			||||||
        "nixpkgs-stable": "nixpkgs-stable",
 | 
					        "nixpkgs-stable": "nixpkgs-stable",
 | 
				
			||||||
        "nixprstatus": "nixprstatus",
 | 
					        "nixprstatus": "nixprstatus",
 | 
				
			||||||
        "sops-nix": "sops-nix"
 | 
					        "sops-nix": "sops-nix"
 | 
				
			||||||
@@ -342,11 +261,11 @@
 | 
				
			|||||||
        ]
 | 
					        ]
 | 
				
			||||||
      },
 | 
					      },
 | 
				
			||||||
      "locked": {
 | 
					      "locked": {
 | 
				
			||||||
        "lastModified": 1731954233,
 | 
					        "lastModified": 1733128155,
 | 
				
			||||||
        "narHash": "sha256-vvXx1m2Rsw7MkbKJdpcICzz4YPgZPApGKQGhNZfkhOI=",
 | 
					        "narHash": "sha256-m6/qwJAJYcidGMEdLqjKzRIjapK4nUfMq7rDCTmZajc=",
 | 
				
			||||||
        "owner": "Mic92",
 | 
					        "owner": "Mic92",
 | 
				
			||||||
        "repo": "sops-nix",
 | 
					        "repo": "sops-nix",
 | 
				
			||||||
        "rev": "e39947d0ee8e341fa7108bd02a33cdfa24a1360e",
 | 
					        "rev": "c6134b6fff6bda95a1ac872a2a9d5f32e3c37856",
 | 
				
			||||||
        "type": "github"
 | 
					        "type": "github"
 | 
				
			||||||
      },
 | 
					      },
 | 
				
			||||||
      "original": {
 | 
					      "original": {
 | 
				
			||||||
@@ -355,135 +274,53 @@
 | 
				
			|||||||
        "type": "github"
 | 
					        "type": "github"
 | 
				
			||||||
      }
 | 
					      }
 | 
				
			||||||
    },
 | 
					    },
 | 
				
			||||||
    "systems": {
 | 
					    "uv2nix": {
 | 
				
			||||||
      "locked": {
 | 
					 | 
				
			||||||
        "lastModified": 1681028828,
 | 
					 | 
				
			||||||
        "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
 | 
					 | 
				
			||||||
        "owner": "nix-systems",
 | 
					 | 
				
			||||||
        "repo": "default",
 | 
					 | 
				
			||||||
        "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
 | 
					 | 
				
			||||||
        "type": "github"
 | 
					 | 
				
			||||||
      },
 | 
					 | 
				
			||||||
      "original": {
 | 
					 | 
				
			||||||
        "owner": "nix-systems",
 | 
					 | 
				
			||||||
        "repo": "default",
 | 
					 | 
				
			||||||
        "type": "github"
 | 
					 | 
				
			||||||
      }
 | 
					 | 
				
			||||||
    },
 | 
					 | 
				
			||||||
    "systems_2": {
 | 
					 | 
				
			||||||
      "locked": {
 | 
					 | 
				
			||||||
        "lastModified": 1681028828,
 | 
					 | 
				
			||||||
        "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
 | 
					 | 
				
			||||||
        "owner": "nix-systems",
 | 
					 | 
				
			||||||
        "repo": "default",
 | 
					 | 
				
			||||||
        "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
 | 
					 | 
				
			||||||
        "type": "github"
 | 
					 | 
				
			||||||
      },
 | 
					 | 
				
			||||||
      "original": {
 | 
					 | 
				
			||||||
        "owner": "nix-systems",
 | 
					 | 
				
			||||||
        "repo": "default",
 | 
					 | 
				
			||||||
        "type": "github"
 | 
					 | 
				
			||||||
      }
 | 
					 | 
				
			||||||
    },
 | 
					 | 
				
			||||||
    "systems_3": {
 | 
					 | 
				
			||||||
      "locked": {
 | 
					 | 
				
			||||||
        "lastModified": 1681028828,
 | 
					 | 
				
			||||||
        "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
 | 
					 | 
				
			||||||
        "owner": "nix-systems",
 | 
					 | 
				
			||||||
        "repo": "default",
 | 
					 | 
				
			||||||
        "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
 | 
					 | 
				
			||||||
        "type": "github"
 | 
					 | 
				
			||||||
      },
 | 
					 | 
				
			||||||
      "original": {
 | 
					 | 
				
			||||||
        "id": "systems",
 | 
					 | 
				
			||||||
        "type": "indirect"
 | 
					 | 
				
			||||||
      }
 | 
					 | 
				
			||||||
    },
 | 
					 | 
				
			||||||
    "systems_4": {
 | 
					 | 
				
			||||||
      "locked": {
 | 
					 | 
				
			||||||
        "lastModified": 1681028828,
 | 
					 | 
				
			||||||
        "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
 | 
					 | 
				
			||||||
        "owner": "nix-systems",
 | 
					 | 
				
			||||||
        "repo": "default",
 | 
					 | 
				
			||||||
        "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
 | 
					 | 
				
			||||||
        "type": "github"
 | 
					 | 
				
			||||||
      },
 | 
					 | 
				
			||||||
      "original": {
 | 
					 | 
				
			||||||
        "owner": "nix-systems",
 | 
					 | 
				
			||||||
        "repo": "default",
 | 
					 | 
				
			||||||
        "type": "github"
 | 
					 | 
				
			||||||
      }
 | 
					 | 
				
			||||||
    },
 | 
					 | 
				
			||||||
    "systems_5": {
 | 
					 | 
				
			||||||
      "locked": {
 | 
					 | 
				
			||||||
        "lastModified": 1681028828,
 | 
					 | 
				
			||||||
        "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
 | 
					 | 
				
			||||||
        "owner": "nix-systems",
 | 
					 | 
				
			||||||
        "repo": "default",
 | 
					 | 
				
			||||||
        "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
 | 
					 | 
				
			||||||
        "type": "github"
 | 
					 | 
				
			||||||
      },
 | 
					 | 
				
			||||||
      "original": {
 | 
					 | 
				
			||||||
        "owner": "nix-systems",
 | 
					 | 
				
			||||||
        "repo": "default",
 | 
					 | 
				
			||||||
        "type": "github"
 | 
					 | 
				
			||||||
      }
 | 
					 | 
				
			||||||
    },
 | 
					 | 
				
			||||||
    "systems_6": {
 | 
					 | 
				
			||||||
      "locked": {
 | 
					 | 
				
			||||||
        "lastModified": 1681028828,
 | 
					 | 
				
			||||||
        "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
 | 
					 | 
				
			||||||
        "owner": "nix-systems",
 | 
					 | 
				
			||||||
        "repo": "default",
 | 
					 | 
				
			||||||
        "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
 | 
					 | 
				
			||||||
        "type": "github"
 | 
					 | 
				
			||||||
      },
 | 
					 | 
				
			||||||
      "original": {
 | 
					 | 
				
			||||||
        "id": "systems",
 | 
					 | 
				
			||||||
        "type": "indirect"
 | 
					 | 
				
			||||||
      }
 | 
					 | 
				
			||||||
    },
 | 
					 | 
				
			||||||
    "treefmt-nix": {
 | 
					 | 
				
			||||||
      "inputs": {
 | 
					      "inputs": {
 | 
				
			||||||
        "nixpkgs": [
 | 
					        "nixpkgs": [
 | 
				
			||||||
          "huecli",
 | 
					          "huecli",
 | 
				
			||||||
          "poetry2nix",
 | 
					 | 
				
			||||||
          "nixpkgs"
 | 
					          "nixpkgs"
 | 
				
			||||||
 | 
					        ],
 | 
				
			||||||
 | 
					        "pyproject-nix": [
 | 
				
			||||||
 | 
					          "huecli",
 | 
				
			||||||
 | 
					          "pyproject-nix"
 | 
				
			||||||
        ]
 | 
					        ]
 | 
				
			||||||
      },
 | 
					      },
 | 
				
			||||||
      "locked": {
 | 
					      "locked": {
 | 
				
			||||||
        "lastModified": 1719749022,
 | 
					        "lastModified": 1732759365,
 | 
				
			||||||
        "narHash": "sha256-ddPKHcqaKCIFSFc/cvxS14goUhCOAwsM1PbMr0ZtHMg=",
 | 
					        "narHash": "sha256-kOOlzfAsFpfiLltRbqFysVhT86erXVe4TZCNIq5zv0o=",
 | 
				
			||||||
        "owner": "numtide",
 | 
					        "owner": "pyproject-nix",
 | 
				
			||||||
        "repo": "treefmt-nix",
 | 
					        "repo": "uv2nix",
 | 
				
			||||||
        "rev": "8df5ff62195d4e67e2264df0b7f5e8c9995fd0bd",
 | 
					        "rev": "f932943b62a0b4fade224f18df13558f8015dd99",
 | 
				
			||||||
        "type": "github"
 | 
					        "type": "github"
 | 
				
			||||||
      },
 | 
					      },
 | 
				
			||||||
      "original": {
 | 
					      "original": {
 | 
				
			||||||
        "owner": "numtide",
 | 
					        "owner": "pyproject-nix",
 | 
				
			||||||
        "repo": "treefmt-nix",
 | 
					        "repo": "uv2nix",
 | 
				
			||||||
        "type": "github"
 | 
					        "type": "github"
 | 
				
			||||||
      }
 | 
					      }
 | 
				
			||||||
    },
 | 
					    },
 | 
				
			||||||
    "treefmt-nix_2": {
 | 
					    "uv2nix_2": {
 | 
				
			||||||
      "inputs": {
 | 
					      "inputs": {
 | 
				
			||||||
        "nixpkgs": [
 | 
					        "nixpkgs": [
 | 
				
			||||||
          "nixprstatus",
 | 
					          "nixprstatus",
 | 
				
			||||||
          "poetry2nix",
 | 
					 | 
				
			||||||
          "nixpkgs"
 | 
					          "nixpkgs"
 | 
				
			||||||
 | 
					        ],
 | 
				
			||||||
 | 
					        "pyproject-nix": [
 | 
				
			||||||
 | 
					          "nixprstatus",
 | 
				
			||||||
 | 
					          "pyproject-nix"
 | 
				
			||||||
        ]
 | 
					        ]
 | 
				
			||||||
      },
 | 
					      },
 | 
				
			||||||
      "locked": {
 | 
					      "locked": {
 | 
				
			||||||
        "lastModified": 1727984844,
 | 
					        "lastModified": 1733106626,
 | 
				
			||||||
        "narHash": "sha256-xpRqITAoD8rHlXQafYZOLvUXCF6cnZkPfoq67ThN0Hc=",
 | 
					        "narHash": "sha256-kXgLAT2dnRbUeg8/ekx0d5Svc+7GPpoamGBNgcYu46Y=",
 | 
				
			||||||
        "owner": "numtide",
 | 
					        "owner": "pyproject-nix",
 | 
				
			||||||
        "repo": "treefmt-nix",
 | 
					        "repo": "uv2nix",
 | 
				
			||||||
        "rev": "4446c7a6fc0775df028c5a3f6727945ba8400e64",
 | 
					        "rev": "3614215065f1c828e5d5c1653af5cba078387a78",
 | 
				
			||||||
        "type": "github"
 | 
					        "type": "github"
 | 
				
			||||||
      },
 | 
					      },
 | 
				
			||||||
      "original": {
 | 
					      "original": {
 | 
				
			||||||
        "owner": "numtide",
 | 
					        "owner": "pyproject-nix",
 | 
				
			||||||
        "repo": "treefmt-nix",
 | 
					        "repo": "uv2nix",
 | 
				
			||||||
        "type": "github"
 | 
					        "type": "github"
 | 
				
			||||||
      }
 | 
					      }
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										14
									
								
								flake.nix
									
									
									
									
									
								
							
							
						
						
									
										14
									
								
								flake.nix
									
									
									
									
									
								
							@@ -5,7 +5,6 @@
 | 
				
			|||||||
    nixpkgs-stable.url = "github:nixos/nixpkgs?ref=nixos-24.11";
 | 
					    nixpkgs-stable.url = "github:nixos/nixpkgs?ref=nixos-24.11";
 | 
				
			||||||
    #nixpkgs-master.url = "github:nixos/nixpkgs?ref=master";
 | 
					    #nixpkgs-master.url = "github:nixos/nixpkgs?ref=master";
 | 
				
			||||||
    nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable";
 | 
					    nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable";
 | 
				
			||||||
    nixpkgs-small.url = "github:nixos/nixpkgs?ref=nixos-unstable-small";
 | 
					 | 
				
			||||||
    home-manager = {
 | 
					    home-manager = {
 | 
				
			||||||
      url = "github:nix-community/home-manager";
 | 
					      url = "github:nix-community/home-manager";
 | 
				
			||||||
      inputs.nixpkgs.follows = "nixpkgs";
 | 
					      inputs.nixpkgs.follows = "nixpkgs";
 | 
				
			||||||
@@ -39,7 +38,6 @@
 | 
				
			|||||||
      nixpkgs,
 | 
					      nixpkgs,
 | 
				
			||||||
      # nixpkgs-master,
 | 
					      # nixpkgs-master,
 | 
				
			||||||
      nixpkgs-stable,
 | 
					      nixpkgs-stable,
 | 
				
			||||||
      nixpkgs-small,
 | 
					 | 
				
			||||||
      nixprstatus,
 | 
					      nixprstatus,
 | 
				
			||||||
      sops-nix,
 | 
					      sops-nix,
 | 
				
			||||||
      ghettoptt,
 | 
					      ghettoptt,
 | 
				
			||||||
@@ -56,17 +54,6 @@
 | 
				
			|||||||
          config.allowUnfree = true;
 | 
					          config.allowUnfree = true;
 | 
				
			||||||
        };
 | 
					        };
 | 
				
			||||||
      };
 | 
					      };
 | 
				
			||||||
      overlay-pyside6 =
 | 
					 | 
				
			||||||
        final: prev:
 | 
					 | 
				
			||||||
        let
 | 
					 | 
				
			||||||
          small = import nixpkgs-small {
 | 
					 | 
				
			||||||
            inherit system;
 | 
					 | 
				
			||||||
            config.allowUnfree = true;
 | 
					 | 
				
			||||||
          };
 | 
					 | 
				
			||||||
        in
 | 
					 | 
				
			||||||
        {
 | 
					 | 
				
			||||||
          python312Packages = small.lib.warn "Using python312Packages from nixos-unstable-small #" small.python312Packages;
 | 
					 | 
				
			||||||
        };
 | 
					 | 
				
			||||||
      # overlay-master = final: prev: {
 | 
					      # overlay-master = final: prev: {
 | 
				
			||||||
      #   master = import nixpkgs-master {
 | 
					      #   master = import nixpkgs-master {
 | 
				
			||||||
      #     inherit system;
 | 
					      #     inherit system;
 | 
				
			||||||
@@ -84,7 +71,6 @@
 | 
				
			|||||||
      commonOverlays = [
 | 
					      commonOverlays = [
 | 
				
			||||||
        overlay-stable
 | 
					        overlay-stable
 | 
				
			||||||
        # overlay-master
 | 
					        # overlay-master
 | 
				
			||||||
        overlay-pyside6
 | 
					 | 
				
			||||||
        ghettoptt.overlays.default
 | 
					        ghettoptt.overlays.default
 | 
				
			||||||
        huecli.overlays.default
 | 
					        huecli.overlays.default
 | 
				
			||||||
        nix-packages.overlays.default
 | 
					        nix-packages.overlays.default
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,21 +1,14 @@
 | 
				
			|||||||
{
 | 
					{
 | 
				
			||||||
  inputs,
 | 
					 | 
				
			||||||
  pkgs,
 | 
					  pkgs,
 | 
				
			||||||
  lib,
 | 
					  lib,
 | 
				
			||||||
  config,
 | 
					  config,
 | 
				
			||||||
  ...
 | 
					  ...
 | 
				
			||||||
}:
 | 
					}:
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
  imports = [
 | 
					 | 
				
			||||||
    ./hyprlock.nix
 | 
					 | 
				
			||||||
    ./hypridle.nix
 | 
					 | 
				
			||||||
  ];
 | 
					 | 
				
			||||||
  options.hyprland.enable = lib.mkEnableOption "Hyprland";
 | 
					  options.hyprland.enable = lib.mkEnableOption "Hyprland";
 | 
				
			||||||
  config = {
 | 
					  config = {
 | 
				
			||||||
    home.packages = with pkgs; [
 | 
					    home.packages = with pkgs; [
 | 
				
			||||||
      dunst
 | 
					      dunst
 | 
				
			||||||
      # hyprlock
 | 
					 | 
				
			||||||
      hyprpaper
 | 
					 | 
				
			||||||
      rofi-wayland
 | 
					      rofi-wayland
 | 
				
			||||||
      slurp
 | 
					      slurp
 | 
				
			||||||
      swww
 | 
					      swww
 | 
				
			||||||
@@ -28,6 +21,130 @@
 | 
				
			|||||||
      libsForQt5.qt5ct
 | 
					      libsForQt5.qt5ct
 | 
				
			||||||
    ];
 | 
					    ];
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    services.hyprpaper = {
 | 
				
			||||||
 | 
					      enable = true;
 | 
				
			||||||
 | 
					      settings = {
 | 
				
			||||||
 | 
					        splash = false;
 | 
				
			||||||
 | 
					      };
 | 
				
			||||||
 | 
					    };
 | 
				
			||||||
 | 
					    services.hypridle = {
 | 
				
			||||||
 | 
					      enable = true;
 | 
				
			||||||
 | 
					      settings = {
 | 
				
			||||||
 | 
					        general = {
 | 
				
			||||||
 | 
					          lock_cmd = "hyprlock";
 | 
				
			||||||
 | 
					          before_sleep_cmd = "lockhelper";
 | 
				
			||||||
 | 
					          ignore_dbus_inhibit = false;
 | 
				
			||||||
 | 
					        };
 | 
				
			||||||
 | 
					        listener = {
 | 
				
			||||||
 | 
					          timeout = 240;
 | 
				
			||||||
 | 
					          on-timeout = "lockhelper";
 | 
				
			||||||
 | 
					        };
 | 
				
			||||||
 | 
					      };
 | 
				
			||||||
 | 
					    };
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    programs.hyprlock = {
 | 
				
			||||||
 | 
					      enable = true;
 | 
				
			||||||
 | 
					      settings = {
 | 
				
			||||||
 | 
					        background = [
 | 
				
			||||||
 | 
					          {
 | 
				
			||||||
 | 
					            monitor = "DP-5";
 | 
				
			||||||
 | 
					            path = "/tmp/lockscreen/DP-5.png";
 | 
				
			||||||
 | 
					            blur_passes = 3;
 | 
				
			||||||
 | 
					            contrast = 0.8916;
 | 
				
			||||||
 | 
					            brightness = 0.8172;
 | 
				
			||||||
 | 
					            vibrancy = 0.1696;
 | 
				
			||||||
 | 
					            vibrancy_darkness = 0.0;
 | 
				
			||||||
 | 
					          }
 | 
				
			||||||
 | 
					          {
 | 
				
			||||||
 | 
					            monitor = "DP-6";
 | 
				
			||||||
 | 
					            path = "/tmp/lockscreen/DP-6.png";
 | 
				
			||||||
 | 
					            blur_passes = 3;
 | 
				
			||||||
 | 
					            contrast = 0.8916;
 | 
				
			||||||
 | 
					            brightness = 0.8172;
 | 
				
			||||||
 | 
					            vibrancy = 0.1696;
 | 
				
			||||||
 | 
					            vibrancy_darkness = 0.0;
 | 
				
			||||||
 | 
					          }
 | 
				
			||||||
 | 
					          {
 | 
				
			||||||
 | 
					            monitor = "DP-7";
 | 
				
			||||||
 | 
					            path = "/tmp/lockscreen/DP-7.png";
 | 
				
			||||||
 | 
					            blur_passes = 3;
 | 
				
			||||||
 | 
					            contrast = 0.8916;
 | 
				
			||||||
 | 
					            brightness = 0.8172;
 | 
				
			||||||
 | 
					            vibrancy = 0.1696;
 | 
				
			||||||
 | 
					            vibrancy_darkness = 0.0;
 | 
				
			||||||
 | 
					          }
 | 
				
			||||||
 | 
					          {
 | 
				
			||||||
 | 
					            monitor = "DP-8";
 | 
				
			||||||
 | 
					            path = "/tmp/lockscreen/DP-8.png";
 | 
				
			||||||
 | 
					            blur_passes = 3;
 | 
				
			||||||
 | 
					            contrast = 0.8916;
 | 
				
			||||||
 | 
					            brightness = 0.8172;
 | 
				
			||||||
 | 
					            vibrancy = 0.1696;
 | 
				
			||||||
 | 
					            vibrancy_darkness = 0.0;
 | 
				
			||||||
 | 
					          }
 | 
				
			||||||
 | 
					        ];
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        general = {
 | 
				
			||||||
 | 
					          no_fade_in = false;
 | 
				
			||||||
 | 
					          grace = 0;
 | 
				
			||||||
 | 
					          disable_loading_bar = true;
 | 
				
			||||||
 | 
					        };
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        input-field = [
 | 
				
			||||||
 | 
					          {
 | 
				
			||||||
 | 
					            size = "250, 60";
 | 
				
			||||||
 | 
					            outline_thickness = 2;
 | 
				
			||||||
 | 
					            dots_size = 0.2;
 | 
				
			||||||
 | 
					            dots_spacing = 0.2;
 | 
				
			||||||
 | 
					            dots_center = true;
 | 
				
			||||||
 | 
					            outer_color = "rgba(0, 0, 0, 0)";
 | 
				
			||||||
 | 
					            inner_color = "rgba(0, 0, 0, 0.5)";
 | 
				
			||||||
 | 
					            font_color = "rgb(200, 200, 200)";
 | 
				
			||||||
 | 
					            fade_on_empty = false;
 | 
				
			||||||
 | 
					            font_family = "JetBrains Mono Nerd Font Mono";
 | 
				
			||||||
 | 
					            placeholder_text = "<i><span foreground=\"##cdd6f4\">Input Password...</span></i>";
 | 
				
			||||||
 | 
					            hide_input = false;
 | 
				
			||||||
 | 
					            position = "0, -120";
 | 
				
			||||||
 | 
					            halign = "center";
 | 
				
			||||||
 | 
					            valign = "center";
 | 
				
			||||||
 | 
					          }
 | 
				
			||||||
 | 
					        ];
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        label = [
 | 
				
			||||||
 | 
					          {
 | 
				
			||||||
 | 
					            text = "cmd[update:2000] echo \"$(date +\"%b %d %H:%M\")\"";
 | 
				
			||||||
 | 
					            color = "rgba(255, 255, 255, 0.6)";
 | 
				
			||||||
 | 
					            font_size = 120;
 | 
				
			||||||
 | 
					            font_family = "JetBrains Mono Nerd Font Mono ExtraBold";
 | 
				
			||||||
 | 
					            position = "0, -300";
 | 
				
			||||||
 | 
					            halign = "center";
 | 
				
			||||||
 | 
					            valign = "top";
 | 
				
			||||||
 | 
					          }
 | 
				
			||||||
 | 
					        ];
 | 
				
			||||||
 | 
					      };
 | 
				
			||||||
 | 
					    };
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    # streamcontroller service
 | 
				
			||||||
 | 
					    systemd.user.services = {
 | 
				
			||||||
 | 
					      streamcontroller = {
 | 
				
			||||||
 | 
					        Unit = {
 | 
				
			||||||
 | 
					          Description = "Streamcontroller service";
 | 
				
			||||||
 | 
					          PartOf = [ "graphical-session.target" ];
 | 
				
			||||||
 | 
					          After = [ "graphical-session.target" ];
 | 
				
			||||||
 | 
					          Requisite = [ "graphical-session.target" ];
 | 
				
			||||||
 | 
					        };
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        Service = {
 | 
				
			||||||
 | 
					          ExecStart = "${pkgs.streamcontroller}/bin/streamcontroller -b";
 | 
				
			||||||
 | 
					          Restart = "on-failure";
 | 
				
			||||||
 | 
					        };
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        Install = {
 | 
				
			||||||
 | 
					          WantedBy = [ "graphical-session.target" ];
 | 
				
			||||||
 | 
					        };
 | 
				
			||||||
 | 
					      };
 | 
				
			||||||
 | 
					    };
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    wayland.windowManager.hyprland = {
 | 
					    wayland.windowManager.hyprland = {
 | 
				
			||||||
      enable = true;
 | 
					      enable = true;
 | 
				
			||||||
      package = pkgs.hyprland;
 | 
					      package = pkgs.hyprland;
 | 
				
			||||||
@@ -71,9 +188,11 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
        decoration = {
 | 
					        decoration = {
 | 
				
			||||||
          rounding = 10;
 | 
					          rounding = 10;
 | 
				
			||||||
          drop_shadow = true;
 | 
					          # shadow = {
 | 
				
			||||||
          shadow_range = 4;
 | 
					          #   enable = true;
 | 
				
			||||||
          shadow_render_power = 3;
 | 
					          #   range = 4;
 | 
				
			||||||
 | 
					          #   render_power = 3;
 | 
				
			||||||
 | 
					          # };
 | 
				
			||||||
          blur = {
 | 
					          blur = {
 | 
				
			||||||
            enabled = true;
 | 
					            enabled = true;
 | 
				
			||||||
            size = 3;
 | 
					            size = 3;
 | 
				
			||||||
@@ -218,10 +337,10 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
        exec-once = [
 | 
					        exec-once = [
 | 
				
			||||||
          "waybar"
 | 
					          "waybar"
 | 
				
			||||||
          "hyprpaper & sleep 10 && randomwp"
 | 
					          # "hyprpaper & sleep 10 && randomwp"
 | 
				
			||||||
          "easyeffects --gapplication-service"
 | 
					          # "easyeffects --gapplication-service"
 | 
				
			||||||
          "hypridle"
 | 
					          # "hypridle"
 | 
				
			||||||
          "streamcontroller -b"
 | 
					          # "streamcontroller -b"
 | 
				
			||||||
          # "dunst"
 | 
					          # "dunst"
 | 
				
			||||||
        ];
 | 
					        ];
 | 
				
			||||||
      };
 | 
					      };
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -6,6 +6,7 @@ from datetime import datetime, date, timedelta
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
SECRET_DIR = "/home/torjus/.config/sops-nix/secrets"
 | 
					SECRET_DIR = "/home/torjus/.config/sops-nix/secrets"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
def sonarr_url():
 | 
					def sonarr_url():
 | 
				
			||||||
    xdg_dir = os.environ["XDG_RUNTIME_DIR"]
 | 
					    xdg_dir = os.environ["XDG_RUNTIME_DIR"]
 | 
				
			||||||
    if not xdg_dir:
 | 
					    if not xdg_dir:
 | 
				
			||||||
@@ -13,26 +14,31 @@ def sonarr_url():
 | 
				
			|||||||
    with open(f"{SECRET_DIR}/sonarr_base_url") as f:
 | 
					    with open(f"{SECRET_DIR}/sonarr_base_url") as f:
 | 
				
			||||||
        return f.read().strip()
 | 
					        return f.read().strip()
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
def radarr_url():
 | 
					def radarr_url():
 | 
				
			||||||
    with open(f"{SECRET_DIR}/radarr_base_url") as f:
 | 
					    with open(f"{SECRET_DIR}/radarr_base_url") as f:
 | 
				
			||||||
        return f.read().strip()
 | 
					        return f.read().strip()
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
def make_header(api_key: str):
 | 
					def make_header(api_key: str):
 | 
				
			||||||
    return {"X-Api-Key": api_key, "Accept": "application/json"}
 | 
					    return {"X-Api-Key": api_key, "Accept": "application/json"}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
def get_sonarr_key():
 | 
					def get_sonarr_key():
 | 
				
			||||||
    with open(f"{SECRET_DIR}/sonarr_api_key") as f:
 | 
					    with open(f"{SECRET_DIR}/sonarr_api_key") as f:
 | 
				
			||||||
        return f.read().strip()
 | 
					        return f.read().strip()
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
def get_radarr_key():
 | 
					def get_radarr_key():
 | 
				
			||||||
    with open(f"{SECRET_DIR}/radarr_api_key") as f:
 | 
					    with open(f"{SECRET_DIR}/radarr_api_key") as f:
 | 
				
			||||||
        return f.read().strip()
 | 
					        return f.read().strip()
 | 
				
			||||||
 | 
					
 | 
				
			||||||
def get_sonarr_history(since: datetime|None=None):
 | 
					
 | 
				
			||||||
 | 
					def get_sonarr_history(since: datetime | None = None):
 | 
				
			||||||
    api_key = get_sonarr_key()
 | 
					    api_key = get_sonarr_key()
 | 
				
			||||||
    if not since:
 | 
					    if not since:
 | 
				
			||||||
        since = datetime.combine(date.today()-timedelta(days=1),datetime.min.time())
 | 
					        since = datetime.combine(date.today() - timedelta(days=1), datetime.min.time())
 | 
				
			||||||
    url = f"{sonarr_url()}/api/history/since"
 | 
					    url = f"{sonarr_url()}/api/v3/history/since"
 | 
				
			||||||
    url += f"?date={since.isoformat()}"
 | 
					    url += f"?date={since.isoformat()}"
 | 
				
			||||||
    response = requests.get(url, headers=make_header(api_key))
 | 
					    response = requests.get(url, headers=make_header(api_key))
 | 
				
			||||||
    response.raise_for_status()
 | 
					    response.raise_for_status()
 | 
				
			||||||
@@ -44,10 +50,11 @@ def get_sonarr_history(since: datetime|None=None):
 | 
				
			|||||||
            items.append(item["sourceTitle"])
 | 
					            items.append(item["sourceTitle"])
 | 
				
			||||||
    return items
 | 
					    return items
 | 
				
			||||||
 | 
					
 | 
				
			||||||
def get_radarr_history(since: datetime|None=None):
 | 
					
 | 
				
			||||||
 | 
					def get_radarr_history(since: datetime | None = None):
 | 
				
			||||||
    api_key = get_radarr_key()
 | 
					    api_key = get_radarr_key()
 | 
				
			||||||
    if not since:
 | 
					    if not since:
 | 
				
			||||||
        since = datetime.combine(date.today()-timedelta(days=7),datetime.min.time())
 | 
					        since = datetime.combine(date.today() - timedelta(days=7), datetime.min.time())
 | 
				
			||||||
    url = f"{radarr_url()}/api/v3/history/since"
 | 
					    url = f"{radarr_url()}/api/v3/history/since"
 | 
				
			||||||
    url += f"?date={since.isoformat()}"
 | 
					    url += f"?date={since.isoformat()}"
 | 
				
			||||||
    response = requests.get(url, headers=make_header(api_key))
 | 
					    response = requests.get(url, headers=make_header(api_key))
 | 
				
			||||||
@@ -60,12 +67,17 @@ def get_radarr_history(since: datetime|None=None):
 | 
				
			|||||||
            items.append(item["sourceTitle"])
 | 
					            items.append(item["sourceTitle"])
 | 
				
			||||||
    return items
 | 
					    return items
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
if __name__ == "__main__":
 | 
					if __name__ == "__main__":
 | 
				
			||||||
    sonarr_items = get_sonarr_history()
 | 
					    sonarr_items = get_sonarr_history()
 | 
				
			||||||
    radarr_items = get_radarr_history()
 | 
					    radarr_items = get_radarr_history()
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    output = {
 | 
					    output = {
 | 
				
			||||||
        "text": f"Son: {len(sonarr_items)}|Rad: {len(radarr_items)}",
 | 
					        "text": f"Son: {len(sonarr_items)}|Rad: {len(radarr_items)}",
 | 
				
			||||||
        "tooltip": "Radarr: \n" + "\n".join(radarr_items) + "\n" + "Sonarr: \n" + "\n".join(sonarr_items)
 | 
					        "tooltip": "Radarr: \n"
 | 
				
			||||||
 | 
					        + "\n".join(radarr_items)
 | 
				
			||||||
 | 
					        + "\n"
 | 
				
			||||||
 | 
					        + "Sonarr: \n"
 | 
				
			||||||
 | 
					        + "\n".join(sonarr_items),
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
    print(json.dumps(output))
 | 
					    print(json.dumps(output))
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -45,6 +45,7 @@ in
 | 
				
			|||||||
    ripgrep
 | 
					    ripgrep
 | 
				
			||||||
    sops
 | 
					    sops
 | 
				
			||||||
    sshfs
 | 
					    sshfs
 | 
				
			||||||
 | 
					    step-cli
 | 
				
			||||||
    tea
 | 
					    tea
 | 
				
			||||||
    tldr
 | 
					    tldr
 | 
				
			||||||
    tokei
 | 
					    tokei
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,16 +1,17 @@
 | 
				
			|||||||
{ pkgs, lib, ... }:
 | 
					{ pkgs, lib, ... }:
 | 
				
			||||||
let
 | 
					# let
 | 
				
			||||||
  version = "6.2.6.2503";
 | 
					#   version = "6.2.6.2503";
 | 
				
			||||||
  zoom-override = pkgs.zoom-us.overrideAttrs (old: {
 | 
					#   zoom-override = pkgs.zoom-us.overrideAttrs (old: {
 | 
				
			||||||
    inherit version;
 | 
					#     inherit version;
 | 
				
			||||||
    src = pkgs.fetchurl {
 | 
					#     src = pkgs.fetchurl {
 | 
				
			||||||
      url = "https://zoom.us/client/${version}/zoom_x86_64.pkg.tar.xz";
 | 
					#       url = "https://zoom.us/client/${version}/zoom_x86_64.pkg.tar.xz";
 | 
				
			||||||
      hash = "sha256-qhymegXkXSl9fK/5klSi5uRPwFVN88QH/5EVGaBUbfc=";
 | 
					#       hash = "sha256-qhymegXkXSl9fK/5klSi5uRPwFVN88QH/5EVGaBUbfc=";
 | 
				
			||||||
    };
 | 
					#     };
 | 
				
			||||||
  });
 | 
					#   });
 | 
				
			||||||
in
 | 
					# in
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
  home.packages = [
 | 
					  home.packages = [
 | 
				
			||||||
    (lib.warn "Using overridden zoom version" zoom-override)
 | 
					    pkgs.zoom-us
 | 
				
			||||||
 | 
					    #(lib.warn "Using overridden zoom version" zoom-override)
 | 
				
			||||||
  ];
 | 
					  ];
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -26,11 +26,6 @@ if [ -z "$wallpaper_path" ]; then
 | 
				
			|||||||
    exit 1
 | 
					    exit 1
 | 
				
			||||||
fi
 | 
					fi
 | 
				
			||||||
 | 
					
 | 
				
			||||||
if ! command -v hyprpaper &> /dev/null; then
 | 
					 | 
				
			||||||
    echo "Could not find hyprpaper command"
 | 
					 | 
				
			||||||
    exit 1
 | 
					 | 
				
			||||||
fi
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
echo "setting $wallpaper_path as wallpaper"
 | 
					echo "setting $wallpaper_path as wallpaper"
 | 
				
			||||||
hyprctl hyprpaper unload all
 | 
					hyprctl hyprpaper unload all
 | 
				
			||||||
hyprctl hyprpaper preload "$wallpaper_path"
 | 
					hyprctl hyprpaper preload "$wallpaper_path"
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -9,7 +9,7 @@
 | 
				
			|||||||
{
 | 
					{
 | 
				
			||||||
  imports = [
 | 
					  imports = [
 | 
				
			||||||
    ./hardware-configuration.nix
 | 
					    ./hardware-configuration.nix
 | 
				
			||||||
    ../../system/monitoring.nix
 | 
					    ../../system/monitoring
 | 
				
			||||||
  ];
 | 
					  ];
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  # Sops stuff
 | 
					  # Sops stuff
 | 
				
			||||||
@@ -25,8 +25,8 @@
 | 
				
			|||||||
  boot = {
 | 
					  boot = {
 | 
				
			||||||
    # Kernel stuff
 | 
					    # Kernel stuff
 | 
				
			||||||
    # kernelPackages = pkgs.linuxPackages_xanmod_latest;
 | 
					    # kernelPackages = pkgs.linuxPackages_xanmod_latest;
 | 
				
			||||||
    kernelPackages = pkgs.linuxPackages_latest;
 | 
					    # kernelPackages = pkgs.linuxPackages_latest;
 | 
				
			||||||
    # kernelPackages = lib.warn "Pinned to kernel 6.10 due to nvidia fbdev trouble!" pkgs.linuxPackages_6_10;
 | 
					    kernelPackages = lib.warn "Pinned to kernel 6.11 due to nvidia trouble!" pkgs.linuxPackages_6_11;
 | 
				
			||||||
    kernelParams = [
 | 
					    kernelParams = [
 | 
				
			||||||
      "quiet"
 | 
					      "quiet"
 | 
				
			||||||
      "splash"
 | 
					      "splash"
 | 
				
			||||||
@@ -76,7 +76,7 @@
 | 
				
			|||||||
    open = true;
 | 
					    open = true;
 | 
				
			||||||
    nvidiaSettings = false;
 | 
					    nvidiaSettings = false;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    package = config.boot.kernelPackages.nvidiaPackages.latest;
 | 
					    package = config.boot.kernelPackages.nvidiaPackages.beta;
 | 
				
			||||||
    # package = config.boot.kernelPackages.nvidiaPackages.mkDriver {
 | 
					    # package = config.boot.kernelPackages.nvidiaPackages.mkDriver {
 | 
				
			||||||
    #   version = "560.28.03";
 | 
					    #   version = "560.28.03";
 | 
				
			||||||
    #   sha256_64bit = "sha256-martv18vngYBJw1IFUCAaYr+uc65KtlHAMdLMdtQJ+Y=";
 | 
					    #   sha256_64bit = "sha256-martv18vngYBJw1IFUCAaYr+uc65KtlHAMdLMdtQJ+Y=";
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,6 +1,7 @@
 | 
				
			|||||||
{
 | 
					{
 | 
				
			||||||
  imports = [
 | 
					  imports = [
 | 
				
			||||||
    ./fonts.nix
 | 
					    ./fonts.nix
 | 
				
			||||||
 | 
					    ./root-ca.nix
 | 
				
			||||||
    ./fwupd.nix
 | 
					    ./fwupd.nix
 | 
				
			||||||
    ./git.nix
 | 
					    ./git.nix
 | 
				
			||||||
    ./greetd.nix
 | 
					    ./greetd.nix
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -5,14 +5,10 @@
 | 
				
			|||||||
    fira-code
 | 
					    fira-code
 | 
				
			||||||
    fira-code-symbols
 | 
					    fira-code-symbols
 | 
				
			||||||
    font-awesome
 | 
					    font-awesome
 | 
				
			||||||
    (nerdfonts.override {
 | 
					    nerd-fonts.jetbrains-mono
 | 
				
			||||||
      fonts = [
 | 
					    nerd-fonts.fira-code
 | 
				
			||||||
        "JetBrainsMono"
 | 
					    nerd-fonts.droid-sans-mono
 | 
				
			||||||
        "FiraCode"
 | 
					    nerd-fonts.dejavu-sans-mono
 | 
				
			||||||
        "DroidSansMono"
 | 
					 | 
				
			||||||
        "DejaVuSansMono"
 | 
					 | 
				
			||||||
      ];
 | 
					 | 
				
			||||||
    })
 | 
					 | 
				
			||||||
    noto-fonts
 | 
					    noto-fonts
 | 
				
			||||||
    noto-fonts-cjk-sans
 | 
					    noto-fonts-cjk-sans
 | 
				
			||||||
    noto-fonts-emoji
 | 
					    noto-fonts-emoji
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,37 +0,0 @@
 | 
				
			|||||||
{ pkgs, ... }:
 | 
					 | 
				
			||||||
{
 | 
					 | 
				
			||||||
  environment.systemPackages = with pkgs; [
 | 
					 | 
				
			||||||
    prometheus-node-exporter
 | 
					 | 
				
			||||||
    prometheus-systemd-exporter
 | 
					 | 
				
			||||||
  ];
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
  systemd.services."node-exporter" = {
 | 
					 | 
				
			||||||
    enable = true;
 | 
					 | 
				
			||||||
    unitConfig = {
 | 
					 | 
				
			||||||
      Description = "Prometheus Node Exporter";
 | 
					 | 
				
			||||||
      After = [ "network.target" ];
 | 
					 | 
				
			||||||
    };
 | 
					 | 
				
			||||||
    serviceConfig = {
 | 
					 | 
				
			||||||
      ExecStart = "${pkgs.prometheus-node-exporter}/bin/node_exporter";
 | 
					 | 
				
			||||||
    };
 | 
					 | 
				
			||||||
    wantedBy = [ "multi-user.target" ];
 | 
					 | 
				
			||||||
  };
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
  systemd.services."systemd-exporter" = {
 | 
					 | 
				
			||||||
    enable = true;
 | 
					 | 
				
			||||||
    unitConfig = {
 | 
					 | 
				
			||||||
      Description = "Prometheus Systemd Exporter";
 | 
					 | 
				
			||||||
      After = [ "network.target" ];
 | 
					 | 
				
			||||||
    };
 | 
					 | 
				
			||||||
    serviceConfig = {
 | 
					 | 
				
			||||||
      ExecStart = "${pkgs.prometheus-systemd-exporter}/bin/systemd_exporter";
 | 
					 | 
				
			||||||
    };
 | 
					 | 
				
			||||||
    wantedBy = [ "multi-user.target" ];
 | 
					 | 
				
			||||||
  };
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
  networking.firewall.allowedTCPPorts = [
 | 
					 | 
				
			||||||
    9100
 | 
					 | 
				
			||||||
    9558
 | 
					 | 
				
			||||||
    8989
 | 
					 | 
				
			||||||
  ];
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
							
								
								
									
										7
									
								
								system/monitoring/default.nix
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										7
									
								
								system/monitoring/default.nix
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,7 @@
 | 
				
			|||||||
 | 
					{ ... }:
 | 
				
			||||||
 | 
					{
 | 
				
			||||||
 | 
					  imports = [
 | 
				
			||||||
 | 
					    ./metrics.nix
 | 
				
			||||||
 | 
					    ./logs.nix
 | 
				
			||||||
 | 
					  ];
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
							
								
								
									
										39
									
								
								system/monitoring/logs.nix
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										39
									
								
								system/monitoring/logs.nix
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,39 @@
 | 
				
			|||||||
 | 
					{ ... }:
 | 
				
			||||||
 | 
					{
 | 
				
			||||||
 | 
					  services.promtail = {
 | 
				
			||||||
 | 
					    enable = true;
 | 
				
			||||||
 | 
					    configuration = {
 | 
				
			||||||
 | 
					      server = {
 | 
				
			||||||
 | 
					        http_listen_address = "0.0.0.0";
 | 
				
			||||||
 | 
					        http_listen_port = 9099;
 | 
				
			||||||
 | 
					        grpc_listen_address = "0.0.0.0";
 | 
				
			||||||
 | 
					        grpc_listen_port = 9098;
 | 
				
			||||||
 | 
					      };
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					      clients = [
 | 
				
			||||||
 | 
					        {
 | 
				
			||||||
 | 
					          url = "http://monitoring01.home.2rjus.net:3100/loki/api/v1/push";
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					      ];
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					      scrape_configs = [
 | 
				
			||||||
 | 
					        {
 | 
				
			||||||
 | 
					          job_name = "journal";
 | 
				
			||||||
 | 
					          journal = {
 | 
				
			||||||
 | 
					            json = true;
 | 
				
			||||||
 | 
					          };
 | 
				
			||||||
 | 
					          relabel_configs = [
 | 
				
			||||||
 | 
					            {
 | 
				
			||||||
 | 
					              source_labels = [ "__journal__systemd_unit" ];
 | 
				
			||||||
 | 
					              target_label = "systemd_unit";
 | 
				
			||||||
 | 
					            }
 | 
				
			||||||
 | 
					            {
 | 
				
			||||||
 | 
					              source_labels = [ "__journal__hostname" ];
 | 
				
			||||||
 | 
					              target_label = "host";
 | 
				
			||||||
 | 
					            }
 | 
				
			||||||
 | 
					          ];
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					      ];
 | 
				
			||||||
 | 
					    };
 | 
				
			||||||
 | 
					  };
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
							
								
								
									
										11
									
								
								system/monitoring/metrics.nix
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										11
									
								
								system/monitoring/metrics.nix
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,11 @@
 | 
				
			|||||||
 | 
					{ ... }:
 | 
				
			||||||
 | 
					{
 | 
				
			||||||
 | 
					  services.prometheus.exporters.node = {
 | 
				
			||||||
 | 
					    enable = true;
 | 
				
			||||||
 | 
					    openFirewall = true;
 | 
				
			||||||
 | 
					    enabledCollectors = [
 | 
				
			||||||
 | 
					      "systemd"
 | 
				
			||||||
 | 
					      "logind"
 | 
				
			||||||
 | 
					    ];
 | 
				
			||||||
 | 
					  };
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
							
								
								
									
										12
									
								
								system/root-ca.crt
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										12
									
								
								system/root-ca.crt
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,12 @@
 | 
				
			|||||||
 | 
					-----BEGIN CERTIFICATE-----
 | 
				
			||||||
 | 
					MIIBxDCCAWmgAwIBAgIQQCSzuOLIKLj1dGbC+NFttjAKBggqhkjOPQQDAjBAMRow
 | 
				
			||||||
 | 
					GAYDVQQKExFob21lLjJyanVzLm5ldCBDQTEiMCAGA1UEAxMZaG9tZS4ycmp1cy5u
 | 
				
			||||||
 | 
					ZXQgQ0EgUm9vdCBDQTAeFw0yNDEwMjEwOTEyNDRaFw0zNDEwMTkwOTEyNDRaMEAx
 | 
				
			||||||
 | 
					GjAYBgNVBAoTEWhvbWUuMnJqdXMubmV0IENBMSIwIAYDVQQDExlob21lLjJyanVz
 | 
				
			||||||
 | 
					Lm5ldCBDQSBSb290IENBMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEGDE4ss9y
 | 
				
			||||||
 | 
					9msphQ/Sa/tAoEaGoDHQcg5oRcxWL5SZYjUPNl+zbRZzqkvCz2S1XrHJPiPWbyJX
 | 
				
			||||||
 | 
					cZAlPxbwZrWDyKNFMEMwDgYDVR0PAQH/BAQDAgEGMBIGA1UdEwEB/wQIMAYBAf8C
 | 
				
			||||||
 | 
					AQEwHQYDVR0OBBYEFPZx6AahX5diBMChZbv5N4dh+vCTMAoGCCqGSM49BAMCA0kA
 | 
				
			||||||
 | 
					MEYCIQC6yqMM9/s1Dct5jlq0NAGsDA68hVTDcO3RP61lxQlfBwIhAL1jlmIwaSJc
 | 
				
			||||||
 | 
					TjdIMjPQ3ombBRqDJBDvDr8o6oOUjret
 | 
				
			||||||
 | 
					-----END CERTIFICATE-----
 | 
				
			||||||
							
								
								
									
										9
									
								
								system/root-ca.nix
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								system/root-ca.nix
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,9 @@
 | 
				
			|||||||
 | 
					{ pkgs, ... }:
 | 
				
			||||||
 | 
					{
 | 
				
			||||||
 | 
					  security.pki = {
 | 
				
			||||||
 | 
					    certificateFiles = [
 | 
				
			||||||
 | 
					      "${pkgs.cacert}/etc/ssl/certs/ca-bundle.crt"
 | 
				
			||||||
 | 
					      ./root-ca.crt
 | 
				
			||||||
 | 
					    ];
 | 
				
			||||||
 | 
					  };
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
		Reference in New Issue
	
	Block a user