feat(wpcarro/marcus): Support home-manager
For now: - git confg - picom: X compositor - dunst: system notifications (not working for quassel) I still need to port various configs and ensure I support both gLinux and NixOS machines. Change-Id: I31a635eaacac25ef6219e079fc968d2ece026a5f Reviewed-on: https://cl.tvl.fyi/c/depot/+/4736 Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com> Tested-by: BuildkiteCI
This commit is contained in:
parent
393fbe81d6
commit
3681b0ce1d
3 changed files with 87 additions and 0 deletions
|
@ -13,6 +13,7 @@ let
|
|||
in {
|
||||
imports = [
|
||||
(depot.path + "/users/wpcarro/nixos/marcus/hardware.nix")
|
||||
"${pkgs.home-manager.src}/nixos"
|
||||
];
|
||||
|
||||
# Use the TVL binary cache
|
||||
|
@ -102,6 +103,34 @@ in {
|
|||
VISUAL = "emacsclient";
|
||||
};
|
||||
|
||||
home-manager.useGlobalPkgs = true;
|
||||
home-manager.users.wpcarro = { config, lib, ... }: {
|
||||
programs.git = {
|
||||
enable = true;
|
||||
userName = "William Carroll";
|
||||
userEmail = "wpcarro@gmail.com";
|
||||
extraConfig = {
|
||||
pull.rebase = true;
|
||||
};
|
||||
};
|
||||
|
||||
services.picom = {
|
||||
enable = true;
|
||||
vSync = true;
|
||||
backend = "glx";
|
||||
};
|
||||
|
||||
services.dunst.enable = true;
|
||||
xdg.configFile."dunst/dunstrc" = {
|
||||
source = wpcarro.dotfiles.dunstrc;
|
||||
onChange = ''
|
||||
${pkgs.procps}/bin/pkill -u "$USER" ''${VERBOSE+-e} dunst || true
|
||||
'';
|
||||
};
|
||||
|
||||
systemd.user.startServices = true;
|
||||
};
|
||||
|
||||
environment.systemPackages =
|
||||
wpcarro.common.shell-utils ++
|
||||
(with pkgs; [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue