54 lines
1.2 KiB
Nix
54 lines
1.2 KiB
Nix
{ config, pkgs, ... }:
|
|
{
|
|
imports = [
|
|
(import "${builtins.fetchTarball "https://github.com/nix-community/home-manager/archive/release-20.09.tar.gz"}/nixos")
|
|
];
|
|
|
|
users.users.simon = {
|
|
isNormalUser = true;
|
|
extraGroups = [
|
|
"adbusers"
|
|
"dialout"
|
|
"docker"
|
|
"libvirtd"
|
|
"lp"
|
|
"networkmanager"
|
|
"video"
|
|
"wheel"
|
|
];
|
|
openssh.authorizedKeys.keys = config.sbruder.pubkeys.trustedKeys;
|
|
};
|
|
|
|
home-manager.useUserPackages = true;
|
|
home-manager.useGlobalPkgs = true;
|
|
|
|
home-manager.users.simon = { lib, pkgs, ... }: {
|
|
options.sbruder = {
|
|
gui.enable = lib.mkOption {
|
|
type = lib.types.bool;
|
|
default = config.sbruder.gui.enable;
|
|
description = "Whether to enable gui";
|
|
};
|
|
};
|
|
|
|
imports = [
|
|
./modules/alacritty.nix
|
|
./modules/ankisyncd.nix
|
|
./modules/git.nix
|
|
./modules/gtk.nix
|
|
./modules/htop.nix
|
|
./modules/misc.nix
|
|
./modules/mpd.nix
|
|
./modules/mpv.nix
|
|
./modules/neovim.nix
|
|
./modules/sway.nix
|
|
./modules/tmux.nix
|
|
./modules/vdirsyncer.nix
|
|
./modules/xcompose.nix
|
|
./modules/xdg.nix
|
|
./modules/zathura.nix
|
|
./modules/zsh.nix
|
|
];
|
|
};
|
|
}
|