restructure home-manager modules

This commit is contained in:
2025-10-01 19:36:53 +02:00
parent 69f948a677
commit 48c5929dfd
10 changed files with 71 additions and 11 deletions

View File

@@ -1,5 +1,14 @@
{ config, pkgs, ... }:
{
self,
config,
pkgs,
...
}:
{
imports = [
self.homeManagerModules.dotfiles
];
home.packages = with pkgs; [ senpai ];
xdg.configFile."senpai".source = "${config.dotfiles.path}/.config/senpai";

View File

@@ -1,5 +1,14 @@
{ config, pkgs, ... }:
{
self,
config,
pkgs,
...
}:
{
imports = [
self.homeManagerModules.dotfiles
];
home.packages = with pkgs; [
bottom
btop

View File

@@ -1,6 +1,12 @@
{ config, inputs, ... }:
{
self,
config,
inputs,
...
}:
{
imports = [
self.homeManagerModules.dotfiles
inputs.ignis.homeManagerModules.default
];

View File

@@ -1,6 +1,7 @@
{ config, ... }:
{ self, config, ... }:
{
imports = [
self.homeManagerModules.dotfiles
./ignis.nix
];

View File

@@ -1,5 +1,14 @@
{ config, pkgs, ... }:
{
self,
config,
pkgs,
...
}:
{
imports = [
self.homeManagerModules.dotfiles
];
home.packages = with pkgs; [
alacritty
ghostty

View File

@@ -1,5 +1,16 @@
{ config, pkgs, ... }:
{
self,
config,
pkgs,
...
}:
{
imports = [
./cli.nix
./helix.nix
self.homeManagerModules.dotfiles
];
home.packages = with pkgs; [
direnv
hut

View File

@@ -0,0 +1,5 @@
{
flake.homeManagerModules = {
dotfiles.imports = [ ./dotfiles.nix ];
};
}

View File

@@ -1,6 +1,14 @@
{ config, pkgs, ... }:
{
self,
config,
pkgs,
...
}:
{
imports = [
self.homeManagerModules.dotfiles
];
home.packages = [ pkgs.helix ];
programs.helix = {