reorg
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
../../modules/platform/darwin
|
../../modules/darwin
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
...
|
...
|
||||||
}: {
|
}: {
|
||||||
imports = [
|
imports = [
|
||||||
../../../modules/platform/nixos
|
../../../modules/nixos
|
||||||
];
|
];
|
||||||
|
|
||||||
boot = {
|
boot = {
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
allowUnfree = true;
|
allowUnfree = true;
|
||||||
};
|
};
|
||||||
overlays = let
|
overlays = let
|
||||||
path = ../../overlays;
|
path = ../overlays;
|
||||||
in
|
in
|
||||||
with builtins;
|
with builtins;
|
||||||
map (n: import (path + ("/" + n))) (
|
map (n: import (path + ("/" + n))) (
|
||||||
@@ -8,9 +8,9 @@
|
|||||||
...
|
...
|
||||||
}: {
|
}: {
|
||||||
imports = [
|
imports = [
|
||||||
../../core
|
../core.nix
|
||||||
../../networking/tailscale.nix
|
../tailscale.nix
|
||||||
../../services/syncthing.nix
|
../syncthing.nix
|
||||||
./dock
|
./dock
|
||||||
./homebrew.nix
|
./homebrew.nix
|
||||||
./system.nix
|
./system.nix
|
||||||
@@ -49,13 +49,13 @@
|
|||||||
_module.args = {inherit user;};
|
_module.args = {inherit user;};
|
||||||
imports = [
|
imports = [
|
||||||
nixvim.homeModules.nixvim
|
nixvim.homeModules.nixvim
|
||||||
../../home-manager/base
|
../home-manager
|
||||||
../../home-manager/darwin
|
../home-manager/darwin
|
||||||
];
|
];
|
||||||
fonts.fontconfig.enable = true;
|
fonts.fontconfig.enable = true;
|
||||||
home = {
|
home = {
|
||||||
packages =
|
packages =
|
||||||
pkgs.callPackage ../../packages {}
|
pkgs.callPackage ../packages.nix {}
|
||||||
++ pkgs.callPackage ./packages.nix {};
|
++ pkgs.callPackage ./packages.nix {};
|
||||||
stateVersion = constants.stateVersions.homeManager;
|
stateVersion = constants.stateVersions.homeManager;
|
||||||
};
|
};
|
||||||
@@ -1,24 +0,0 @@
|
|||||||
{
|
|
||||||
imports = [
|
|
||||||
./shell/aliases.nix
|
|
||||||
./shell/fish.nix
|
|
||||||
./shell/starship.nix
|
|
||||||
./shell/zsh.nix
|
|
||||||
./tools/atuin.nix
|
|
||||||
./tools/bat.nix
|
|
||||||
./tools/eza.nix
|
|
||||||
./tools/git.nix
|
|
||||||
./tools/lazygit.nix
|
|
||||||
./tools/mise.nix
|
|
||||||
./tools/ssh.nix
|
|
||||||
./tools/zellij.nix
|
|
||||||
./tools/zoxide.nix
|
|
||||||
./editors/neovim
|
|
||||||
];
|
|
||||||
|
|
||||||
programs.home-manager.enable = true;
|
|
||||||
programs.direnv = {
|
|
||||||
enable = true;
|
|
||||||
nix-direnv.enable = true;
|
|
||||||
};
|
|
||||||
}
|
|
||||||
@@ -1,6 +0,0 @@
|
|||||||
{
|
|
||||||
home.shellAliases = {
|
|
||||||
v = "nvim";
|
|
||||||
lg = "lazygit";
|
|
||||||
};
|
|
||||||
}
|
|
||||||
@@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
./terminal/ghostty.nix
|
./ghostty.nix
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|||||||
28
modules/home-manager/default.nix
Normal file
28
modules/home-manager/default.nix
Normal file
@@ -0,0 +1,28 @@
|
|||||||
|
{
|
||||||
|
imports = [
|
||||||
|
./fish.nix
|
||||||
|
./starship.nix
|
||||||
|
./zsh.nix
|
||||||
|
./atuin.nix
|
||||||
|
./bat.nix
|
||||||
|
./eza.nix
|
||||||
|
./git.nix
|
||||||
|
./lazygit.nix
|
||||||
|
./mise.nix
|
||||||
|
./ssh.nix
|
||||||
|
./zellij.nix
|
||||||
|
./zoxide.nix
|
||||||
|
./neovim
|
||||||
|
];
|
||||||
|
|
||||||
|
programs.home-manager.enable = true;
|
||||||
|
programs.direnv = {
|
||||||
|
enable = true;
|
||||||
|
nix-direnv.enable = true;
|
||||||
|
};
|
||||||
|
|
||||||
|
home.shellAliases = {
|
||||||
|
v = "nvim";
|
||||||
|
lg = "lazygit";
|
||||||
|
};
|
||||||
|
}
|
||||||
@@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
./terminal/zellij.nix
|
./zellij.nix
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -7,12 +7,12 @@
|
|||||||
...
|
...
|
||||||
}: {
|
}: {
|
||||||
imports = [
|
imports = [
|
||||||
../../core
|
../core.nix
|
||||||
../../networking/firewall.nix
|
./firewall.nix
|
||||||
../../networking/ssh.nix
|
./ssh.nix
|
||||||
../../networking/tailscale.nix
|
./adguard.nix
|
||||||
../../services/adguard.nix
|
../tailscale.nix
|
||||||
../../services/syncthing.nix
|
../syncthing.nix
|
||||||
sops-nix.nixosModules.sops
|
sops-nix.nixosModules.sops
|
||||||
];
|
];
|
||||||
|
|
||||||
@@ -57,12 +57,12 @@
|
|||||||
_module.args = {inherit user;};
|
_module.args = {inherit user;};
|
||||||
imports = [
|
imports = [
|
||||||
nixvim.homeModules.nixvim
|
nixvim.homeModules.nixvim
|
||||||
../../home-manager/base
|
../home-manager
|
||||||
../../home-manager/nixos
|
../home-manager/nixos
|
||||||
];
|
];
|
||||||
home = {
|
home = {
|
||||||
packages =
|
packages =
|
||||||
pkgs.callPackage ../../packages {}
|
pkgs.callPackage ../packages.nix {}
|
||||||
++ pkgs.callPackage ./packages.nix {};
|
++ pkgs.callPackage ./packages.nix {};
|
||||||
stateVersion = constants.stateVersions.homeManager;
|
stateVersion = constants.stateVersions.homeManager;
|
||||||
};
|
};
|
||||||
Reference in New Issue
Block a user