hm
This commit is contained in:
parent
2a15c44249
commit
0dad3d244e
5 changed files with 7 additions and 23 deletions
|
@ -8,7 +8,6 @@
|
|||
# Individual files
|
||||
./beets.nix
|
||||
./desktop.nix
|
||||
./flatpak.nix
|
||||
./firefox.nix
|
||||
./gpg.nix
|
||||
./gtk.nix
|
||||
|
|
|
@ -1,15 +0,0 @@
|
|||
{ lib, config, ... }:
|
||||
{
|
||||
xdg.systemDirs.data = lib.optionals
|
||||
config.meta.home-manager.desktop.enable
|
||||
[ "/var/lib/flatpak/exports/share" "${config.xdg.dataHome}/flatpak/exports/share" ];
|
||||
services.flatpak = lib.mkIf config.meta.home-manager.desktop.enable {
|
||||
enableModule = true;
|
||||
packages = [
|
||||
"sober:app/org.vinegarhq.Sober/x86_64/master"
|
||||
];
|
||||
remotes = {
|
||||
sober = "https://sober.vinegarhq.org/sober.flatpakref";
|
||||
};
|
||||
};
|
||||
}
|
|
@ -35,8 +35,8 @@
|
|||
type = lib.types.str;
|
||||
default = "ty";
|
||||
defaultText = lib.literalExpression ''"ty"'';
|
||||
description = "The username to apply the config as";
|
||||
}
|
||||
description = "The username to apply the config as (only applies in standalone config)";
|
||||
};
|
||||
|
||||
interface = lib.mkOption {
|
||||
type = lib.types.enum [ "nixos" "nix-on-droid" ];
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ ... }:
|
||||
{ inputs, config, ... }:
|
||||
{
|
||||
imports = [
|
||||
# Import plasma manager and all of my custom modules for use
|
||||
|
@ -12,7 +12,7 @@
|
|||
home = {
|
||||
stateVersion = "24.11";
|
||||
|
||||
username = meta.home-manager.username;
|
||||
homeDirectory = /. + "/home/${meta.home-manager.username}";
|
||||
username = config.meta.home-manager.username;
|
||||
homeDirectory = /. + "/home/${config.meta.home-manager.username}";
|
||||
};
|
||||
}
|
||||
|
|
|
@ -4,9 +4,9 @@
|
|||
system ? "x86_64-linux",
|
||||
meta ? {}
|
||||
}: inputs.home-manager.lib.homeManagerConfiguration {
|
||||
pkgs = inputs.nixpkgs.legacyPackages.${system};
|
||||
pkgs = import inputs.nixpkgs { inherit system; config.allowUnfree = true; };
|
||||
modules = [
|
||||
./home-manager/standalone.nix
|
||||
../home-manager/standalone.nix
|
||||
{ meta.home-manager = meta; }
|
||||
];
|
||||
extraSpecialArgs = {
|
||||
|
|
Loading…
Reference in a new issue