quickshell.nix
1 { 2 pkgs, 3 config, 4 lib, 5 inputs, 6 ... 7 }: let 8 cfg = config.programs.qs; 9 inherit (lib) mkIf mkEnableOption; 10 in { 11 options.programs.qs.enable = mkEnableOption "quickshell(AGS replacement maybe????)"; 12 13 config = mkIf cfg.enable { 14 inputs.qs = { 15 url = "git+https://git.outfoxxed.me/outfoxxed/quickshell"; 16 inputs.nixpkgs.follows = "nixpkgs"; 17 }; 18 hm.home.packages = [ 19 inputs.qs.packages.${pkgs.hostPlatform.system}.default 20 ]; 21 }; 22 }