Rework common profile into module system

This commit is contained in:
Charlotte Van Petegem 2020-12-05 13:39:22 +01:00
parent 9d2e54547c
commit 9fdec35027
No known key found for this signature in database
GPG key ID: 019E764B7184435A
29 changed files with 288 additions and 214 deletions

View file

@ -3,13 +3,20 @@
{
imports = [
./default/secret.nix
./bluetooth.nix
./docker.nix
./eid.nix
./git.nix
./global-mailer.nix
./neovim.nix
./nix.nix
./nginx.nix
./ovh.nix
./smartd.nix
./ssh.nix
./sshd.nix
./syncthing-server.nix
./tmux.nix
./zfs.nix
./zsh.nix
];
@ -54,6 +61,18 @@
ripgrep
];
i18n = {
defaultLocale = "en_IE.UTF-8";
extraLocaleSettings = {
LC_TIME = "en_GB.UTF-8";
};
};
console = {
font = "Lat2-Terminus16";
keyMap = "us";
};
users = {
mutableUsers = false;
defaultUserShell = pkgs.zsh;
@ -62,7 +81,7 @@
isNormalUser = true;
home = "/home/charlotte";
description = "Charlotte Van Petegem";
extraGroups = [ "wheel" "systemd-journal" ];
extraGroups = [ "wheel" "systemd-journal" ] ++ lib.optionals config.chvp.graphical [ "input" "video" ];
};
};
};