2020-12-05 15:01:40 +01:00
|
|
|
{ config, pkgs, ... }:
|
2020-08-22 17:44:39 +02:00
|
|
|
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;
|
|
|
|
|
2020-12-05 15:01:40 +01:00
|
|
|
home-manager.users.simon = { lib, pkgs, ... }: {
|
|
|
|
options.sbruder = {
|
2020-12-05 15:44:58 +01:00
|
|
|
gui.enable = lib.mkOption {
|
2020-12-05 15:01:40 +01:00
|
|
|
type = lib.types.bool;
|
2020-12-05 15:44:58 +01:00
|
|
|
default = config.sbruder.gui.enable;
|
2020-12-05 15:01:40 +01:00
|
|
|
description = "Whether to enable gui";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
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
|
2020-11-07 19:06:34 +01:00
|
|
|
./modules/zsh.nix
|
2020-11-07 11:19:41 +01:00
|
|
|
];
|
2020-08-22 17:44:39 +02:00
|
|
|
};
|
|
|
|
}
|