feat: init ags config
This commit is contained in:
		
							parent
							
								
									3ab4a9b663
								
							
						
					
					
						commit
						59c8ebbbc7
					
				
					 4 changed files with 69 additions and 16 deletions
				
			
		
							
								
								
									
										65
									
								
								flake.lock
									
										
									
										generated
									
									
									
								
							
							
						
						
									
										65
									
								
								flake.lock
									
										
									
										generated
									
									
									
								
							|  | @ -1,5 +1,23 @@ | ||||||
| { | { | ||||||
|   "nodes": { |   "nodes": { | ||||||
|  |     "ags": { | ||||||
|  |       "inputs": { | ||||||
|  |         "nixpkgs": "nixpkgs" | ||||||
|  |       }, | ||||||
|  |       "locked": { | ||||||
|  |         "lastModified": 1708631826, | ||||||
|  |         "narHash": "sha256-dWhecyCZiNH9gz7jolHSIl7lzeST5pu9osOKgFBimek=", | ||||||
|  |         "owner": "Aylur", | ||||||
|  |         "repo": "ags", | ||||||
|  |         "rev": "958b9c3869eb3c273b404122c45d79576690502a", | ||||||
|  |         "type": "github" | ||||||
|  |       }, | ||||||
|  |       "original": { | ||||||
|  |         "owner": "Aylur", | ||||||
|  |         "repo": "ags", | ||||||
|  |         "type": "github" | ||||||
|  |       } | ||||||
|  |     }, | ||||||
|     "base16-schemes": { |     "base16-schemes": { | ||||||
|       "flake": false, |       "flake": false, | ||||||
|       "locked": { |       "locked": { | ||||||
|  | @ -456,7 +474,7 @@ | ||||||
|     }, |     }, | ||||||
|     "hyprlang_4": { |     "hyprlang_4": { | ||||||
|       "inputs": { |       "inputs": { | ||||||
|         "nixpkgs": "nixpkgs_2" |         "nixpkgs": "nixpkgs_3" | ||||||
|       }, |       }, | ||||||
|       "locked": { |       "locked": { | ||||||
|         "lastModified": 1704230242, |         "lastModified": 1704230242, | ||||||
|  | @ -475,7 +493,7 @@ | ||||||
|     "hyprlock": { |     "hyprlock": { | ||||||
|       "inputs": { |       "inputs": { | ||||||
|         "hyprlang": "hyprlang_3", |         "hyprlang": "hyprlang_3", | ||||||
|         "nixpkgs": "nixpkgs" |         "nixpkgs": "nixpkgs_2" | ||||||
|       }, |       }, | ||||||
|       "locked": { |       "locked": { | ||||||
|         "lastModified": 1708642962, |         "lastModified": 1708642962, | ||||||
|  | @ -494,7 +512,7 @@ | ||||||
|     "hyprpaper": { |     "hyprpaper": { | ||||||
|       "inputs": { |       "inputs": { | ||||||
|         "hyprlang": "hyprlang_4", |         "hyprlang": "hyprlang_4", | ||||||
|         "nixpkgs": "nixpkgs_3" |         "nixpkgs": "nixpkgs_4" | ||||||
|       }, |       }, | ||||||
|       "locked": { |       "locked": { | ||||||
|         "lastModified": 1708532919, |         "lastModified": 1708532919, | ||||||
|  | @ -569,7 +587,7 @@ | ||||||
|     "nix": { |     "nix": { | ||||||
|       "inputs": { |       "inputs": { | ||||||
|         "lowdown-src": "lowdown-src", |         "lowdown-src": "lowdown-src", | ||||||
|         "nixpkgs": "nixpkgs_6" |         "nixpkgs": "nixpkgs_7" | ||||||
|       }, |       }, | ||||||
|       "locked": { |       "locked": { | ||||||
|         "lastModified": 1609520816, |         "lastModified": 1609520816, | ||||||
|  | @ -627,7 +645,7 @@ | ||||||
|     "nix-gaming": { |     "nix-gaming": { | ||||||
|       "inputs": { |       "inputs": { | ||||||
|         "flake-parts": "flake-parts", |         "flake-parts": "flake-parts", | ||||||
|         "nixpkgs": "nixpkgs_4" |         "nixpkgs": "nixpkgs_5" | ||||||
|       }, |       }, | ||||||
|       "locked": { |       "locked": { | ||||||
|         "lastModified": 1708564182, |         "lastModified": 1708564182, | ||||||
|  | @ -645,11 +663,11 @@ | ||||||
|     }, |     }, | ||||||
|     "nixpkgs": { |     "nixpkgs": { | ||||||
|       "locked": { |       "locked": { | ||||||
|         "lastModified": 1702645756, |         "lastModified": 1708475490, | ||||||
|         "narHash": "sha256-qKI6OR3TYJYQB3Q8mAZ+DG4o/BR9ptcv9UnRV2hzljc=", |         "narHash": "sha256-g1v0TsWBQPX97ziznfJdWhgMyMGtoBFs102xSYO4syU=", | ||||||
|         "owner": "nixos", |         "owner": "NixOS", | ||||||
|         "repo": "nixpkgs", |         "repo": "nixpkgs", | ||||||
|         "rev": "40c3c94c241286dd2243ea34d3aef8a488f9e4d0", |         "rev": "0e74ca98a74bc7270d28838369593635a5db3260", | ||||||
|         "type": "github" |         "type": "github" | ||||||
|       }, |       }, | ||||||
|       "original": { |       "original": { | ||||||
|  | @ -725,6 +743,22 @@ | ||||||
|       } |       } | ||||||
|     }, |     }, | ||||||
|     "nixpkgs_3": { |     "nixpkgs_3": { | ||||||
|  |       "locked": { | ||||||
|  |         "lastModified": 1702645756, | ||||||
|  |         "narHash": "sha256-qKI6OR3TYJYQB3Q8mAZ+DG4o/BR9ptcv9UnRV2hzljc=", | ||||||
|  |         "owner": "nixos", | ||||||
|  |         "repo": "nixpkgs", | ||||||
|  |         "rev": "40c3c94c241286dd2243ea34d3aef8a488f9e4d0", | ||||||
|  |         "type": "github" | ||||||
|  |       }, | ||||||
|  |       "original": { | ||||||
|  |         "owner": "NixOS", | ||||||
|  |         "ref": "nixos-unstable", | ||||||
|  |         "repo": "nixpkgs", | ||||||
|  |         "type": "github" | ||||||
|  |       } | ||||||
|  |     }, | ||||||
|  |     "nixpkgs_4": { | ||||||
|       "locked": { |       "locked": { | ||||||
|         "lastModified": 1703637592, |         "lastModified": 1703637592, | ||||||
|         "narHash": "sha256-8MXjxU0RfFfzl57Zy3OfXCITS0qWDNLzlBAdwxGZwfY=", |         "narHash": "sha256-8MXjxU0RfFfzl57Zy3OfXCITS0qWDNLzlBAdwxGZwfY=", | ||||||
|  | @ -740,7 +774,7 @@ | ||||||
|         "type": "github" |         "type": "github" | ||||||
|       } |       } | ||||||
|     }, |     }, | ||||||
|     "nixpkgs_4": { |     "nixpkgs_5": { | ||||||
|       "locked": { |       "locked": { | ||||||
|         "lastModified": 1708407374, |         "lastModified": 1708407374, | ||||||
|         "narHash": "sha256-EECzarm+uqnNDCwaGg/ppXCO11qibZ1iigORShkkDf0=", |         "narHash": "sha256-EECzarm+uqnNDCwaGg/ppXCO11qibZ1iigORShkkDf0=", | ||||||
|  | @ -756,7 +790,7 @@ | ||||||
|         "type": "github" |         "type": "github" | ||||||
|       } |       } | ||||||
|     }, |     }, | ||||||
|     "nixpkgs_5": { |     "nixpkgs_6": { | ||||||
|       "locked": { |       "locked": { | ||||||
|         "lastModified": 1708475490, |         "lastModified": 1708475490, | ||||||
|         "narHash": "sha256-g1v0TsWBQPX97ziznfJdWhgMyMGtoBFs102xSYO4syU=", |         "narHash": "sha256-g1v0TsWBQPX97ziznfJdWhgMyMGtoBFs102xSYO4syU=", | ||||||
|  | @ -772,7 +806,7 @@ | ||||||
|         "type": "github" |         "type": "github" | ||||||
|       } |       } | ||||||
|     }, |     }, | ||||||
|     "nixpkgs_6": { |     "nixpkgs_7": { | ||||||
|       "locked": { |       "locked": { | ||||||
|         "lastModified": 1602702596, |         "lastModified": 1602702596, | ||||||
|         "narHash": "sha256-fqJ4UgOb4ZUnCDIapDb4gCrtAah5Rnr2/At3IzMitig=", |         "narHash": "sha256-fqJ4UgOb4ZUnCDIapDb4gCrtAah5Rnr2/At3IzMitig=", | ||||||
|  | @ -787,7 +821,7 @@ | ||||||
|         "type": "indirect" |         "type": "indirect" | ||||||
|       } |       } | ||||||
|     }, |     }, | ||||||
|     "nixpkgs_7": { |     "nixpkgs_8": { | ||||||
|       "locked": { |       "locked": { | ||||||
|         "lastModified": 1708564076, |         "lastModified": 1708564076, | ||||||
|         "narHash": "sha256-KKkqoxlgx9n3nwST7O2kM8tliDOijiSSNaWuSkiozdQ=", |         "narHash": "sha256-KKkqoxlgx9n3nwST7O2kM8tliDOijiSSNaWuSkiozdQ=", | ||||||
|  | @ -858,6 +892,7 @@ | ||||||
|     }, |     }, | ||||||
|     "root": { |     "root": { | ||||||
|       "inputs": { |       "inputs": { | ||||||
|  |         "ags": "ags", | ||||||
|         "firefox-addons": "firefox-addons", |         "firefox-addons": "firefox-addons", | ||||||
|         "hardware": "hardware", |         "hardware": "hardware", | ||||||
|         "helix": "helix", |         "helix": "helix", | ||||||
|  | @ -870,7 +905,7 @@ | ||||||
|         "nh": "nh", |         "nh": "nh", | ||||||
|         "nix-colors": "nix-colors", |         "nix-colors": "nix-colors", | ||||||
|         "nix-gaming": "nix-gaming", |         "nix-gaming": "nix-gaming", | ||||||
|         "nixpkgs": "nixpkgs_5", |         "nixpkgs": "nixpkgs_6", | ||||||
|         "nixvim": "nixvim", |         "nixvim": "nixvim", | ||||||
|         "sops-nix": "sops-nix", |         "sops-nix": "sops-nix", | ||||||
|         "ssbm-nix": "ssbm-nix", |         "ssbm-nix": "ssbm-nix", | ||||||
|  | @ -1099,7 +1134,7 @@ | ||||||
|       "inputs": { |       "inputs": { | ||||||
|         "crane": "crane_2", |         "crane": "crane_2", | ||||||
|         "flake-utils": "flake-utils_4", |         "flake-utils": "flake-utils_4", | ||||||
|         "nixpkgs": "nixpkgs_7", |         "nixpkgs": "nixpkgs_8", | ||||||
|         "rust-overlay": "rust-overlay_2" |         "rust-overlay": "rust-overlay_2" | ||||||
|       }, |       }, | ||||||
|       "locked": { |       "locked": { | ||||||
|  |  | ||||||
|  | @ -10,6 +10,8 @@ | ||||||
| 
 | 
 | ||||||
|     nix-colors.url = "github:misterio77/nix-colors"; |     nix-colors.url = "github:misterio77/nix-colors"; | ||||||
| 
 | 
 | ||||||
|  |     ags.url = "github:Aylur/ags"; | ||||||
|  | 
 | ||||||
|     sops-nix = { |     sops-nix = { | ||||||
|       url = "github:Mic92/sops-nix"; |       url = "github:Mic92/sops-nix"; | ||||||
|       inputs.nixpkgs.follows = "nixpkgs"; |       inputs.nixpkgs.follows = "nixpkgs"; | ||||||
|  |  | ||||||
|  | @ -0,0 +1,16 @@ | ||||||
|  | { lib, config, inputs, ... }: | ||||||
|  | 
 | ||||||
|  | let | ||||||
|  |   cfg = config.homeModules.desktop.wayland.bar.ags; | ||||||
|  | in | ||||||
|  | 
 | ||||||
|  | { | ||||||
|  | 
 | ||||||
|  |   imports = [ inputs.ags.homeManagerModules.default ]; | ||||||
|  | 
 | ||||||
|  |   config = lib.mkIf cfg.enable { | ||||||
|  |     programs.ags = { | ||||||
|  |       enable = true; | ||||||
|  |     }; | ||||||
|  |   }; | ||||||
|  | } | ||||||
|  | @ -15,7 +15,7 @@ in | ||||||
|         windowManager.hyprland.enable = true; |         windowManager.hyprland.enable = true; | ||||||
|         lockscreen.swaylock.enable = true; |         lockscreen.swaylock.enable = true; | ||||||
|         notification.mako.enable = true; |         notification.mako.enable = true; | ||||||
|         bar.eww.enable = true; |         bar.ags.enable = true; | ||||||
|       }; |       }; | ||||||
|       communication = { |       communication = { | ||||||
|         discord.enable = true; |         discord.enable = true; | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue