mirror of
https://github.com/Moe1369/nix-fleet.git
synced 2026-04-24 23:59:07 +02:00
homeModules instead of homemanagermodules
This commit is contained in:
@@ -15,7 +15,7 @@
|
|||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
flake.homeManagerModules.base = { ... }: {
|
flake.homeModules.base = { ... }: {
|
||||||
imports = with config.flake.homeManagerModules; [
|
imports = with config.flake.homeManagerModules; [
|
||||||
git
|
git
|
||||||
zsh
|
zsh
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
{ inputs, ... }: {
|
{ inputs, ... }: {
|
||||||
flake.homeManagerModules.git = { user, fullname, ... }: {
|
flake.homeModules.git = { user, fullname, ... }: {
|
||||||
programs.git = {
|
programs.git = {
|
||||||
enable = true;
|
enable = true;
|
||||||
userName = fullname;
|
userName = fullname;
|
||||||
|
|||||||
@@ -10,7 +10,7 @@
|
|||||||
users.defaultUserShell = pkgs.zsh;
|
users.defaultUserShell = pkgs.zsh;
|
||||||
};
|
};
|
||||||
|
|
||||||
flake.homeManagerModules.zsh = { ... }: {
|
flake.homeModules.zsh = { ... }: {
|
||||||
home.file.".zshrc".source = ./dotfiles/zsh-config;
|
home.file.".zshrc".source = ./dotfiles/zsh-config;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
services.gnome.games.enable = false;
|
services.gnome.games.enable = false;
|
||||||
};
|
};
|
||||||
|
|
||||||
flake.homeManagerModules.gnome = { user, ... }: {
|
flake.homeModules.gnome = { user, ... }: {
|
||||||
dconf.settings = {
|
dconf.settings = {
|
||||||
"org/gnome/shell/keybindings" = {
|
"org/gnome/shell/keybindings" = {
|
||||||
focus-active-notification = [];
|
focus-active-notification = [];
|
||||||
|
|||||||
@@ -10,7 +10,7 @@
|
|||||||
brave
|
brave
|
||||||
];
|
];
|
||||||
|
|
||||||
home-manager.users.${user}.imports = with config.flake.homeManagerModules; [
|
home-manager.users.${user}.imports = with config.flake.homeModules; [
|
||||||
gnome
|
gnome
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user