task | reformatted with nixfmt

This commit is contained in:
Don Harper 2024-12-13 11:50:29 -06:00
parent e3fea64660
commit c3a0a0847f
119 changed files with 1010 additions and 2135 deletions

View file

@ -1,9 +1,5 @@
{
config,
pkgs,
...
}: {
imports = [./bash_complition.nix];
{ config, pkgs, ... }: {
imports = [ ./bash_complition.nix ];
home.file.".bash_local".source = files/bash/bash_local;
home.file.".bash_aliases".source = files/bash/bash_aliases;
home.file.".bash_functions".source = files/bash/bash_functions;
@ -11,7 +7,8 @@
home.file.".bash_keychain".source = files/bash/bash_keychain;
home.file.".bash_logout".source = files/bash/bash_logout;
home.file.".bash_motd".source = files/bash/bash_motd;
home.file.".bash_motd_ownscript.sh".source = files/bash/bash_motd_ownscript.sh;
home.file.".bash_motd_ownscript.sh".source =
files/bash/bash_motd_ownscript.sh;
home.file.".bash_profile".source = files/bash/bash_profile;
home.file.".bashrc".source = files/bash/bashrc;
home.file.".bash_ssh".source = files/bash/bash_ssh;

View file

@ -1,4 +1,4 @@
{pkgs, ...}: {
{ pkgs, ... }: {
home.file = {
doascomplete = {
enable = true;
@ -10,36 +10,36 @@
_init_completion -s || return
local i mode=normal
[[ ''$1 == *doasedit ]] && mode=edit
[[ $1 == *doasedit ]] && mode=edit
[[ ''$mode == normal ]] &&
[[ $mode == normal ]] &&
for ((i = 1; i <= cword; i++)); do
if [[ ''${words[i]} != -* ]]; then
local PATH=''$PATH:/sbin:/usr/sbin:/usr/local/sbin
local PATH=$PATH:/sbin:/usr/sbin:/usr/local/sbin
local root_command=''${words[i]}
_command_offset ''$i
_command_offset $i
return
fi
[[ ''${words[i]} == -@(!(-*)[uUgCp]) ]] &&
((i++))
done
case "''$prev" in
case "$prev" in
-u)
COMPREPLY=(''$(compgen -u -- "''$cur"))
COMPREPLY=($(compgen -u -- "$cur"))
return
;;
esac
''$split && return
$split && return
if [[ ''$cur == -* ]]; then
local opts=''$(_parse_help "''$1")
COMPREPLY=(''$(compgen -W ' ''${opts:-''$(_parse_usage "''$1")}' -- "''$cur"))
if [[ $cur == -* ]]; then
local opts=$(_parse_help "$1")
COMPREPLY=($(compgen -W ' ''${opts:-$(_parse_usage "$1")}' -- "$cur"))
[[ ''${COMPREPLY-} == *= ]] && compopt -o nospace
return
fi
if [[ ''$mode == edit ]]; then
if [[ $mode == edit ]]; then
_filedir
fi
} &&
@ -105,26 +105,26 @@
taskcommand='task rc.verbose:nothing rc.confirmation:no rc.hooks:off'
_task_get_tags() {
''$taskcommand _tags
$taskcommand _tags
}
_task_get_config() {
''$taskcommand _config
$taskcommand _config
}
_task_offer_priorities() {
COMPREPLY=( ''$(compgen -W "L M H" -- ''${cur/*:/}) )
COMPREPLY=( $(compgen -W "L M H" -- ''${cur/*:/}) )
}
_task_offer_projects() {
COMPREPLY=( ''$(compgen -W "''$(''$taskcommand _projects)" -- ''${cur/*:/}) )
COMPREPLY=( $(compgen -W "$($taskcommand _projects)" -- ''${cur/*:/}) )
}
_task_offer_contexts() {
COMPREPLY=( ''$(compgen -W "''$(''$taskcommand _context) define delete list none show" -- ''$cur) )
COMPREPLY=( $(compgen -W "$($taskcommand _context) define delete list none show" -- $cur) )
}
_task_context_alias=''$(''$taskcommand show | grep alias.*context | cut -d' ' -f1 | cut -d. -f2)
_task_context_alias=$($taskcommand show | grep alias.*context | cut -d' ' -f1 | cut -d. -f2)
_task()
{
@ -144,25 +144,25 @@
# echo "prev='''$prev'"
# echo "prev2='''$prev2'"
abbrev_min=''$(''$taskcommand show | grep "abbreviation.minimum" | awk {'print ''$2'})
commands_aliases=''$(echo ''$(''$taskcommand _commands; ''$taskcommand _aliases) | tr " " "\n"|sort|tr "\n" " ")
opts="''$commands_aliases ''$(''$taskcommand _columns)"
abbrev_min=$($taskcommand show | grep "abbreviation.minimum" | awk {'print $2'})
commands_aliases=$(echo $($taskcommand _commands; $taskcommand _aliases) | tr " " "\n"|sort|tr "\n" " ")
opts="$commands_aliases $($taskcommand _columns)"
case "''${prev}" in
''$_task_context_alias|cont|conte|contex|context)
$_task_context_alias|cont|conte|contex|context)
_task_offer_contexts
return 0
;;
:)
case "''${prev2}" in
pri|prior|priori|priorit|priority)
if [ ''${#prev2} -ge ''$abbrev_min ]; then
if [ ''${#prev2} -ge $abbrev_min ]; then
_task_offer_priorities
fi
return 0
;;
pro|proj|proje|projec|project)
if [ ''${#prev2} -ge ''$abbrev_min ]; then
if [ ''${#prev2} -ge $abbrev_min ]; then
_task_offer_projects
fi
return 0
@ -187,13 +187,13 @@
:)
case "''${prev}" in
pri|prior|priori|priorit|priority)
if [ ''${#prev} -ge ''$abbrev_min ]; then
if [ ''${#prev} -ge $abbrev_min ]; then
_task_offer_priorities
fi
return 0
;;
pro|proj|proje|projec|project)
if [ ''${#prev} -ge ''$abbrev_min ]; then
if [ ''${#prev} -ge $abbrev_min ]; then
_task_offer_projects
fi
return 0
@ -212,24 +212,24 @@
esac
;;
+*)
local tags=''$(_task_get_tags | sed 's/^/+/')
COMPREPLY=( ''$(compgen -W "''${tags}" -- ''${cur}) )
local tags=$(_task_get_tags | sed 's/^/+/')
COMPREPLY=( $(compgen -W "''${tags}" -- ''${cur}) )
return 0
;;
-*)
local tags=''$(_task_get_tags | sed 's/^/-/')
COMPREPLY=( ''$(compgen -W "''${tags}" -- ''${cur}) )
local tags=$(_task_get_tags | sed 's/^/-/')
COMPREPLY=( $(compgen -W "''${tags}" -- ''${cur}) )
return 0
;;
rc.*)
local config=''$(_task_get_config | sed -e 's/^/rc\./' -e 's/''$/:/')
COMPREPLY=( ''$(compgen -W "''${config}" -- ''${cur}) )
local config=$(_task_get_config | sed -e 's/^/rc\./' -e 's/$/:/')
COMPREPLY=( $(compgen -W "''${config}" -- ''${cur}) )
return 0
;;
*)
case "''${prev}" in
import)
COMPREPLY=( ''$(compgen -o "default" -- ''${cur}) )
COMPREPLY=( $(compgen -o "default" -- ''${cur}) )
return 0
;;
esac
@ -238,7 +238,7 @@
;;
esac
COMPREPLY=( ''$(compgen -W "''${opts}" -- ''${cur}) )
COMPREPLY=( $(compgen -W "''${opts}" -- ''${cur}) )
return 0
}
complete -o nospace -F _task task
@ -272,7 +272,7 @@
function __get_help_items()
{
echo -e "''$( __get_commands ) interval hints date duration dom"
echo -e "$( __get_commands ) interval hints date duration dom"
}
function __get_options()
@ -283,7 +283,7 @@
function __get_ids()
{
local count
count="''$( timew get dom.tracked.count )"
count="$( timew get dom.tracked.count )"
if [[ "''${count}" -eq "0" ]] ; then
echo ""
else
@ -293,12 +293,12 @@
function __get_tags()
{
timew tags | tail -n +4 -- | sed -e "s|[[:space:]]*-''$||"
timew tags | tail -n +4 -- | sed -e "s|[[:space:]]*-$||"
}
function __get_extensions()
{
timew extensions | awk '{if(NR>6)print ''$1}'
timew extensions | awk '{if(NR>6)print $1}'
}
function __has_entered_id()
@ -314,7 +314,7 @@
function __has_entered_subcommand()
{
local subcommands=''$( __get_subcommands "''${1}" )
local subcommands=$( __get_subcommands "''${1}" )
for word in "''${COMP_WORDS[@]}" ; do
for cmd in ''${subcommands} ; do
@ -329,7 +329,7 @@
function __has_entered_help_item()
{
local items=''$( __get_help_items )
local items=$( __get_help_items )
for word in "''${COMP_WORDS[@]:2}" ; do
for item in ''${items} ; do
@ -358,17 +358,17 @@
local line wordlist
declare -a wordlist
while IFS=''$'\n' read -r line ; do
while IFS=$'\n' read -r line ; do
wordlist+=( "''${line}" )
done <<< "''$( __get_tags )"
done <<< "$( __get_tags )"
declare -a completions
while read -r line ; do
completions+=( "''${line}" )
done < <( compgen -W "''$(printf '%q ' "''${wordlist[@]}")" -- "''${cur}" 2>/dev/null )
done < <( compgen -W "$(printf '%q ' "''${wordlist[@]}")" -- "''${cur}" 2>/dev/null )
for completion in "''${completions[@]}" ; do
COMPREPLY+=( "''$(printf "%q" "''${completion}")" )
COMPREPLY+=( "$(printf "%q" "''${completion}")" )
done
}
@ -385,7 +385,7 @@
wordlist=""
;;
annotate|continue|delete|join|lengthen|move|resize|shorten|split)
wordlist=''$( __get_ids )
wordlist=$( __get_ids )
;;
export|gaps|start|stop|summary|tags|track)
__complete_tag
@ -393,40 +393,40 @@
;;
modify)
if __has_entered_subcommand "''${first}" ; then
wordlist=''$( __get_ids )
wordlist=$( __get_ids )
else
wordlist=''$( __get_subcommands "''${first}" )
wordlist=$( __get_subcommands "''${first}" )
fi
;;
tag|untag)
if __is_entering_id ; then
wordlist=''$( __get_ids )
wordlist=$( __get_ids )
elif __has_entered_id ; then
__complete_tag
return
else
wordlist=''$( __get_ids )
wordlist=$( __get_ids )
fi
;;
report)
wordlist=''$( __get_extensions )
wordlist=$( __get_extensions )
;;
help)
if __has_entered_help_item ; then
wordlist=""
else
wordlist=''$( __get_help_items )
wordlist=$( __get_help_items )
fi
;;
-*)
wordlist=''$( __get_options )
wordlist=$( __get_options )
;;
*)
wordlist=''$( __get_commands )
wordlist=$( __get_commands )
;;
esac
COMPREPLY=(''$( compgen -W "''${wordlist}" -- "''${cur}" ))
COMPREPLY=($( compgen -W "''${wordlist}" -- "''${cur}" ))
}
complete -F _timew timew

View file

@ -1,13 +1,7 @@
{
config,
pkgs,
...
}: {
{ config, pkgs, ... }: {
#home.packages = with pkgs; [ btop ];
programs.btop = {
enable = true;
settings = {
proc_gradient = false;
};
settings = { proc_gradient = false; };
};
}

View file

@ -1,100 +1,98 @@
{pkgs, ...}: {
{ pkgs, ... }: {
programs.neovim = {
plugins = with pkgs.vimPlugins; [
{
plugin = bufferline-nvim;
type = "lua";
config = ''
require("bufferline").setup({
options = {
close_command = "bdelete! %d", -- can be a string | function, see "Mouse actions"
right_mouse_command = "bdelete! %d", -- can be a string | function, see "Mouse actions"
offsets = { { filetype = "NvimTree", text = "", padding = 1 } },
separator_style = "thin", -- | "thick" | "thin" | { 'any', 'any' },
plugins = with pkgs.vimPlugins; [{
plugin = bufferline-nvim;
type = "lua";
config = ''
require("bufferline").setup({
options = {
close_command = "bdelete! %d", -- can be a string | function, see "Mouse actions"
right_mouse_command = "bdelete! %d", -- can be a string | function, see "Mouse actions"
offsets = { { filetype = "NvimTree", text = "", padding = 1 } },
separator_style = "thin", -- | "thick" | "thin" | { 'any', 'any' },
},
highlights = {
fill = {
fg = "#ff0000",
bg = { attribute = "bg", highlight = "TabLine" },
},
highlights = {
fill = {
fg = "#ff0000",
bg = { attribute = "bg", highlight = "TabLine" },
},
background = {
fg = { attribute = "fg", highlight = "TabLine" },
bg = { attribute = "bg", highlight = "TabLine" },
},
buffer_visible = {
fg = { attribute = "fg", highlight = "TabLine" },
bg = { attribute = "bg", highlight = "TabLine" },
},
close_button = {
fg = { attribute = "fg", highlight = "TabLine" },
bg = { attribute = "bg", highlight = "TabLine" },
},
close_button_visible = {
fg = { attribute = "fg", highlight = "TabLine" },
bg = { attribute = "bg", highlight = "TabLine" },
},
tab_selected = {
fg = { attribute = "fg", highlight = "Normal" },
bg = { attribute = "bg", highlight = "Normal" },
},
tab = {
fg = { attribute = "fg", highlight = "TabLine" },
bg = { attribute = "bg", highlight = "TabLine" },
},
tab_close = {
fg = { attribute = "fg", highlight = "TabLineSel" },
bg = { attribute = "bg", highlight = "Normal" },
},
duplicate_selected = {
fg = { attribute = "fg", highlight = "TabLineSel" },
bg = { attribute = "bg", highlight = "TabLineSel" },
italic = true,
},
duplicate_visible = {
fg = { attribute = "fg", highlight = "TabLine" },
bg = { attribute = "bg", highlight = "TabLine" },
italic = true,
},
duplicate = {
fg = { attribute = "fg", highlight = "TabLine" },
bg = { attribute = "bg", highlight = "TabLine" },
italic = true,
},
modified = {
fg = { attribute = "fg", highlight = "TabLine" },
bg = { attribute = "bg", highlight = "TabLine" },
},
modified_selected = {
fg = { attribute = "fg", highlight = "Normal" },
bg = { attribute = "bg", highlight = "Normal" },
},
modified_visible = {
fg = { attribute = "fg", highlight = "TabLine" },
bg = { attribute = "bg", highlight = "TabLine" },
},
separator = {
fg = { attribute = "bg", highlight = "TabLine" },
bg = { attribute = "bg", highlight = "TabLine" },
},
separator_selected = {
fg = { attribute = "bg", highlight = "Normal" },
bg = { attribute = "bg", highlight = "Normal" },
},
indicator_selected = {
fg = { attribute = "fg", highlight = "LspDiagnosticsDefaultHint" },
bg = { attribute = "bg", highlight = "Normal" },
},
background = {
fg = { attribute = "fg", highlight = "TabLine" },
bg = { attribute = "bg", highlight = "TabLine" },
},
})
'';
}
];
buffer_visible = {
fg = { attribute = "fg", highlight = "TabLine" },
bg = { attribute = "bg", highlight = "TabLine" },
},
close_button = {
fg = { attribute = "fg", highlight = "TabLine" },
bg = { attribute = "bg", highlight = "TabLine" },
},
close_button_visible = {
fg = { attribute = "fg", highlight = "TabLine" },
bg = { attribute = "bg", highlight = "TabLine" },
},
tab_selected = {
fg = { attribute = "fg", highlight = "Normal" },
bg = { attribute = "bg", highlight = "Normal" },
},
tab = {
fg = { attribute = "fg", highlight = "TabLine" },
bg = { attribute = "bg", highlight = "TabLine" },
},
tab_close = {
fg = { attribute = "fg", highlight = "TabLineSel" },
bg = { attribute = "bg", highlight = "Normal" },
},
duplicate_selected = {
fg = { attribute = "fg", highlight = "TabLineSel" },
bg = { attribute = "bg", highlight = "TabLineSel" },
italic = true,
},
duplicate_visible = {
fg = { attribute = "fg", highlight = "TabLine" },
bg = { attribute = "bg", highlight = "TabLine" },
italic = true,
},
duplicate = {
fg = { attribute = "fg", highlight = "TabLine" },
bg = { attribute = "bg", highlight = "TabLine" },
italic = true,
},
modified = {
fg = { attribute = "fg", highlight = "TabLine" },
bg = { attribute = "bg", highlight = "TabLine" },
},
modified_selected = {
fg = { attribute = "fg", highlight = "Normal" },
bg = { attribute = "bg", highlight = "Normal" },
},
modified_visible = {
fg = { attribute = "fg", highlight = "TabLine" },
bg = { attribute = "bg", highlight = "TabLine" },
},
separator = {
fg = { attribute = "bg", highlight = "TabLine" },
bg = { attribute = "bg", highlight = "TabLine" },
},
separator_selected = {
fg = { attribute = "bg", highlight = "Normal" },
bg = { attribute = "bg", highlight = "Normal" },
},
indicator_selected = {
fg = { attribute = "fg", highlight = "LspDiagnosticsDefaultHint" },
bg = { attribute = "bg", highlight = "Normal" },
},
},
})
'';
}];
};
}
# vim: shiftwidth=2 tabstop=2 expandtab

View file

@ -1,8 +1,4 @@
{
pkgs,
config,
...
}: {
{ pkgs, config, ... }: {
catppuccin = {
enable = true;
flavor = "mocha";

View file

@ -1,8 +1,4 @@
{
config,
pkgs,
...
}: {
{ config, pkgs, ... }: {
imports = [
./bash.nix
./btop.nix
@ -94,9 +90,7 @@
zip
];
services = {
syncthing = {
tray.enable = true;
};
syncthing = { tray.enable = true; };
gpg-agent = {
enable = true;
defaultCacheTtl = 1800;
@ -108,7 +102,8 @@
enable = true;
enableBashIntegration = true;
agents = "ssh";
keys = "id_aur id_dsa id_ed25519 id_rsa 56913AD86A18257132AA9F03928BC0B78C1BF5AA";
keys =
"id_aur id_dsa id_ed25519 id_rsa 56913AD86A18257132AA9F03928BC0B78C1BF5AA";
inheritType = "any";
};
home.file.".links/links.cfg".source = files/links.cfg;

View file

@ -1,13 +1,5 @@
{
pkgs,
config,
...
}: {
programs.lazygit = {
settings = {
os.editPreset = "lvim";
};
};
{ pkgs, config, ... }: {
programs.lazygit = { settings = { os.editPreset = "lvim"; }; };
programs.git = {
enable = true;
aliases = {
@ -17,9 +9,7 @@
st = "status";
last = "cat-file commit HEAD";
};
diff-so-fancy = {
enable = true;
};
diff-so-fancy = { enable = true; };
extraConfig = {
core = {
user = "Don Harper";
@ -27,9 +17,7 @@
editor = "${pkgs.lunarvim}/bin/lvim";
sshCommand = "${pkgs.openssh}/bin/ssh -i ~/.ssh/git";
};
safe = {
directory = "/home/don/src/nixos/duckland/.git";
};
safe = { directory = "/home/don/src/nixos/duckland/.git"; };
status = {
submoduleSummary = "true";
short = "true";
@ -38,21 +26,14 @@
name = "Don Harper";
email = "duck@duckland.org";
};
push = {
default = "simple";
};
pull = {
rebase = "false";
};
push = { default = "simple"; };
pull = { rebase = "false"; };
git-extras = {
github-personal-access-token = "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";
};
fetch = {
prune = "true";
};
init = {
defaultBranch = "main";
github-personal-access-token =
"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";
};
fetch = { prune = "true"; };
init = { defaultBranch = "main"; };
credential = {
"https://github.com" = {
helper = "!${pkgs.gh}/bin/gh auth git-credential";

View file

@ -1,4 +1,4 @@
{...}: {
{ ... }: {
programs.gpg = {
enable = true;
settings = {

View file

@ -1,5 +1,5 @@
{pkgs, ...}: {
home.packages = with pkgs; [khal];
{ pkgs, ... }: {
home.packages = with pkgs; [ khal ];
xdg.configFile."khal/config".text = ''
[calendars]
[[work]]

View file

@ -1,18 +1,11 @@
{
config,
pkgs,
...
}: {
{ config, pkgs, ... }: {
programs.khard = {
enable = true;
settings = {
general = {
default_action = "list";
editor = "${pkgs.neovim}/bin/nvim";
merge_editor = [
"${pkgs.neovim}/bin/nvim"
"-d"
];
merge_editor = [ "${pkgs.neovim}/bin/nvim" "-d" ];
};
"contact table" = {
display = "first_name";
@ -22,24 +15,11 @@
show_uids = "no";
sort = "last_name";
localize_dates = "yes";
preferred_phone_number_type = [
"pref"
"cell"
"home"
];
preferred_email_address_type = [
"pref"
"work"
"home"
];
preferred_phone_number_type = [ "pref" "cell" "home" ];
preferred_email_address_type = [ "pref" "work" "home" ];
};
vcard = {
private_objects = [
"Jabber"
"Skype"
"Twitter"
"Mastodon"
];
private_objects = [ "Jabber" "Skype" "Twitter" "Mastodon" ];
preferred_version = "3.0";
search_in_source_files = "no";
skip_unparsable = "no";

View file

@ -1,14 +1,10 @@
{
pkgs,
config,
...
}: {
{ pkgs, config, ... }: {
xdg.configFile."lf/icons".source = ./icons;
programs.lf = {
enable = true;
commands = {
editor-open = ''$$EDITOR $f'';
editor-open = "$$EDITOR $f";
mkdir = ''
''${{
printf "Directory Name: "

View file

@ -1,5 +1,5 @@
{pkgs, ...}: {
home.packages = with pkgs; [liquidprompt];
{ pkgs, ... }: {
home.packages = with pkgs; [ liquidprompt ];
xdg.configFile."liquidpromptrc".text = ''
source ~/.config/liquidprompt.theme
LOCAL_RCFILE=$HOME/.config/liquidpromptrc.local

View file

@ -1,9 +1,5 @@
{
config,
pkgs,
...
}: {
home.packages = with pkgs; [listadmin];
{ config, pkgs, ... }: {
home.packages = with pkgs; [ listadmin ];
home.file."listadmin.ini" = {
enable = true;
target = ".listadmin.ini";

View file

@ -1,8 +1,4 @@
{
config,
pkgs,
...
}: {
{ config, pkgs, ... }: {
accounts.email.accounts = {
"don@donharper.org" = {
primary = true;
@ -17,7 +13,7 @@
programs.notmuch = {
enable = true;
new = {
tags = ["unread"];
tags = [ "unread" ];
ignore = [
".mbsyncstate"
".uidvalidity"
@ -26,11 +22,7 @@
".mbsyncstate.lock"
];
};
extraConfig = {
database = {
path = "/home/don/Mail";
};
};
extraConfig = { database = { path = "/home/don/Mail"; }; };
};
xdg.configFile."neomutt/neomuttrc".source = ./files/neomutt/neomuttrc;
@ -49,9 +41,7 @@
OnUnitActiveSec = "5m";
AccuracySec = "1m";
};
Install = {
WantedBy = ["timers.target"];
};
Install = { WantedBy = [ "timers.target" ]; };
};
services.mbsync = {
@ -60,9 +50,7 @@
Environment = "PATH=/run/current-system/sw/bin";
Type = "oneshot";
};
Install = {
WantedBy = ["mbsync.timer"];
};
Install = { WantedBy = [ "mbsync.timer" ]; };
};
services."mbsync-all" = {
@ -71,9 +59,7 @@
Environment = "PATH=/run/current-system/sw/bin";
Type = "oneshot";
};
Install = {
WantedBy = ["mbsync-all.timer"];
};
Install = { WantedBy = [ "mbsync-all.timer" ]; };
};
timers."mbsync-all" = {
@ -81,9 +67,7 @@
AccuracySec = "1m";
OnUnitActiveSec = "14m";
};
Install = {
WantedBy = ["timers.target"];
};
Install = { WantedBy = [ "timers.target" ]; };
};
};
}

View file

@ -1,16 +1,8 @@
{
pkgs,
config,
...
}: {
{ pkgs, config, ... }: {
services = {
mopidy = {
enable = true;
extensionPackages = with pkgs; [
mopidy-mpd
mopidy-subidy
mopidy-moped
];
extensionPackages = with pkgs; [ mopidy-mpd mopidy-subidy mopidy-moped ];
settings = {
http = {
enabled = true;
@ -26,9 +18,7 @@
password = "D4u5c3k!@";
albumartistsort = false;
};
mpd = {
enabled = true;
};
mpd = { enabled = true; };
};
};
};

View file

@ -1,8 +1,4 @@
{
config,
pkgs,
...
}: {
{ config, pkgs, ... }: {
programs.neovim = {
enable = true;
defaultEditor = false;
@ -63,7 +59,5 @@
vimux
];
};
imports = [
./bufferline.nix
];
imports = [ ./bufferline.nix ];
}

View file

@ -1,8 +1,4 @@
{
config,
pkgs,
...
}: {
{ config, pkgs, ... }: {
programs.newsboat = {
enable = true;
autoReload = true;

View file

@ -1,4 +1,4 @@
{pkgs, ...}: {
{ pkgs, ... }: {
home.packages = with pkgs; [
taskwarrior2
taskwarrior-tui
@ -13,9 +13,7 @@
dataLocation = "~/.task";
config = {
weekstart = "Monday";
burndown = {
cumulative = 0;
};
burndown = { cumulative = 0; };
journal = {
info = "no";
time = "yes";
@ -35,8 +33,10 @@
report = {
_reviewed = {
columns = "uuid";
description = "Tasksh review report. Adjust the filter to your needs.";
filter = "( reviewed.none: or reviewed.before:now-4weeks ) and ( +PENDING or +WAITING ) and -someday and project.not:books";
description =
"Tasksh review report. Adjust the filter to your needs.";
filter =
"( reviewed.none: or reviewed.before:now-4weeks ) and ( +PENDING or +WAITING ) and -someday and project.not:books";
sort = "reviewed+,modified+";
};
mine = {
@ -48,25 +48,33 @@
};
next.filter = " status:pending limit:page -BLOCKED -someday -WAITING";
inbox = {
columns = " id,start.age,entry.age,depends,priority,project,tags,recur,scheduled.countdown,due.relative,until.remaining,description,urgency";
columns =
" id,start.age,entry.age,depends,priority,project,tags,recur,scheduled.countdown,due.relative,until.remaining,description,urgency";
description = "list inbox items";
filter = " status:pending limit:10 -BLOCKED -someday -WAITING proj:inbox";
labels = " ID,Active,Age,Deps,P,Project,Tag,Recur,S,Due,Until,Description,Urg";
filter =
" status:pending limit:10 -BLOCKED -someday -WAITING proj:inbox";
labels =
" ID,Active,Age,Deps,P,Project,Tag,Recur,S,Due,Until,Description,Urg";
sort = " urgency-";
context = " 0";
};
waiting = {
columns = " id,start.age,entry.age,depends,priority,project,tags,recur,wait,due,until.remaining,description,urgency";
columns =
" id,start.age,entry.age,depends,priority,project,tags,recur,wait,due,until.remaining,description,urgency";
description = "Waiting";
filter = " status.not:deleted status.not:completed -BLOCKED -someday +WAITING";
labels = " ID,Active,Age,Deps,P,Project,Tag,Recur,Wait til,Due,Until,Description,Urg";
filter =
" status.not:deleted status.not:completed -BLOCKED -someday +WAITING";
labels =
" ID,Active,Age,Deps,P,Project,Tag,Recur,Wait til,Due,Until,Description,Urg";
sort = " wait";
};
nnext = {
columns = " id,start.age,entry.age,depends,priority,project,tags,recur,scheduled.countdown,due.relative,until.remaining,description,urgency";
columns =
" id,start.age,entry.age,depends,priority,project,tags,recur,scheduled.countdown,due.relative,until.remaining,description,urgency";
description = "Next 10 list";
filter = " status:pending limit:10 -BLOCKED -someday -WAITING";
labels = " ID,Active,Age,Deps,P,Project,Tag,Recur,S,Due,Until,Description,Urg";
labels =
" ID,Active,Age,Deps,P,Project,Tag,Recur,S,Due,Until,Description,Urg";
sort = " urgency-";
};
title = {
@ -78,23 +86,28 @@
sort = " description+";
};
anext = {
columns = " id,start.age,entry.age,depends,priority,project,tags,recur,scheduled.countdown,due.relative,until.remaining,description,urgency";
columns =
" id,start.age,entry.age,depends,priority,project,tags,recur,scheduled.countdown,due.relative,until.remaining,description,urgency";
description = "Next 10 list";
filter = " status:pending limit:10 -BLOCKED -WAITING";
labels = " ID,Active,Age,Deps,P,Project,Tag,Recur,S,Due,Until,Description,Urg";
labels =
" ID,Active,Age,Deps,P,Project,Tag,Recur,S,Due,Until,Description,Urg";
sort = " urgency-";
};
last = {
columns = " id,start.age,entry.age,depends,priority,project,tags,recur,scheduled.countdown,due.relative,until.remaining,description,urgency";
columns =
" id,start.age,entry.age,depends,priority,project,tags,recur,scheduled.countdown,due.relative,until.remaining,description,urgency";
description = "Oldest 10 list";
filter = " status:pending limit:10 -BLOCKED -someday -WAITING";
labels = " ID,Active,Age,Deps,P,Project,Tag,Recur,S,Due,Until,Description,Urg";
labels =
" ID,Active,Age,Deps,P,Project,Tag,Recur,S,Due,Until,Description,Urg";
sort = " entry+";
};
inboxdash = {
columns = " id,project,description.count";
description = "Inbox for dashboards";
filter = " status:pending limit:10 -BLOCKED -someday -WAITING proj:inbox";
filter =
" status:pending limit:10 -BLOCKED -someday -WAITING proj:inbox";
labels = " ID,Project,Description";
sort = " urgency-";
};
@ -106,7 +119,8 @@
sort = " urgency-";
};
mail = {
columns = " id,priority,project,due.relative,until.remaining,description.count,urgency";
columns =
" id,priority,project,due.relative,until.remaining,description.count,urgency";
description = "Next 5 list";
filter = " status:pending limit:5 -BLOCKED -someday -WAITING";
labels = " ID,P,Project,Due,Until,Description,Urg";
@ -115,13 +129,15 @@
followup = {
columns = " id,start.age,entry.age,priority,project,description";
description = "Someday list";
filter = " status.not:completed status.not:deleted -BLOCKED +followup";
filter =
" status.not:completed status.not:deleted -BLOCKED +followup";
labels = " ID,Active,Age,P,Project,Description";
sort = " project,urgency-";
context = " 0";
};
someday = {
columns = " id,start.age,entry.age,priority,project,description,urgency";
columns =
" id,start.age,entry.age,priority,project,description,urgency";
description = "Someday list";
filter = " status:pending -BLOCKED +someday limit:page -WAITING";
labels = " ID,Active,Age,P,Project,Description,Urg";
@ -133,7 +149,8 @@
taskd = {
ca = "/home/don/.task/ca.cert.pem";
certificate = "/home/don/.task/don_harper.cert.pem";
credentials = "duckland.org/Don Harper/de27c234-6217-4e8b-83c1-2ea840bac55f";
credentials =
"duckland.org/Don Harper/de27c234-6217-4e8b-83c1-2ea840bac55f";
key = "/home/don/.task/don_harper.key.pem";
server = "task.duckland.org:53589";
recurrence = "on";

View file

@ -1,4 +1,4 @@
{pkgs, ...}: {
{ pkgs, ... }: {
programs.tmux = {
enable = true;
aggressiveResize = true;

View file

@ -1,8 +1,4 @@
{
config,
pkgs,
...
}: {
{ config, pkgs, ... }: {
programs.topgrade = {
enable = true;
settings = {

View file

@ -1,4 +1,4 @@
{pkgs, ...}: {
{ pkgs, ... }: {
programs.vifm = {
enable = true;
extraConfig = ''

View file

@ -1,36 +1,21 @@
{
inputs,
outputs,
...
}: {
imports = [
inputs.home-manager.nixosModules.home-manager
];
home-manager.extraSpecialArgs = {
inherit inputs outputs;
};
{ inputs, outputs, ... }: {
imports = [ inputs.home-manager.nixosModules.home-manager ];
home-manager.extraSpecialArgs = { inherit inputs outputs; };
home-manager = {
useGlobalPkgs = true;
useUserPackages = true;
backupFileExtension = "home-manager-backup";
users = {
don = {
imports = [
inputs.catppuccin.homeManagerModules.catppuccin
./common
];
imports = [ inputs.catppuccin.homeManagerModules.catppuccin ./common ];
home = {
username = "don";
homeDirectory = "/home/don";
stateVersion = "23.05";
};
programs = {
home-manager = {
enable = true;
};
go = {
enable = true;
};
home-manager = { enable = true; };
go = { enable = true; };
};
};
};

View file

@ -1,4 +1,4 @@
{pkgs, ...}: {
{ pkgs, ... }: {
programs.alacritty = {
enable = true;
settings = {

View file

@ -1,4 +1,4 @@
{pkgs, ...}: {
{ pkgs, ... }: {
xdg.configFile."autostart" = {
recursive = true;
source = ./files/autostart;

View file

@ -1,7 +1 @@
{pkgs, ...}: {
home.packages = with pkgs; [
gnome-boxes
libvirt
qemu
];
}
{ pkgs, ... }: { home.packages = with pkgs; [ gnome-boxes libvirt qemu ]; }

View file

@ -1,8 +1,4 @@
{
pkgs,
inputs,
...
}: {
{ pkgs, inputs, ... }: {
home-manager.users.don = {
imports = [
./alacritty.nix
@ -16,13 +12,11 @@
./sway.nix
./terminals.nix
];
fonts = {
fontconfig = {
enable = true;
};
};
fonts = { fontconfig = { enable = true; }; };
nixpkgs.overlays = [
(final: prev: {qutebrowser = prev.qutebrowser.override {enableWideVine = true;};})
(final: prev: {
qutebrowser = prev.qutebrowser.override { enableWideVine = true; };
})
];
home.packages = with pkgs;
[
@ -69,45 +63,46 @@
watchmate
widevine-cdm
yt-dlp
]
++ lib.optional (pkgs.hostPlatform.system == "x86_64-linux") sonixd;
] ++ lib.optional (pkgs.hostPlatform.system == "x86_64-linux") sonixd;
xdg = {
mimeApps = {
enable = true;
associations.added = {
"application/octet-stream" = ["gvim.desktop"];
"application/octet-stream" = [ "gvim.desktop" ];
"application/pdf" = [
"qpdfview.desktop;org.gnome.Evince.desktop;org.pwmt.zathura-pdf-mupdf.desktop"
];
"audio/mpeg" = ["org.kde.kid3.desktop"];
"image/jpeg" = ["darktable.desktop;gimp.desktop;imv.desktop"];
"image/png" = ["darktable.desktop;gimp.desktop;imv-folder.desktop;imv.desktop"];
"image/x-adobe-dng" = ["imv.desktop"];
"inode/directory" = ["thunar.desktop"];
"text/plain" = ["gvim.desktop"];
"x-scheme-handler/pdf" = ["pdfview.desktop"];
"audio/mpeg" = [ "org.kde.kid3.desktop" ];
"image/jpeg" = [ "darktable.desktop;gimp.desktop;imv.desktop" ];
"image/png" =
[ "darktable.desktop;gimp.desktop;imv-folder.desktop;imv.desktop" ];
"image/x-adobe-dng" = [ "imv.desktop" ];
"inode/directory" = [ "thunar.desktop" ];
"text/plain" = [ "gvim.desktop" ];
"x-scheme-handler/pdf" = [ "pdfview.desktop" ];
"x-scheme-handler/tg" = [
"userapp-Telegram Desktop-9M6O50.desktop;userapp-Telegram Desktop-6IJLW1.desktop;userapp-Telegram Desktop-IQIXX1.desktop;userapp-Telegram Desktop-FK06Y1.desktop;userapp-Telegram Desktop-1SZ7Y1.desktop;userapp-Telegram Desktop-C24MZ1.desktop;userapp-Telegram Desktop-29FD01.desktop;userapp-Telegram Desktop-21P401.desktop;userapp-Telegram Desktop-LOTG11.desktop"
];
};
defaultApplications = {
"inode/directory" = ["thunar.desktop"];
"model/3mf" = ["com.ultimaker.cura.desktop"];
"model/gltf+json" = ["com.ultimaker.cura.desktop"];
"model/gltf-binary" = ["com.ultimaker.cura.desktop"];
"model/stl" = ["com.ultimaker.cura.desktop"];
"text/html" = ["org.qutebrowser.qutebrowser.desktop"];
"x-scheme-handler/about" = ["org.qutebrowser.qutebrowser.desktop"];
"x-scheme-handler/etcher" = ["balena-etcher.desktop"];
"x-scheme-handler/http" = ["org.qutebrowser.qutebrowser.desktop"];
"x-scheme-handler/https" = ["org.qutebrowser.qutebrowser.desktop"];
"x-scheme-handler/msteams" = ["teams-for-linux.desktop"];
"x-scheme-handler/pdf" = ["myweb.desktop"];
"x-scheme-handler/tg" = ["userapp-Telegram Desktop-LOTG11.desktop"];
"x-scheme-handler/tootle" = ["com.github.bleakgrey.tootle.desktop"];
"x-scheme-handler/unknown" = ["org.qutebrowser.qutebrowser.desktop"];
"application/pdf" = ["org.pwmt.zathura-pdf-mupdf.desktop"];
"x-scheme-handler/mailto" = ["neomutt.desktop"];
"inode/directory" = [ "thunar.desktop" ];
"model/3mf" = [ "com.ultimaker.cura.desktop" ];
"model/gltf+json" = [ "com.ultimaker.cura.desktop" ];
"model/gltf-binary" = [ "com.ultimaker.cura.desktop" ];
"model/stl" = [ "com.ultimaker.cura.desktop" ];
"text/html" = [ "org.qutebrowser.qutebrowser.desktop" ];
"x-scheme-handler/about" = [ "org.qutebrowser.qutebrowser.desktop" ];
"x-scheme-handler/etcher" = [ "balena-etcher.desktop" ];
"x-scheme-handler/http" = [ "org.qutebrowser.qutebrowser.desktop" ];
"x-scheme-handler/https" = [ "org.qutebrowser.qutebrowser.desktop" ];
"x-scheme-handler/msteams" = [ "teams-for-linux.desktop" ];
"x-scheme-handler/pdf" = [ "myweb.desktop" ];
"x-scheme-handler/tg" = [ "userapp-Telegram Desktop-LOTG11.desktop" ];
"x-scheme-handler/tootle" = [ "com.github.bleakgrey.tootle.desktop" ];
"x-scheme-handler/unknown" =
[ "org.qutebrowser.qutebrowser.desktop" ];
"application/pdf" = [ "org.pwmt.zathura-pdf-mupdf.desktop" ];
"x-scheme-handler/mailto" = [ "neomutt.desktop" ];
};
};
desktopEntries = {
@ -133,7 +128,7 @@
terminal = false;
name = "myweb";
exec = "/home/don/bin/myweb %u";
mimeType = ["x-scheme-handler/pdf"];
mimeType = [ "x-scheme-handler/pdf" ];
};
cooking-notebook = {
type = "Application";
@ -148,8 +143,8 @@
type = "Application";
icon = "obsidian";
comment = "Obsidian";
mimeType = ["x-scheme-handler/obsidian"];
categories = ["Office"];
mimeType = [ "x-scheme-handler/obsidian" ];
categories = [ "Office" ];
};
journal = {
name = "Journal";
@ -158,13 +153,11 @@
type = "Application";
icon = "obsidian";
comment = "Obsidian Journal";
mimeType = ["x-scheme-handler/obsidian"];
categories = ["Office"];
mimeType = [ "x-scheme-handler/obsidian" ];
categories = [ "Office" ];
};
};
configFile = {
"shikane/config.toml".source = files/shikane.toml;
};
configFile = { "shikane/config.toml".source = files/shikane.toml; };
};
};
}

View file

@ -1,9 +1,5 @@
{
config,
pkgs,
...
}: {
home.packages = with pkgs; [fuzzel];
{ config, pkgs, ... }: {
home.packages = with pkgs; [ fuzzel ];
programs.fuzzel = {
enable = true;
settings = {
@ -15,9 +11,7 @@
prompt = " ";
layer = "overlay";
};
border = {
radius = 20;
};
border = { radius = 20; };
dmenu = {
exit-immediately-if-empty = true;
mode = "index";

View file

@ -1,5 +1,5 @@
{pkgs, ...}: {
home.packages = with pkgs; [ktimer];
{ pkgs, ... }: {
home.packages = with pkgs; [ ktimer ];
xdg.configFile."ktimerrc".text = ''
[Job0]
Command[$e]=$HOME/bin/timeup

View file

@ -1,4 +1,4 @@
{pkgs, ...}: {
{ pkgs, ... }: {
programs = {
mpv = {
enable = true;
@ -22,7 +22,8 @@
hr-seek = "yes";
index = "default";
save-position-on-quit = "yes";
script-opts = "ytdl_hook-ytdl_path=/etc/profiles/per-user/don/bin/yt-dlp";
script-opts =
"ytdl_hook-ytdl_path=/etc/profiles/per-user/don/bin/yt-dlp";
# scripts=[ pkgs.mpvScripts.autoload ];
slang = "en";
user-agent = "Mozilla/5.0";

View file

@ -1,9 +1,4 @@
{
inputs,
outputs,
pkgs,
...
}: {
{ inputs, outputs, pkgs, ... }: {
programs.qutebrowser = {
enable = true;
loadAutoconfig = true;
@ -20,7 +15,8 @@
",j" = "spawn --userscript joplin-import";
",l" = "spawn --userscript qute-bitwarden";
",m" = "spawn --userscript mymail";
",n" = ''config-cycle content.user_stylesheets /home/don/src/solarized-everything-css/css/mine.css ""'';
",n" = ''
config-cycle content.user_stylesheets /home/don/src/solarized-everything-css/css/mine.css ""'';
",o" = "spawn --userscript obsidian-import";
",r" = "spawn --userscript recipe";
",t" = "spawn --userscript qute-bitwarden --totp-only";
@ -31,7 +27,8 @@
"gF" = "spawn --userscript openfeeds";
"xb" = "config-cycle statusbar.show always in-mode";
"xt" = "config-cycle tabs.show always switching";
"xx" = "config-cycle statusbar.show always in-mode ;; config-cycle tabs.show always switching";
"xx" =
"config-cycle statusbar.show always in-mode ;; config-cycle tabs.show always switching";
};
};
searchEngines = {
@ -51,7 +48,8 @@
buymusic2 = "https://www.hdtracks.com/";
cal = "https://cloud.trex-halfbeak.ts.net/apps/calendar/timeGridDay/now";
canvas = "https://katyisd.instructure.com/login/ldap";
centerpoint = "http://gis.centerpointenergy.com/outagetracker/?WT.ac=OC_Image_Callout";
centerpoint =
"http://gis.centerpointenergy.com/outagetracker/?WT.ac=OC_Image_Callout";
chase = "https://www.chase.com/";
chromeos = "https://cros-updates-serving.appspot.com/";
cloud = "https://cloud.trex-halfbeak.ts.net/apps/dashboard/";
@ -61,7 +59,8 @@
cups = "http://localhost:631/printers/printer";
darkroom = "https://thedarkroom.com/photodashboard/";
disk = "https://smart.trex-halfbeak.ts.net/web/dashboard";
driversed = "https://driving.aceable.com/teacher/log?studentId=I89fno2YEZo4hQ40";
driversed =
"https://driving.aceable.com/teacher/log?studentId=I89fno2YEZo4hQ40";
droplet = "https://cloud.digitalocean.com/droplets?i=a8b99f";
dtstyle = "https://dtstyle.net/";
ercot = "https://www.ercot.com/gridmktinfo/dashboards";
@ -69,28 +68,35 @@
flood = "https://www.harriscountyfws.org/";
gatus = "https://gatus.trex-halfbeak.ts.net/";
gcal = "https://calendar.google.com/calendar/r";
gfamily = "https://familylink.google.com/member/112279402605706545724/highlights";
gfamily =
"https://familylink.google.com/member/112279402605706545724/highlights";
git = "https://git.trex-halfbeak.ts.net/?repo-search-query=m";
gmail = "https://mail.google.com/mail/u/0/?pli=1#inbox";
gmaps = "https://www.google.com/maps/";
gmessages = "https://messages.google.com/web/conversations";
gphoto = "https://photos.google.com/";
gvoice = "https://voice.google.com/u/0/calls";
hac = "https://homeaccess.katyisd.org/HomeAccess/Account/LogOn?ReturnUrl=%2FHomeAccess";
heb = "https://www.heb.com/collections/weekly-ad?customFilters=onAdFilter&shoppingStore=497&utm_source=1021275&utm_medium=email&utm_campaign=2023-11-24-weekly-ad&utm_content=weekly-ad-banner";
hac =
"https://homeaccess.katyisd.org/HomeAccess/Account/LogOn?ReturnUrl=%2FHomeAccess";
heb =
"https://www.heb.com/collections/weekly-ad?customFilters=onAdFilter&shoppingStore=497&utm_source=1021275&utm_medium=email&utm_campaign=2023-11-24-weekly-ad&utm_content=weekly-ad-banner";
hetzner = "https://console.hetzner.cloud/projects";
hometail = "http://homeassistant.tail:8123/lovelace-mine/default_view";
hurricane = "https://www.nhc.noaa.gov/";
ice = "https://ice.home.duckland.org/";
imdb = "https://www.imdb.com/";
instapot-cook-times = "https://temeculablogs.com/instant-pot-cooking-times/";
jelly = "https://jellyfin.trex-halfbeak.ts.net/web/index.html#!/home.html";
instapot-cook-times =
"https://temeculablogs.com/instant-pot-cooking-times/";
jelly =
"https://jellyfin.trex-halfbeak.ts.net/web/index.html#!/home.html";
jellyreq = "https://jellyseerr.trex-halfbeak.ts.net/discover/trending";
jzoom = "https://jpmchase.zoom.us/";
katy-bus = "https://busroutes.katyisd.org/wqsimweb/webquery/";
katy-bus-times = "https://busroutes.katyisd.org/wqsimweb/webquery/WebQueryRequestController?action=2&schoolcode=046&numofstops=1&schoolname=BECK+JUNIOR+HIGH&attendSchoolIndex=0#stops";
katy-bus-times =
"https://busroutes.katyisd.org/wqsimweb/webquery/WebQueryRequestController?action=2&schoolcode=046&numofstops=1&schoolname=BECK+JUNIOR+HIGH&attendSchoolIndex=0#stops";
katy-pay = "https://katyisd.revtrak.net/";
kindle = "https://smile.amazon.com/mn/dcw/myx.html/ref=kinw_myk_redirect#/home/content/booksAll/dateDsc/";
kindle =
"https://smile.amazon.com/mn/dcw/myx.html/ref=kinw_myk_redirect#/home/content/booksAll/dateDsc/";
kindle-read = "https://www.amazon.com/kindle-dbs/ku/ku-central/";
kisdcal = "https://www.katyisd.org/Page/2#calendar1/20230801/month";
kroger = "https://www.kroger.com/weeklyad";
@ -112,16 +118,19 @@
nix-config = "https://nixos.org/manual/nixos/stable/options.html";
nix-dev = "https://nix.dev/";
nix-hardware = "https://github.com/duckunix/nixos-hardware";
nix-home-manual = "https://nix-community.github.io/home-manager/options.xhtml";
nix-home-manual =
"https://nix-community.github.io/home-manager/options.xhtml";
nix-manual = "https://nixos.org/manual/nixos/stable/index.html";
nix-options = "https://search.nixos.org/options?";
nix-package = "https://search.nixos.org/packages";
nix-up-software = "https://nix.dev/tutorials/learning-journey/packaging-existing-software";
nix-up-software =
"https://nix.dev/tutorials/learning-journey/packaging-existing-software";
nix-versions = "https://lazamar.co.uk/nix-versions/";
nix-wiki = "https://nixos.wiki/";
ntop = "https://ice.home.duckland.org:3001/";
octoprint = "http://octopi.tail/?#temp";
orders = "https://www.amazon.com/gp/css/order-history?ref_=nav_orders_first";
orders =
"https://www.amazon.com/gp/css/order-history?ref_=nav_orders_first";
photos = "https://photos.trex-halfbeak.ts.net/";
pi = "http://pihole.tail/admin/";
pinetab2-releases = "https://wiki.pine64.org/wiki/PineTab2_Releases";
@ -135,7 +144,8 @@
smile = "https://www.amazon.com/";
spacecity = "https://spacecityweather.com/";
sprouts = "https://www.sprouts.com/weekly-ad/";
star = "https://starpizzacinco.revelup.com/weborder/?establishment=1#index";
star =
"https://starpizzacinco.revelup.com/weborder/?establishment=1#index";
swayutil = "https://github.com/swaywm/sway/wiki/Useful-add-ons-for-sway";
sync-dragon = "http://dragon.tail:8384/#";
sync-eve = "http://eve.tail:8384/#";
@ -160,7 +170,8 @@
vonage = "https://secure.vonage.com/account/login.html";
vortexic = "https://vortexic-university.sparkuniversity.co/Courses.aspx";
waze = "https://www.waze.com/livemap";
weather = "https://merrysky.net/forecast/Cinco%20Ranch%20High%20School,%20Katy,%20%20TX/us";
weather =
"https://merrysky.net/forecast/Cinco%20Ranch%20High%20School,%20Katy,%20%20TX/us";
weather2 = "https://openweathermap.org/city/4681485";
weather3 = "https://www.wunderground.com/weather/us/tx/katy/29.79,-95.82";
weather4 = "https://www.weatherbug.com/weather-forecast/now/";
@ -180,9 +191,7 @@
#c.bindings = { key_mappings = ['<Ctrl+6>': '<Ctrl+^>' '<Ctrl+Enter>': '<Ctrl+Return>' '<Ctrl+j>': '<Return>' '<Ctrl+m>': '<Return>' '<Ctrl+[>': '<Escape>' '<Enter>': '<Return>' '<Shift+Enter>': '<Return>' '<Shift+Return>': '<Return>']}
'';
settings = {
auto_save = {
session = true;
};
auto_save = { session = true; };
#};
colors = {
webpage = {
@ -203,12 +212,8 @@
};
};
completion = {
open_categories = [
"quickmarks"
"searchengines"
"bookmarks"
"history"
];
open_categories =
[ "quickmarks" "searchengines" "bookmarks" "history" ];
};
content = {
autoplay = false;
@ -223,66 +228,35 @@
enabled = true;
};
};
downloads = {
prevent_mixed_content = true;
};
downloads = { prevent_mixed_content = true; };
fileselect = {
folder = {
command = [
"kitty"
"-e"
"ranger"
"--choosedir={}"
];
};
folder = { command = [ "kitty" "-e" "ranger" "--choosedir={}" ]; };
handler = "external";
multiple_files = {
command = [
"kitty"
"-e"
"ranger"
"--choosefile={}"
];
command = [ "kitty" "-e" "ranger" "--choosefile={}" ];
};
single_file = {
command = [
"kitty"
"-e"
"ranger"
"--choosefile={}"
];
command = [ "kitty" "-e" "ranger" "--choosefile={}" ];
};
};
qt = {
args = ["widevine-path=${pkgs.widevine-cdm}/share/google/chrome/WidevineCdm/_platform_specific/linux_x64/libwidevinecdm.so"];
workarounds = {
remove_service_workers = true;
};
};
spellcheck = {
languages = ["en-US"];
};
statusbar = {
show = "in-mode";
args = [
"widevine-path=${pkgs.widevine-cdm}/share/google/chrome/WidevineCdm/_platform_specific/linux_x64/libwidevinecdm.so"
];
workarounds = { remove_service_workers = true; };
};
spellcheck = { languages = [ "en-US" ]; };
statusbar = { show = "in-mode"; };
tabs = {
favicons = {
scale = 1;
};
indicator = {
width = 1;
};
favicons = { scale = 1; };
indicator = { width = 1; };
mode_on_change = "restore";
position = "bottom";
select_on_remove = "next";
show = "always";
title = {
format = "{audio}{current_title}";
};
};
url = {
default_page = "about:blank";
title = { format = "{audio}{current_title}"; };
};
url = { default_page = "about:blank"; };
};
};
home.file.qutebrowserlocal = {

View file

@ -1,8 +1,4 @@
{
config,
pkgs,
...
}: {
{ config, pkgs, ... }: {
services.redshift = {
enable = true;
latitude = "29.74";

View file

@ -1,10 +1,6 @@
{...}: {
{ ... }: {
services = {
gnome-keyring = {
enable = true;
};
ssh-agent = {
enable = true;
};
gnome-keyring = { enable = true; };
ssh-agent = { enable = true; };
};
}

View file

@ -1,12 +1,6 @@
{
inputs,
pkgs,
hostname,
outputs,
osConfig,
...
}: {
xdg.configFile."sway/config".source = ./files/sway/${osConfig.networking.hostName};
{ inputs, pkgs, hostname, outputs, osConfig, ... }: {
xdg.configFile."sway/config".source =
./files/sway/${osConfig.networking.hostName};
xdg.configFile."waybar/weather.py".source = ./files/sway/weather.py;
xdg.configFile."waybar/weather.conf".source = ./files/sway/weather.conf;
@ -30,13 +24,9 @@
position = "top";
height = 10;
spacing = 0;
modules-left = [
"sway/workspaces"
"sway/mode"
"wlr/workspaces"
"custom/mycal"
];
modules-center = [];
modules-left =
[ "sway/workspaces" "sway/mode" "wlr/workspaces" "custom/mycal" ];
modules-center = [ ];
# modules-right = ["idle_inhibitor" "custom/mytimew" "pulseaudio" "custom/mymusic" "bluetooth" "network" "backlight" "battery" "battery#bat2" "tray" "custom/mycal" "clock"];
modules-right = [
"idle_inhibitor"
@ -89,12 +79,8 @@
on-click = "~/bin/control-music --pause";
interval = 5;
};
"sway/window" = {
icon-size = 10;
};
"sway/mode" = {
format = "<span style=\"italic\">{}</span>";
};
"sway/window" = { icon-size = 10; };
"sway/mode" = { format = ''<span style="italic">{}</span>''; };
"idle_inhibitor" = {
format = "{icon}";
format-icons = {
@ -107,7 +93,9 @@
spacing = 10;
};
clock = {
tooltip-format = "<big>{:%Y %B %d}</big>\n<tt><small>{calendar}</small></tt>";
tooltip-format = ''
<big>{:%Y %B %d}</big>
<tt><small>{calendar}</small></tt>'';
format = "{:%I:%M %p}";
format-alt = "{:%Y-%m-%d}";
on-click = "~/bin/mynewterm -e ikhal";
@ -116,9 +104,7 @@
format = "cpu: {usage}%";
tooltip = false;
};
memory = {
format = "mem: {}%";
};
memory = { format = "mem: {}%"; };
temperature = {
critical-threshold = 80;
format = "{temperatureC}°C {icon}";
@ -135,9 +121,7 @@
format-discharging = "d:{capacity}% {time}";
format-alt = "{time} {icon}";
};
"battery#bat2" = {
bat = "BAT2";
};
"battery#bat2" = { bat = "BAT2"; };
network = {
format-wifi = "{essid} ({signalStrength}%)";
format-ethernet = "{ipaddr}/{cidr}";

View file

@ -1,8 +1,4 @@
{
config,
pkgs,
...
}: {
{ config, pkgs, ... }: {
programs.kitty = {
enable = true;
settings = {
@ -16,19 +12,11 @@
};
programs.foot = {
enable = true;
server = {
enable = true;
};
server = { enable = true; };
settings = {
main = {
term = "tmux-256color";
};
mouse = {
hide-when-typing = "yes";
};
bell = {
urgent = "yes";
};
main = { term = "tmux-256color"; };
mouse = { hide-when-typing = "yes"; };
bell = { urgent = "yes"; };
};
};
}

View file

@ -1,22 +1,15 @@
{
config,
pkgs,
inputs,
...
}: {
home.packages = with pkgs; [
(pkgs.citrix_workspace.override {
libvorbis = pkgs.libvorbis.override {
libogg = pkgs.libogg.overrideAttrs (prevAttrs: {
cmakeFlags =
(prevAttrs.cmakeFlags or [])
++ [
(lib.cmakeBool "BUILD_SHARED_LIBS" true)
];
});
};
})
];
{ config, pkgs, inputs, ... }: {
home.packages = with pkgs;
[
(pkgs.citrix_workspace.override {
libvorbis = pkgs.libvorbis.override {
libogg = pkgs.libogg.overrideAttrs (prevAttrs: {
cmakeFlags = (prevAttrs.cmakeFlags or [ ])
++ [ (lib.cmakeBool "BUILD_SHARED_LIBS" true) ];
});
};
})
];
home.file."ICAClient" = {
recursive = true;
source = ./files/citrix;

View file

@ -1,12 +1,3 @@
{
pkgs,
inputs,
...
}: {
home-manager.users.don = {
imports = [
./citrix.nix
./zoom.nix
];
};
{ pkgs, inputs, ... }: {
home-manager.users.don = { imports = [ ./citrix.nix ./zoom.nix ]; };
}

View file

@ -1,9 +1,5 @@
{
config,
pkgs,
...
}: {
home.packages = with pkgs; [zoom-us];
{ config, pkgs, ... }: {
home.packages = with pkgs; [ zoom-us ];
# xdg = {
# configFile."zoom.conf".source = files/zoom.conf;
# configFile."zoomus.conf".source = files/zoomus.conf;