mirror of
https://github.com/librephoenix/nixos-config
synced 2025-01-19 07:05:51 +05:30
Tried nix-flatpak but couldn't get hmModule to work
This commit is contained in:
parent
bbb51e0286
commit
073782130e
|
@ -55,7 +55,9 @@
|
||||||
homeConfigurations = {
|
homeConfigurations = {
|
||||||
user = home-manager.lib.homeManagerConfiguration {
|
user = home-manager.lib.homeManagerConfiguration {
|
||||||
inherit pkgs;
|
inherit pkgs;
|
||||||
modules = [ (./. + "/profiles"+("/"+profile)+"/home.nix") ]; # load home.nix from selected PROFILE
|
modules = [ (./. + "/profiles"+("/"+profile)+"/home.nix") # load home.nix from selected PROFILE
|
||||||
|
# inputs.nix-flatpak.homeManagerModules.nix-flatpak # Declarative flatpaks
|
||||||
|
];
|
||||||
extraSpecialArgs = {
|
extraSpecialArgs = {
|
||||||
# pass config variables from above
|
# pass config variables from above
|
||||||
inherit username;
|
inherit username;
|
||||||
|
@ -75,6 +77,7 @@
|
||||||
inherit term;
|
inherit term;
|
||||||
inherit spawnEditor;
|
inherit spawnEditor;
|
||||||
inherit (inputs) nix-doom-emacs;
|
inherit (inputs) nix-doom-emacs;
|
||||||
|
#inherit (inputs) nix-flatpak;
|
||||||
inherit (inputs) stylix;
|
inherit (inputs) stylix;
|
||||||
inherit (inputs) eaf;
|
inherit (inputs) eaf;
|
||||||
inherit (inputs) eaf-browser;
|
inherit (inputs) eaf-browser;
|
||||||
|
@ -116,6 +119,7 @@
|
||||||
nix-doom-emacs.url = "github:librephoenix/nix-doom-emacs?ref=pgtk-patch";
|
nix-doom-emacs.url = "github:librephoenix/nix-doom-emacs?ref=pgtk-patch";
|
||||||
stylix.url = "github:danth/stylix";
|
stylix.url = "github:danth/stylix";
|
||||||
rust-overlay.url = "github:oxalica/rust-overlay";
|
rust-overlay.url = "github:oxalica/rust-overlay";
|
||||||
|
#nix-flatpak.url = "github:gmodena/nix-flatpak/?ref=v0.2.0";
|
||||||
eaf = {
|
eaf = {
|
||||||
url = "github:emacs-eaf/emacs-application-framework";
|
url = "github:emacs-eaf/emacs-application-framework";
|
||||||
flake = false;
|
flake = false;
|
||||||
|
|
|
@ -5,4 +5,8 @@
|
||||||
home.sessionVariables = {
|
home.sessionVariables = {
|
||||||
XDG_DATA_DIRS = "$XDG_DATA_DIRS:/usr/share:/var/lib/flatpak/exports/share:$HOME/.local/share/flatpak/exports/share"; # lets flatpak work
|
XDG_DATA_DIRS = "$XDG_DATA_DIRS:/usr/share:/var/lib/flatpak/exports/share:$HOME/.local/share/flatpak/exports/share"; # lets flatpak work
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#services.flatpak.enable = true;
|
||||||
|
#services.flatpak.packages = [ { appId = "com.kde.kdenlive"; origin = "flathub"; } ];
|
||||||
|
#services.flatpak.update.onActivation = true;
|
||||||
}
|
}
|
||||||
|
|
|
@ -37,4 +37,9 @@ in
|
||||||
};
|
};
|
||||||
# To get steam to import into gamehub, first install it as a flatpak, then
|
# To get steam to import into gamehub, first install it as a flatpak, then
|
||||||
# Set steam directory to ~/.var/app/com.valvesoftware.Steam/.steam
|
# Set steam directory to ~/.var/app/com.valvesoftware.Steam/.steam
|
||||||
|
|
||||||
|
#services.flatpak.packages = [
|
||||||
|
# "com.discordapp.Discord"
|
||||||
|
# "com.jaquadro.NBTExplorer"
|
||||||
|
#];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue