Move home config into modules
This commit is contained in:
parent
b08fc5a41e
commit
d5cbf61286
299 changed files with 850 additions and 698 deletions
14
common.nix
14
common.nix
|
|
@ -4,8 +4,8 @@ with lib;
|
|||
with lib.my;
|
||||
{
|
||||
imports =
|
||||
[ inputs.home-manager.nixosModules.home-manager ];
|
||||
# ++ (mapModulesRec' (toString ./modules) import);
|
||||
[ inputs.home-manager.nixosModules.home-manager ]
|
||||
++ (mapModulesRec' (toString ./modules) import);
|
||||
|
||||
nix = {
|
||||
package = pkgs.nixFlakes;
|
||||
|
|
@ -26,8 +26,18 @@ with lib.my;
|
|||
auto-optimise-store = true;
|
||||
};
|
||||
};
|
||||
|
||||
system.configurationRevision = with inputs; mkIf (self ? rev) self.rev;
|
||||
|
||||
|
||||
time.timeZone = lib.mkDefault "Europe/Amsterdam";
|
||||
|
||||
i18n.defaultLocale = lib.mkDefault "en_US.UTF-8";
|
||||
|
||||
console = {
|
||||
keyMap = lib.mkDefault "fr";
|
||||
};
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
git
|
||||
vim
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue