forked from fabian/nix
		
	switch to sway
This commit is contained in:
		
							parent
							
								
									52e1424f48
								
							
						
					
					
						commit
						6c66eb0e36
					
				
					 4 changed files with 10 additions and 34 deletions
				
			
		|  | @ -91,6 +91,10 @@ | ||||||
| 
 | 
 | ||||||
|             specialArgs = { |             specialArgs = { | ||||||
|               inherit flakes; |               inherit flakes; | ||||||
|  |               doctrine = import "${trivionomicon}/doctrine" { | ||||||
|  |                 inherit pkgs; | ||||||
|  |                 namespace = "sys"; | ||||||
|  |               }; | ||||||
|             }; |             }; | ||||||
|           }; |           }; | ||||||
| 
 | 
 | ||||||
|  | @ -126,6 +130,10 @@ | ||||||
| 
 | 
 | ||||||
|             extraSpecialArgs = { |             extraSpecialArgs = { | ||||||
|               inherit flakes; |               inherit flakes; | ||||||
|  |               doctrine = import "${trivionomicon}/doctrine" { | ||||||
|  |                 inherit pkgs; | ||||||
|  |                 namespace = "hm"; | ||||||
|  |               }; | ||||||
|             }; |             }; | ||||||
|           }; |           }; | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
|  | @ -15,6 +15,5 @@ | ||||||
|     ./bluetooth.nix |     ./bluetooth.nix | ||||||
|     ./net.nix |     ./net.nix | ||||||
|     ./steam.nix |     ./steam.nix | ||||||
|     ./xdg.nix |  | ||||||
|   ]; |   ]; | ||||||
| } | } | ||||||
|  |  | ||||||
|  | @ -1,32 +0,0 @@ | ||||||
| { |  | ||||||
|   config, |  | ||||||
|   lib, |  | ||||||
|   pkgs, |  | ||||||
|   ... |  | ||||||
| }: |  | ||||||
| with lib; let |  | ||||||
|   cfg = config.local.sys.xdg; |  | ||||||
| in { |  | ||||||
|   options.local.sys.xdg = { |  | ||||||
|     enable = mkEnableOption "xdg settings"; |  | ||||||
|   }; |  | ||||||
|   config = mkIf cfg.enable { |  | ||||||
|     xdg.portal = { |  | ||||||
|       enable = true; |  | ||||||
|       wlr.enable = true; |  | ||||||
|       extraPortals = [pkgs.xdg-desktop-portal-gtk]; |  | ||||||
|       xdgOpenUsePortal = true; |  | ||||||
|       # warning: xdg-desktop-portal 1.17 reworked how portal implementations are loaded, you |  | ||||||
|       # should either set `xdg.portal.config` or `xdg.portal.configPackages` |  | ||||||
|       # to specify which portal backend to use for the requested interface. |  | ||||||
|       # |  | ||||||
|       # https://github.com/flatpak/xdg-desktop-portal/blob/1.18.1/doc/portals.conf.rst.in |  | ||||||
|       # |  | ||||||
|       # If you simply want to keep the behaviour in < 1.17, which uses the first |  | ||||||
|       # portal implementation found in lexicographical order, use the following: |  | ||||||
|       # |  | ||||||
|       # xdg.portal.config.common.default = "*"; |  | ||||||
|       config.common.default = "*"; |  | ||||||
|     }; |  | ||||||
|   }; |  | ||||||
| } |  | ||||||
|  | @ -20,7 +20,6 @@ | ||||||
|     virtualisation.enable = true; |     virtualisation.enable = true; | ||||||
|     androidSupport.enable = true; |     androidSupport.enable = true; | ||||||
|     steam.enable = true; |     steam.enable = true; | ||||||
|     xdg.enable = true; |  | ||||||
| 
 | 
 | ||||||
|     users = { |     users = { | ||||||
|       fabian = { |       fabian = { | ||||||
|  | @ -31,6 +30,8 @@ | ||||||
|     }; |     }; | ||||||
|   }; |   }; | ||||||
| 
 | 
 | ||||||
|  |   trivium.sway.enable = true; | ||||||
|  | 
 | ||||||
|   programs.i3lock.enable = true; |   programs.i3lock.enable = true; | ||||||
| 
 | 
 | ||||||
|   networking = { |   networking = { | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue