formating
This commit is contained in:
parent
9927f41463
commit
8ba4965d21
5 changed files with 99 additions and 111 deletions
|
|
@ -1,9 +1,4 @@
|
||||||
{
|
{ pkgs, inputs, osConfig, ... }: {
|
||||||
pkgs,
|
|
||||||
inputs,
|
|
||||||
osConfig,
|
|
||||||
...
|
|
||||||
}: {
|
|
||||||
imports = [
|
imports = [
|
||||||
./aerc.nix
|
./aerc.nix
|
||||||
./bash.nix
|
./bash.nix
|
||||||
|
|
@ -119,7 +114,8 @@
|
||||||
programs.keychain = {
|
programs.keychain = {
|
||||||
enable = true;
|
enable = true;
|
||||||
enableBashIntegration = true;
|
enableBashIntegration = true;
|
||||||
keys = "id_aur id_dsa id_ed25519 git C7E41C9F79C846984163693FCCD8E76F07EA701B";
|
keys =
|
||||||
|
"id_aur id_dsa id_ed25519 git C7E41C9F79C846984163693FCCD8E76F07EA701B";
|
||||||
};
|
};
|
||||||
home.file.".links/links.cfg".source = files/links.cfg;
|
home.file.".links/links.cfg".source = files/links.cfg;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
{pkgs, ...}: {
|
{ pkgs, ... }: {
|
||||||
home.packages = with pkgs; [tree-sitter fd ripgrep];
|
home.packages = with pkgs; [ tree-sitter fd ripgrep ];
|
||||||
programs.nvf = {
|
programs.nvf = {
|
||||||
enable = true;
|
enable = true;
|
||||||
enableManpages = true;
|
enableManpages = true;
|
||||||
|
|
@ -14,14 +14,12 @@
|
||||||
vim.o.sidescrolloff = 8
|
vim.o.sidescrolloff = 8
|
||||||
'';
|
'';
|
||||||
autocomplete.blink-cmp.enable = true;
|
autocomplete.blink-cmp.enable = true;
|
||||||
binds = {
|
binds = { cheatsheet.enable = true; };
|
||||||
cheatsheet.enable = true;
|
|
||||||
};
|
|
||||||
dashboard.alpha = {
|
dashboard.alpha = {
|
||||||
enable = true;
|
enable = true;
|
||||||
theme = "dashboard";
|
theme = "dashboard";
|
||||||
};
|
};
|
||||||
filetree.neo-tree = {enable = true;};
|
filetree.neo-tree = { enable = true; };
|
||||||
comments.comment-nvim.enable = true;
|
comments.comment-nvim.enable = true;
|
||||||
autopairs.nvim-autopairs.enable = true;
|
autopairs.nvim-autopairs.enable = true;
|
||||||
snippets.luasnip.enable = true;
|
snippets.luasnip.enable = true;
|
||||||
|
|
@ -33,9 +31,7 @@
|
||||||
terminal = {
|
terminal = {
|
||||||
toggleterm = {
|
toggleterm = {
|
||||||
enable = true;
|
enable = true;
|
||||||
lazygit = {
|
lazygit = { enable = true; };
|
||||||
enable = true;
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
treesitter = {
|
treesitter = {
|
||||||
|
|
@ -49,42 +45,42 @@
|
||||||
{
|
{
|
||||||
key = "<Tab>";
|
key = "<Tab>";
|
||||||
action = ":bnext<CR>";
|
action = ":bnext<CR>";
|
||||||
mode = ["n"];
|
mode = [ "n" ];
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
key = "<leader>t";
|
key = "<leader>t";
|
||||||
action = ":Telescope buffers<CR>";
|
action = ":Telescope buffers<CR>";
|
||||||
mode = ["n"];
|
mode = [ "n" ];
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
key = "<leader>T";
|
key = "<leader>T";
|
||||||
action = ":terminal<CR>";
|
action = ":terminal<CR>";
|
||||||
mode = ["n"];
|
mode = [ "n" ];
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
key = "<leader>e";
|
key = "<leader>e";
|
||||||
action = ":Neotree toggle<CR>";
|
action = ":Neotree toggle<CR>";
|
||||||
mode = ["n"];
|
mode = [ "n" ];
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
key = "<leader>ow";
|
key = "<leader>ow";
|
||||||
action = ":ObsidianWorkspace<CR>";
|
action = ":ObsidianWorkspace<CR>";
|
||||||
mode = ["n"];
|
mode = [ "n" ];
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
key = "<leader>od";
|
key = "<leader>od";
|
||||||
action = ":ObsidianDailies<CR>";
|
action = ":ObsidianDailies<CR>";
|
||||||
mode = ["n"];
|
mode = [ "n" ];
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
key = "<leader>on";
|
key = "<leader>on";
|
||||||
action = ":ObsidianNew<CR>";
|
action = ":ObsidianNew<CR>";
|
||||||
mode = ["n"];
|
mode = [ "n" ];
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
key = "<leader>oN";
|
key = "<leader>oN";
|
||||||
action = ":ObsidianNewFromTemplate<CR>";
|
action = ":ObsidianNewFromTemplate<CR>";
|
||||||
mode = ["n"];
|
mode = [ "n" ];
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
git = {
|
git = {
|
||||||
|
|
@ -121,11 +117,9 @@
|
||||||
codewindow.enable = true;
|
codewindow.enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
notify = {
|
notify = { nvim-notify.enable = true; };
|
||||||
nvim-notify.enable = true;
|
|
||||||
};
|
|
||||||
|
|
||||||
options = {conceallevel = 1;};
|
options = { conceallevel = 1; };
|
||||||
|
|
||||||
statusline.lualine = {
|
statusline.lualine = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
@ -147,7 +141,7 @@
|
||||||
legacy_commands = true;
|
legacy_commands = true;
|
||||||
ui.enable = false;
|
ui.enable = false;
|
||||||
completion.nvim-cmp = true;
|
completion.nvim-cmp = true;
|
||||||
templates = {subdir = "Templates";};
|
templates = { subdir = "Templates"; };
|
||||||
daily_notes = {
|
daily_notes = {
|
||||||
date_format = "%Y-%m-%d";
|
date_format = "%Y-%m-%d";
|
||||||
folder = "Daily";
|
folder = "Daily";
|
||||||
|
|
|
||||||
|
|
@ -1,9 +1,4 @@
|
||||||
{
|
{ inputs, outputs, pkgs, ... }: {
|
||||||
inputs,
|
|
||||||
outputs,
|
|
||||||
pkgs,
|
|
||||||
...
|
|
||||||
}: {
|
|
||||||
programs.qutebrowser = {
|
programs.qutebrowser = {
|
||||||
enable = true;
|
enable = true;
|
||||||
loadAutoconfig = true;
|
loadAutoconfig = true;
|
||||||
|
|
@ -29,7 +24,8 @@
|
||||||
";V" = "hint --rapid links spawn myweb {hint-url}";
|
";V" = "hint --rapid links spawn myweb {hint-url}";
|
||||||
"xb" = "config-cycle statusbar.show always in-mode";
|
"xb" = "config-cycle statusbar.show always in-mode";
|
||||||
"xt" = "config-cycle tabs.show always switching";
|
"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 = {
|
searchEngines = {
|
||||||
|
|
@ -50,7 +46,8 @@
|
||||||
buymusic2 = "https://www.hdtracks.com/";
|
buymusic2 = "https://www.hdtracks.com/";
|
||||||
cal = "https://cloud.trex-halfbeak.ts.net/apps/calendar/timeGridDay/now";
|
cal = "https://cloud.trex-halfbeak.ts.net/apps/calendar/timeGridDay/now";
|
||||||
canvas = "https://katyisd.instructure.com/login/ldap";
|
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/";
|
chase = "https://www.chase.com/";
|
||||||
cloud = "https://cloud.trex-halfbeak.ts.net/apps/dashboard/";
|
cloud = "https://cloud.trex-halfbeak.ts.net/apps/dashboard/";
|
||||||
cnn = "https://www.cnn.com";
|
cnn = "https://www.cnn.com";
|
||||||
|
|
@ -59,34 +56,42 @@
|
||||||
cups = "http://localhost:631/printers/printer";
|
cups = "http://localhost:631/printers/printer";
|
||||||
darkroom = "https://thedarkroom.com/photodashboard/";
|
darkroom = "https://thedarkroom.com/photodashboard/";
|
||||||
disk = "https://smart.trex-halfbeak.ts.net/web/dashboard";
|
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";
|
droplet = "https://cloud.digitalocean.com/droplets?i=a8b99f";
|
||||||
ercot = "https://www.ercot.com/gridmktinfo/dashboards";
|
ercot = "https://www.ercot.com/gridmktinfo/dashboards";
|
||||||
fiesta = "https://www.fiestamart.com/weekly-ads/?store_code=66";
|
fiesta = "https://www.fiestamart.com/weekly-ads/?store_code=66";
|
||||||
flood = "https://www.harriscountyfws.org/";
|
flood = "https://www.harriscountyfws.org/";
|
||||||
gatus = "https://gatus.trex-halfbeak.ts.net/";
|
gatus = "https://gatus.trex-halfbeak.ts.net/";
|
||||||
gcal = "https://calendar.google.com/calendar/r";
|
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";
|
git = "https://git.trex-halfbeak.ts.net/?repo-search-query=m";
|
||||||
gmail = "https://mail.google.com/mail/u/0/?pli=1#inbox";
|
gmail = "https://mail.google.com/mail/u/0/?pli=1#inbox";
|
||||||
gmaps = "https://www.google.com/maps/";
|
gmaps = "https://www.google.com/maps/";
|
||||||
gmessages = "https://messages.google.com/web/conversations";
|
gmessages = "https://messages.google.com/web/conversations";
|
||||||
gphoto = "https://photos.google.com/";
|
gphoto = "https://photos.google.com/";
|
||||||
gvoice = "https://voice.google.com/u/0/calls";
|
gvoice = "https://voice.google.com/u/0/calls";
|
||||||
hac = "https://homeaccess.katyisd.org/HomeAccess/Account/LogOn?ReturnUrl=%2FHomeAccess";
|
hac =
|
||||||
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";
|
"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";
|
hetzner = "https://console.hetzner.cloud/projects";
|
||||||
hometail = "http://homeassistant.trex-halfbeak.ts.net:8123/lovelace-mine/default_view";
|
hometail =
|
||||||
|
"http://homeassistant.trex-halfbeak.ts.net:8123/lovelace-mine/default_view";
|
||||||
hurricane = "https://www.nhc.noaa.gov/";
|
hurricane = "https://www.nhc.noaa.gov/";
|
||||||
ice = "https://ice.home.duckland.org/";
|
ice = "https://ice.home.duckland.org/";
|
||||||
imdb = "https://www.imdb.com/";
|
imdb = "https://www.imdb.com/";
|
||||||
instapot-cook-times = "https://temeculablogs.com/instant-pot-cooking-times/";
|
instapot-cook-times =
|
||||||
jelly = "https://jellyfin.trex-halfbeak.ts.net/web/index.html#!/home.html";
|
"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";
|
jellyreq = "https://jellyseerr.trex-halfbeak.ts.net/discover/trending";
|
||||||
jzoom = "https://jpmchase.zoom.us/";
|
jzoom = "https://jpmchase.zoom.us/";
|
||||||
katy-bus = "https://busroutes.katyisd.org/wqsimweb/webquery/";
|
katy-bus = "https://busroutes.katyisd.org/wqsimweb/webquery/";
|
||||||
katy-pay = "https://katyisd.revtrak.net/";
|
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/";
|
kindle-read = "https://www.amazon.com/kindle-dbs/ku/ku-central/";
|
||||||
kroger = "https://www.kroger.com/weeklyad";
|
kroger = "https://www.kroger.com/weeklyad";
|
||||||
linkedin = "https://www.linkedin.com/feed/";
|
linkedin = "https://www.linkedin.com/feed/";
|
||||||
|
|
@ -108,16 +113,19 @@
|
||||||
nix-config = "https://nixos.org/manual/nixos/stable/options.html";
|
nix-config = "https://nixos.org/manual/nixos/stable/options.html";
|
||||||
nix-dev = "https://nix.dev/";
|
nix-dev = "https://nix.dev/";
|
||||||
nix-hardware = "https://github.com/duckunix/nixos-hardware";
|
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-manual = "https://nixos.org/manual/nixos/stable/index.html";
|
||||||
nix-options = "https://search.nixos.org/options?";
|
nix-options = "https://search.nixos.org/options?";
|
||||||
nix-package = "https://search.nixos.org/packages";
|
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-versions = "https://lazamar.co.uk/nix-versions/";
|
||||||
nix-wiki = "https://wiki.nixos.org/";
|
nix-wiki = "https://wiki.nixos.org/";
|
||||||
ntop = "https://ice.home.duckland.org:3001/";
|
ntop = "https://ice.home.duckland.org:3001/";
|
||||||
octoprint = "http://octopi/?#temp";
|
octoprint = "http://octopi/?#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/";
|
photos = "https://photos.trex-halfbeak.ts.net/";
|
||||||
pi = "http://pi.hole/admin/";
|
pi = "http://pi.hole/admin/";
|
||||||
pinetab2-releases = "https://wiki.pine64.org/wiki/PineTab2_Releases";
|
pinetab2-releases = "https://wiki.pine64.org/wiki/PineTab2_Releases";
|
||||||
|
|
@ -130,7 +138,8 @@
|
||||||
smile = "https://www.amazon.com/";
|
smile = "https://www.amazon.com/";
|
||||||
spacecity = "https://spacecityweather.com/";
|
spacecity = "https://spacecityweather.com/";
|
||||||
sprouts = "https://www.sprouts.com/weekly-ad/";
|
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";
|
swayutil = "https://github.com/swaywm/sway/wiki/Useful-add-ons-for-sway";
|
||||||
sync-book = "http://book:8384/#";
|
sync-book = "http://book:8384/#";
|
||||||
sync-dragon = "http://dragon:8384/#";
|
sync-dragon = "http://dragon:8384/#";
|
||||||
|
|
@ -157,7 +166,8 @@
|
||||||
vonage = "https://secure.vonage.com/account/login.html";
|
vonage = "https://secure.vonage.com/account/login.html";
|
||||||
vortexic = "https://vortexic-university.sparkuniversity.co/Courses.aspx";
|
vortexic = "https://vortexic-university.sparkuniversity.co/Courses.aspx";
|
||||||
waze = "https://www.waze.com/livemap";
|
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";
|
weather2 = "https://openweathermap.org/city/4681485";
|
||||||
weather3 = "https://www.wunderground.com/weather/us/tx/katy/29.79,-95.82";
|
weather3 = "https://www.wunderground.com/weather/us/tx/katy/29.79,-95.82";
|
||||||
weather4 = "https://www.weatherbug.com/weather-forecast/now/";
|
weather4 = "https://www.weatherbug.com/weather-forecast/now/";
|
||||||
|
|
@ -177,7 +187,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>']}
|
#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 = {
|
settings = {
|
||||||
auto_save = {session = true;};
|
auto_save = { session = true; };
|
||||||
colors = {
|
colors = {
|
||||||
webpage = {
|
webpage = {
|
||||||
bg = "#2d2d2d";
|
bg = "#2d2d2d";
|
||||||
|
|
@ -197,12 +207,13 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
completion = {
|
completion = {
|
||||||
open_categories = ["quickmarks" "searchengines" "bookmarks" "history"];
|
open_categories =
|
||||||
|
[ "quickmarks" "searchengines" "bookmarks" "history" ];
|
||||||
};
|
};
|
||||||
content = {
|
content = {
|
||||||
autoplay = false;
|
autoplay = false;
|
||||||
blocking = {
|
blocking = {
|
||||||
hosts = {block_subdomains = true;};
|
hosts = { block_subdomains = true; };
|
||||||
adblock = {
|
adblock = {
|
||||||
lists = [
|
lists = [
|
||||||
"https://secure.fanboy.co.nz/fanboy-annoyance.txt"
|
"https://secure.fanboy.co.nz/fanboy-annoyance.txt"
|
||||||
|
|
@ -212,7 +223,7 @@
|
||||||
};
|
};
|
||||||
enabled = true;
|
enabled = true;
|
||||||
};
|
};
|
||||||
cookies = {accept = "no-3rdparty";};
|
cookies = { accept = "no-3rdparty"; };
|
||||||
dns_prefetch = false;
|
dns_prefetch = false;
|
||||||
local_content_can_access_remote_urls = true;
|
local_content_can_access_remote_urls = true;
|
||||||
pdfjs = false;
|
pdfjs = false;
|
||||||
|
|
@ -224,35 +235,35 @@
|
||||||
};
|
};
|
||||||
fileselect = {
|
fileselect = {
|
||||||
folder = {
|
folder = {
|
||||||
command = ["${pkgs.foot}/bin/foot" "-e" "ranger" "--choosedir={}"];
|
command = [ "${pkgs.foot}/bin/foot" "-e" "ranger" "--choosedir={}" ];
|
||||||
};
|
};
|
||||||
handler = "external";
|
handler = "external";
|
||||||
multiple_files = {
|
multiple_files = {
|
||||||
command = ["${pkgs.foot}/bin/foot" "-e" "ranger" "--choosefile={}"];
|
command = [ "${pkgs.foot}/bin/foot" "-e" "ranger" "--choosefile={}" ];
|
||||||
};
|
};
|
||||||
single_file = {
|
single_file = {
|
||||||
command = ["${pkgs.foot}/bin/foot" "-e" "ranger" "--choosefile={}"];
|
command = [ "${pkgs.foot}/bin/foot" "-e" "ranger" "--choosefile={}" ];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
qt = {
|
qt = {
|
||||||
args = [
|
args = [
|
||||||
"widevine-path=${pkgs.widevine-cdm}/share/google/chrome/WidevineCdm/_platform_specific/linux_x64/libwidevinecdm.so"
|
"widevine-path=${pkgs.widevine-cdm}/share/google/chrome/WidevineCdm/_platform_specific/linux_x64/libwidevinecdm.so"
|
||||||
];
|
];
|
||||||
workarounds = {remove_service_workers = true;};
|
workarounds = { remove_service_workers = true; };
|
||||||
};
|
};
|
||||||
spellcheck = {languages = ["en-US"];};
|
spellcheck = { languages = [ "en-US" ]; };
|
||||||
statusbar = {
|
statusbar = {
|
||||||
show = "in-mode";
|
show = "in-mode";
|
||||||
position = "bottom";
|
position = "bottom";
|
||||||
};
|
};
|
||||||
tabs = {
|
tabs = {
|
||||||
favicons = {scale = 1;};
|
favicons = { scale = 1; };
|
||||||
indicator = {width = 1;};
|
indicator = { width = 1; };
|
||||||
mode_on_change = "restore";
|
mode_on_change = "restore";
|
||||||
position = "bottom";
|
position = "bottom";
|
||||||
select_on_remove = "next";
|
select_on_remove = "next";
|
||||||
show = "always";
|
show = "always";
|
||||||
title = {format = "{audio}{current_title}";};
|
title = { format = "{audio}{current_title}"; };
|
||||||
};
|
};
|
||||||
url = {
|
url = {
|
||||||
default_page = "about:blank";
|
default_page = "about:blank";
|
||||||
|
|
@ -260,7 +271,7 @@
|
||||||
};
|
};
|
||||||
editor = {
|
editor = {
|
||||||
encoding = "utf-8";
|
encoding = "utf-8";
|
||||||
command = ["kitty" "-e" "nvim" "{file}"];
|
command = [ "kitty" "-e" "nvim" "{file}" ];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -1,11 +1,5 @@
|
||||||
{
|
{ inputs, outputs, lib, config, pkgs, ... }:
|
||||||
inputs,
|
let
|
||||||
outputs,
|
|
||||||
lib,
|
|
||||||
config,
|
|
||||||
pkgs,
|
|
||||||
...
|
|
||||||
}: let
|
|
||||||
my-python-packages = python-packages:
|
my-python-packages = python-packages:
|
||||||
with python-packages; [
|
with python-packages; [
|
||||||
pip
|
pip
|
||||||
|
|
@ -18,10 +12,10 @@
|
||||||
in {
|
in {
|
||||||
nix = {
|
nix = {
|
||||||
settings = {
|
settings = {
|
||||||
experimental-features = ["nix-command" "flakes"];
|
experimental-features = [ "nix-command" "flakes" ];
|
||||||
warn-dirty = false;
|
warn-dirty = false;
|
||||||
auto-optimise-store = true;
|
auto-optimise-store = true;
|
||||||
trusted-users = ["root" "don"];
|
trusted-users = [ "root" "don" ];
|
||||||
};
|
};
|
||||||
gc = {
|
gc = {
|
||||||
automatic = true;
|
automatic = true;
|
||||||
|
|
@ -54,14 +48,14 @@ in {
|
||||||
inputMethod = {
|
inputMethod = {
|
||||||
enable = true;
|
enable = true;
|
||||||
type = "fcitx5";
|
type = "fcitx5";
|
||||||
fcitx5.addons = with pkgs; [fcitx5-mozc fcitx5-gtk];
|
fcitx5.addons = with pkgs; [ fcitx5-mozc fcitx5-gtk ];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
# Bootloader.
|
# Bootloader.
|
||||||
boot = {
|
boot = {
|
||||||
kernelPackages = pkgs.linuxPackages_rpi4;
|
kernelPackages = pkgs.linuxPackages_rpi4;
|
||||||
kernelParams = ["consoleblank=60"];
|
kernelParams = [ "consoleblank=60" ];
|
||||||
#loader = {
|
#loader = {
|
||||||
#systemd-boot = {
|
#systemd-boot = {
|
||||||
#enable = true;
|
#enable = true;
|
||||||
|
|
@ -71,36 +65,34 @@ in {
|
||||||
#efiSysMountPoint = "/boot";
|
#efiSysMountPoint = "/boot";
|
||||||
#};
|
#};
|
||||||
#};
|
#};
|
||||||
plymouth = {enable = true;};
|
plymouth = { enable = true; };
|
||||||
kernel = {sysctl = {"vm.swappiness" = 10;};};
|
kernel = { sysctl = { "vm.swappiness" = 10; }; };
|
||||||
};
|
};
|
||||||
|
|
||||||
security = {
|
security = {
|
||||||
polkit = {enable = true;};
|
polkit = { enable = true; };
|
||||||
sudo.enable = false;
|
sudo.enable = false;
|
||||||
doas = {
|
doas = {
|
||||||
enable = true;
|
enable = true;
|
||||||
extraRules = [
|
extraRules = [{
|
||||||
{
|
users = [ "don" ];
|
||||||
users = ["don"];
|
keepEnv = true;
|
||||||
keepEnv = true;
|
noPass = true;
|
||||||
noPass = true;
|
}];
|
||||||
}
|
|
||||||
];
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
services = {
|
services = {
|
||||||
pcscd = {enable = true;};
|
pcscd = { enable = true; };
|
||||||
beszel-agent = {enable = true;};
|
beszel-agent = { enable = true; };
|
||||||
avahi = {
|
avahi = {
|
||||||
enable = true;
|
enable = true;
|
||||||
nssmdns4 = true;
|
nssmdns4 = true;
|
||||||
};
|
};
|
||||||
printing = {enable = true;};
|
printing = { enable = true; };
|
||||||
udisks2 = {enable = true;};
|
udisks2 = { enable = true; };
|
||||||
nscd = {enableNsncd = true;};
|
nscd = { enableNsncd = true; };
|
||||||
tailscale = {enable = true;};
|
tailscale = { enable = true; };
|
||||||
locate = {
|
locate = {
|
||||||
enable = true;
|
enable = true;
|
||||||
package = pkgs.mlocate;
|
package = pkgs.mlocate;
|
||||||
|
|
@ -184,8 +176,8 @@ in {
|
||||||
];
|
];
|
||||||
|
|
||||||
programs = {
|
programs = {
|
||||||
dconf = {enable = true;};
|
dconf = { enable = true; };
|
||||||
mtr = {enable = true;};
|
mtr = { enable = true; };
|
||||||
gnupg = {
|
gnupg = {
|
||||||
agent = {
|
agent = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
@ -197,7 +189,7 @@ in {
|
||||||
|
|
||||||
nixpkgs.overlays = [
|
nixpkgs.overlays = [
|
||||||
(final: super: {
|
(final: super: {
|
||||||
khal = super.khal.overridePythonAttrs (_: {doCheck = false;});
|
khal = super.khal.overridePythonAttrs (_: { doCheck = false; });
|
||||||
})
|
})
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
@ -205,26 +197,22 @@ in {
|
||||||
networking.firewall = {
|
networking.firewall = {
|
||||||
enable = true;
|
enable = true;
|
||||||
# always allow traffic from your Tailscale network
|
# always allow traffic from your Tailscale network
|
||||||
trustedInterfaces = ["tailscale0"];
|
trustedInterfaces = [ "tailscale0" ];
|
||||||
checkReversePath = "loose";
|
checkReversePath = "loose";
|
||||||
|
|
||||||
# allow the Tailscale UDP port through the firewall
|
# allow the Tailscale UDP port through the firewall
|
||||||
allowedUDPPorts = [config.services.tailscale.port];
|
allowedUDPPorts = [ config.services.tailscale.port ];
|
||||||
allowedTCPPortRanges = [
|
allowedTCPPortRanges = [{
|
||||||
{
|
from = 1714;
|
||||||
from = 1714;
|
to = 1764;
|
||||||
to = 1764;
|
}];
|
||||||
}
|
allowedUDPPortRanges = [{
|
||||||
];
|
from = 1714;
|
||||||
allowedUDPPortRanges = [
|
to = 1764;
|
||||||
{
|
}];
|
||||||
from = 1714;
|
|
||||||
to = 1764;
|
|
||||||
}
|
|
||||||
];
|
|
||||||
|
|
||||||
# allow you to SSH in over the public internet
|
# allow you to SSH in over the public internet
|
||||||
allowedTCPPorts = [22];
|
allowedTCPPorts = [ 22 ];
|
||||||
};
|
};
|
||||||
|
|
||||||
# This value determines the NixOS release from which the default
|
# This value determines the NixOS release from which the default
|
||||||
|
|
|
||||||
|
|
@ -13,8 +13,7 @@
|
||||||
# package = "greetd.wlgreet";
|
# package = "greetd.wlgreet";
|
||||||
settings = {
|
settings = {
|
||||||
default_session = {
|
default_session = {
|
||||||
command =
|
command = "${pkgs.greetd}/bin/agreety --cmd /home/don/bin/mysway";
|
||||||
"${pkgs.greetd.greetd}/bin/agreety --cmd /home/don/bin/mysway";
|
|
||||||
# command = "${pkgs.greetd.tuigreet}/bin/tuigreet --cmd /home/don/bin/mysway";
|
# command = "${pkgs.greetd.tuigreet}/bin/tuigreet --cmd /home/don/bin/mysway";
|
||||||
user = "greeter";
|
user = "greeter";
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue