separated programs directory
This commit is contained in:
@@ -1,5 +0,0 @@
|
||||
{
|
||||
flake.homeModules.home = {
|
||||
# TODO: Port custom settings from the old top-level ./home.nix into here.
|
||||
};
|
||||
}
|
||||
13
modules/home-manager/profiles/base.nix
Normal file
13
modules/home-manager/profiles/base.nix
Normal file
@@ -0,0 +1,13 @@
|
||||
{ inputs, pkgs, ... }:
|
||||
{
|
||||
flake.homeModules.base = { pkgs, ... }:
|
||||
{
|
||||
imports = with inputs.self.homeModules; [
|
||||
rebuild
|
||||
ssh
|
||||
sops
|
||||
git
|
||||
shell-tools
|
||||
];
|
||||
};
|
||||
}
|
||||
@@ -8,6 +8,7 @@
|
||||
|
||||
home.packages = with pkgs; [
|
||||
gdu
|
||||
lf
|
||||
# TODO: find a CLI file editor that's not insane
|
||||
];
|
||||
};
|
||||
@@ -15,8 +15,8 @@ in
|
||||
flake.homeModules.sops = { inputs, config, pkgs, lib, ... }:
|
||||
let
|
||||
sopsBin = lib.getExe pkgs.sops;
|
||||
sopsConfigPath = ../../.sops.yaml;
|
||||
sopsSecretsPath = ../../keys/secrets.yaml;
|
||||
sopsConfigPath = ../../../.sops.yaml;
|
||||
sopsSecretsPath = ../../../keys/secrets.yaml;
|
||||
ageKeyFile = "${config.xdg.configHome}/sops/age/keys.txt";
|
||||
in
|
||||
{
|
||||
@@ -10,12 +10,7 @@
|
||||
programs.git.settings.user.email = "32917998+jsl12@users.noreply.github.com";
|
||||
|
||||
imports = with inputs.self.homeModules; [
|
||||
rebuild
|
||||
sops
|
||||
git
|
||||
ssh
|
||||
shell-tools
|
||||
home # placeholder
|
||||
base
|
||||
docker
|
||||
sublime
|
||||
desktop
|
||||
|
||||
Reference in New Issue
Block a user