flake: move home manager profiles into hm-system-defaults
This commit is contained in:
parent
12c6638645
commit
5a13b371bc
2 changed files with 17 additions and 19 deletions
20
flake.nix
20
flake.nix
|
@ -120,25 +120,7 @@
|
||||||
|
|
||||||
sharedModules = [
|
sharedModules = [
|
||||||
inputs.impermanence.nixosModules.home-manager.impermanence
|
inputs.impermanence.nixosModules.home-manager.impermanence
|
||||||
] ++ (with profiles; [
|
] ++ (self.lib.leaves ./users/modules);
|
||||||
# Base Configuration
|
|
||||||
xdg
|
|
||||||
|
|
||||||
# Programs
|
|
||||||
direnv
|
|
||||||
git
|
|
||||||
emacs
|
|
||||||
vim
|
|
||||||
gpg
|
|
||||||
ssh
|
|
||||||
keychain
|
|
||||||
|
|
||||||
# Terminal
|
|
||||||
starship
|
|
||||||
shells.all
|
|
||||||
tmux
|
|
||||||
|
|
||||||
]) ++ (self.lib.leaves ./users/modules);
|
|
||||||
|
|
||||||
extraSpecialArgs = {
|
extraSpecialArgs = {
|
||||||
inherit profiles;
|
inherit profiles;
|
||||||
|
|
|
@ -10,7 +10,23 @@
|
||||||
sharedModules = [
|
sharedModules = [
|
||||||
({ profiles, ... }: {
|
({ profiles, ... }: {
|
||||||
imports = with profiles; [
|
imports = with profiles; [
|
||||||
|
# Base configuration
|
||||||
|
xdg
|
||||||
|
|
||||||
|
# Programs
|
||||||
|
direnv
|
||||||
|
emacs
|
||||||
|
git
|
||||||
|
gpg
|
||||||
htop
|
htop
|
||||||
|
keychain
|
||||||
|
ssh
|
||||||
|
vim
|
||||||
|
|
||||||
|
# Terminal
|
||||||
|
shells.all
|
||||||
|
starship
|
||||||
|
tmux
|
||||||
];
|
];
|
||||||
|
|
||||||
home = {
|
home = {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue