mirror of
https://github.com/nmasur/dotfiles
synced 2025-07-06 16:40:14 +00:00
hostnames and user settings
This commit is contained in:
@ -7,6 +7,7 @@
|
||||
|
||||
let
|
||||
cfg = config.nmasur.presets.programs.fish;
|
||||
inherit (config.nmasur.settings) username;
|
||||
in
|
||||
|
||||
{
|
||||
@ -18,7 +19,7 @@ in
|
||||
|
||||
environment.shells = [ pkgs.fish ];
|
||||
|
||||
users.users.${config.user}.shell = pkgs.fish;
|
||||
users.users.${username}.shell = pkgs.fish;
|
||||
|
||||
# Speeds up fish launch time on macOS
|
||||
programs.fish.useBabelfish = true;
|
||||
|
@ -6,6 +6,7 @@
|
||||
|
||||
let
|
||||
cfg = config.nmasur.presets.services.hammerspoon;
|
||||
inherit (config.nmasur.settings) username;
|
||||
in
|
||||
|
||||
{
|
||||
@ -19,7 +20,7 @@ in
|
||||
|
||||
system.activationScripts.postUserActivation.text = ''
|
||||
defaults write org.hammerspoon.Hammerspoon MJConfigFile "${
|
||||
config.home-manager.users.${config.user}.xdg.configHome
|
||||
config.home-manager.users.${username}.xdg.configHome
|
||||
}/hammerspoon/init.lua"
|
||||
sudo killall Dock
|
||||
'';
|
||||
|
Reference in New Issue
Block a user