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 = [
|
||||
inputs.impermanence.nixosModules.home-manager.impermanence
|
||||
] ++ (with profiles; [
|
||||
# Base Configuration
|
||||
xdg
|
||||
|
||||
# Programs
|
||||
direnv
|
||||
git
|
||||
emacs
|
||||
vim
|
||||
gpg
|
||||
ssh
|
||||
keychain
|
||||
|
||||
# Terminal
|
||||
starship
|
||||
shells.all
|
||||
tmux
|
||||
|
||||
]) ++ (self.lib.leaves ./users/modules);
|
||||
] ++ (self.lib.leaves ./users/modules);
|
||||
|
||||
extraSpecialArgs = {
|
||||
inherit profiles;
|
||||
|
|
|
@ -10,7 +10,23 @@
|
|||
sharedModules = [
|
||||
({ profiles, ... }: {
|
||||
imports = with profiles; [
|
||||
# Base configuration
|
||||
xdg
|
||||
|
||||
# Programs
|
||||
direnv
|
||||
emacs
|
||||
git
|
||||
gpg
|
||||
htop
|
||||
keychain
|
||||
ssh
|
||||
vim
|
||||
|
||||
# Terminal
|
||||
shells.all
|
||||
starship
|
||||
tmux
|
||||
];
|
||||
|
||||
home = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue