Nix Flakes configuration for MacOS, NixOS and WSL
0
fork

Configure Feed

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

feat: add flatpak feature

cosmeak 37b026ee 57bd202f

+19 -5
+16
modules/features/flatpak.nix
··· 1 + { 2 + flake.nixosModules.flatpak = { pkgs, ... }: { 3 + services.flatpak.enable = true; 4 + environment.systemPackages = with pkgs; [ 5 + bazaar # Flatpak store 6 + ]; 7 + 8 + system.activationScripts.flathub = { 9 + text = '' 10 + ${pkgs.flatpak}/bin/flatpak remote-add --if-not-exists --system flathub \ 11 + https://dl.flathub.org/repo/flathub.flatpakrepo 12 + ''; 13 + deps = [ "var" ]; 14 + }; 15 + }; 16 + }
+2
modules/hosts/loki/configuration.nix
··· 15 15 screen-recording 16 16 (autoLogin "cosmeak") 17 17 gaming 18 + flatpak 18 19 ]; 19 20 20 21 nixpkgs.overlays = [ inputs.self.overlays.unstable ]; ··· 23 24 git 24 25 just 25 26 nixd 27 + heroic 26 28 ]; 27 29 28 30 hardware.facter.reportPath = ./facter.json;
+1 -5
modules/hosts/nanna/configuration.nix
··· 11 11 auto-upgrade 12 12 juliette 13 13 gaming 14 + flatpak 14 15 ]; 15 16 16 17 hardware.facter.reportPath = ./facter.json; ··· 42 43 # Activate network configuration 43 44 networking.networkmanager.enable = true; 44 45 45 - # Enable flatpak to download extra software without asking 46 - # or modifying this when it's temporary. 47 - services.flatpak.enable = true; 48 - 49 46 # System wide programs and applications 50 47 programs.firefox.enable = true; 51 48 52 49 environment.systemPackages = with pkgs; [ 53 50 git 54 - bazaar # Flatpak store 55 51 ]; 56 52 57 53 # Enable printing