Organise NixOS and Home Manager modules
This commit is contained in:
parent
501b5cd011
commit
3c7aa3f03e
|
@ -6,13 +6,13 @@
|
||||||
}:
|
}:
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
./modules/alacritty.nix
|
../../modules/home-manager/alacritty.nix
|
||||||
./modules/copyq.nix
|
../../modules/home-manager/copyq.nix
|
||||||
./modules/desktop/bluetuith.nix
|
../../modules/home-manager/bluetuith.nix
|
||||||
./modules/espanso.nix
|
../../modules/home-manager/espanso.nix
|
||||||
./modules/gtk.nix
|
../../modules/home-manager/gtk.nix
|
||||||
./modules/flameshot.nix
|
../../modules/home-manager/flameshot.nix
|
||||||
./modules/gtk.nix
|
../../modules/home-manager/gtk.nix
|
||||||
./modules/mpv.nix
|
../../modules/home-manager/mpv.nix
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
@ -41,7 +41,7 @@ inputs.nixpkgs.lib.nixosSystem {
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
(import ./modules/awesome.nix {
|
(import ../../modules/nixos/awesome.nix {
|
||||||
inherit
|
inherit
|
||||||
inputs
|
inputs
|
||||||
pkgs
|
pkgs
|
||||||
|
@ -49,8 +49,8 @@ inputs.nixpkgs.lib.nixosSystem {
|
||||||
username
|
username
|
||||||
;
|
;
|
||||||
})
|
})
|
||||||
(import ./modules/autorandr.nix)
|
(import ../../modules/nixos/autorandr.nix)
|
||||||
(import ./modules/gnome.nix)
|
(import ../../modules/nixos/gnome.nix)
|
||||||
|
|
||||||
configuration
|
configuration
|
||||||
hardwareConfiguration
|
hardwareConfiguration
|
||||||
|
|
|
@ -16,19 +16,19 @@
|
||||||
programs.home-manager.enable = true;
|
programs.home-manager.enable = true;
|
||||||
|
|
||||||
imports = [
|
imports = [
|
||||||
(import ./modules/git.nix { inherit inputs pkgs; })
|
(import ../../modules/home-manager/git.nix { inherit inputs pkgs; })
|
||||||
(import ./modules/neovim.nix { inherit inputs pkgs; })
|
(import ../../modules/home-manager/neovim.nix { inherit inputs pkgs; })
|
||||||
./modules/bat.nix
|
../../modules/home-manager/bat.nix
|
||||||
./modules/bin.nix
|
../../modules/home-manager/bin.nix
|
||||||
./modules/direnv.nix
|
../../modules/home-manager/direnv.nix
|
||||||
./modules/fzf.nix
|
../../modules/home-manager/fzf.nix
|
||||||
./modules/lsd.nix
|
../../modules/home-manager/lsd.nix
|
||||||
./modules/pet.nix
|
../../modules/home-manager/pet.nix
|
||||||
./modules/phpactor.nix
|
../../modules/home-manager/phpactor.nix
|
||||||
./modules/ripgrep.nix
|
../../modules/home-manager/ripgrep.nix
|
||||||
./modules/syncthing.nix
|
../../modules/home-manager/syncthing.nix
|
||||||
./modules/tmux.nix
|
../../modules/home-manager/tmux.nix
|
||||||
./modules/zellij.nix
|
../../modules/home-manager/zellij.nix
|
||||||
./modules/zsh.nix
|
../../modules/home-manager/zsh.nix
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
1
todo.txt
1
todo.txt
|
@ -1,3 +1,4 @@
|
||||||
|
Use nixosModules and homeManagerModules outputs in flake.nix to simplify importing modules
|
||||||
Add immich for photo hosting
|
Add immich for photo hosting
|
||||||
Use nginx for jellyfin, immich and gitea
|
Use nginx for jellyfin, immich and gitea
|
||||||
Add gitea for local Git hosting
|
Add gitea for local Git hosting
|
||||||
|
|
Loading…
Reference in a new issue