nixos-config/users/simon/base.nix

48 lines
1.0 KiB
Nix

{ pkgs, ... }:
let
pubkeys = import ../../modules/pubkeys.nix;
in
{
imports = [
(import "${builtins.fetchTarball "https://github.com/nix-community/home-manager/archive/master.tar.gz"}/nixos") # FIXME: pin to 20.09
];
users.users.simon = {
isNormalUser = true;
extraGroups = [
"adbusers"
"dialout"
"docker"
"libvirtd"
"lp"
"networkmanager"
"wheel"
];
openssh.authorizedKeys.keys = [
pubkeys."simon@kipf"
];
};
home-manager.useUserPackages = true;
home-manager.useGlobalPkgs = true;
home-manager.users.simon = { pkgs, ... }: {
gtk = {
enable = true;
font.name = "sans-serif 10";
theme = {
package = pkgs.gnome-themes-extra;
name = "Adwaita";
};
iconTheme = {
package = pkgs.gnome3.adwaita-icon-theme;
name = "Adwaita";
};
# Tooltips remain visible when switching to another workspace
gtk2.extraConfig = ''
gtk-enable-tooltips = 0
'';
};
};
}