nixos-config/users/simon/default.nix

52 lines
1.1 KiB
Nix
Raw Normal View History

2020-08-22 17:44:39 +02:00
{ pkgs, ... }:
let
pubkeys = import ../../modules/pubkeys.nix;
in
{
imports = [
2020-11-02 13:50:40 +01:00
(import "${builtins.fetchTarball "https://github.com/nix-community/home-manager/archive/release-20.09.tar.gz"}/nixos")
2020-08-22 17:44:39 +02:00
];
users.users.simon = {
isNormalUser = true;
extraGroups = [
"adbusers"
"dialout"
"docker"
2020-09-12 20:54:10 +02:00
"libvirtd"
2020-08-22 17:44:39 +02:00
"lp"
"networkmanager"
2020-10-17 20:12:13 +02:00
"video"
2020-08-22 17:44:39 +02:00
"wheel"
];
openssh.authorizedKeys.keys = [
2020-10-16 15:32:48 +02:00
pubkeys."simon@nunotaba"
pubkeys."simon@sayuri"
2020-08-22 17:44:39 +02:00
];
};
home-manager.useUserPackages = true;
home-manager.useGlobalPkgs = true;
home-manager.users.simon = { pkgs, ... }: {
2020-11-07 11:19:41 +01:00
imports = [
./modules/alacritty.nix
2020-11-07 14:29:02 +01:00
./modules/ankisyncd.nix
2020-11-07 15:40:07 +01:00
./modules/git.nix
2020-11-07 14:32:31 +01:00
./modules/gtk.nix
./modules/htop.nix
2020-11-07 15:52:04 +01:00
./modules/misc.nix
2020-11-07 15:27:13 +01:00
./modules/mpd.nix
2020-11-07 17:49:02 +01:00
./modules/mpv.nix
2020-11-07 16:58:18 +01:00
./modules/neovim.nix
2020-11-07 14:13:43 +01:00
./modules/sway.nix
2020-11-07 17:24:29 +01:00
./modules/tmux.nix
2020-11-07 17:13:15 +01:00
./modules/vdirsyncer.nix
2020-11-07 15:54:56 +01:00
./modules/xcompose.nix
2020-11-07 14:32:31 +01:00
./modules/xdg.nix
2020-11-07 11:35:58 +01:00
./modules/zathura.nix
./modules/zsh.nix
2020-11-07 11:19:41 +01:00
];
2020-08-22 17:44:39 +02:00
};
}