Personal Nix flake
nixos home-manager nix
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

feat(gui): Add localsend, NixOS GUI module

+42 -12
+1
nix/home/modules/cli/essentials/default.nix
··· 34 34 imagemagick 35 35 inotify-tools 36 36 inshellisense 37 + jocalsend 37 38 jq 38 39 neofetch 39 40 ncdu
+5 -8
nix/home/modules/gui/default.nix
··· 15 15 ./media.nix 16 16 ]; 17 17 18 - options.my.gui.enable = lib.mkEnableOption "gui apps"; 18 + options.my.gui.enable = 19 + lib.mkEnableOption "gui apps" 20 + // {default = osConfig.my.gui.enable or false;}; 19 21 20 22 config = lib.mkIf cfg.enable { 21 23 assertions = [ ··· 78 80 ]; 79 81 80 82 services.flatpak = { 81 - overrides.global.Environment.XCURSOR_PATH = "/run/host/user-share/icons:/run/host/share/icons"; 82 - packages = [ 83 - "com.fightcade.Fightcade" 84 - "com.github.tchx84.Flatseal" 85 - ]; 86 - uninstallUnmanaged = false; 87 - update.auto.enable = true; 83 + enable = osConfig == {}; 84 + packages = ["com.github.tchx84.Flatseal"]; 88 85 }; 89 86 }; 90 87 }
+2
nix/nixos/modules/default.nix
··· 14 14 disko.nixosModules.disko 15 15 home-manager.nixosModules.home-manager 16 16 lanzaboote.nixosModules.lanzaboote 17 + nix-flatpak.nixosModules.nix-flatpak 17 18 nix-gaming.nixosModules.pipewireLowLatency 18 19 nix-gaming.nixosModules.platformOptimizations 19 20 nur.modules.nixos.default ··· 25 26 ./ci 26 27 ./desktop 27 28 ./gaming 29 + ./gui 28 30 ./hardware 29 31 ./kdeconnect 30 32 ./kernel
+4
nix/nixos/modules/gaming/default.nix
··· 45 45 services.pipewire.lowLatency.enable = true; 46 46 47 47 users.extraUsers.${name.user}.extraGroups = ["gamemode"]; 48 + 49 + services.flatpak.packages = [ 50 + "com.fightcade.Fightcade" 51 + ]; 48 52 }) 49 53 (lib.mkIf cfg.steam.enable { 50 54 hardware.steam-hardware.enable = true;
+18
nix/nixos/modules/gui/default.nix
··· 1 + { 2 + config, 3 + lib, 4 + ... 5 + }: let 6 + cfg = config.my.gui; 7 + in { 8 + options.my.gui.enable = lib.mkEnableOption "GUI apps"; 9 + 10 + config = lib.mkIf cfg.enable { 11 + programs = { 12 + localsend.enable = true; 13 + }; 14 + services = { 15 + flatpak.enable = true; 16 + }; 17 + }; 18 + }
+2 -4
nix/nixos/profiles/graphical.nix
··· 8 8 options.my.profiles.graphical = lib.mkEnableOption "graphical profile"; 9 9 config = lib.mkIf cfg { 10 10 my = { 11 + gui.enable = true; 11 12 wayland.enable = true; 12 13 }; 13 14 ··· 16 17 graphics.enable = true; 17 18 graphics.enable32Bit = true; 18 19 }; 19 - services = { 20 - flatpak.enable = true; 21 - xserver.enable = lib.mkDefault true; 22 - }; 20 + services.xserver.enable = lib.mkDefault true; 23 21 xdg.portal = { 24 22 enable = true; 25 23 xdgOpenUsePortal = true;
+1
nix/shared/default.nix
··· 6 6 inherit (inputs) self; 7 7 in { 8 8 imports = [ 9 + ./flatpak.nix 9 10 ./nix.nix 10 11 ./secrets.nix 11 12 ./theming.nix
+9
nix/shared/flatpak.nix
··· 1 + { 2 + services.flatpak = { 3 + overrides.global.Environment = { 4 + XCURSOR_PATH = "/run/host/user-share/icons:/run/host/share/icons"; 5 + }; 6 + uninstallUnmanaged = false; 7 + update.auto.enable = true; 8 + }; 9 + }