51 Commits

Author SHA1 Message Date
Patrick Stevens
f413ff7918 Format 2024-11-29 09:38:23 +00:00
Patrick Stevens
7de8ba96f8 Get sway working 2024-11-29 09:37:28 +00:00
Patrick Stevens
ab4af6d488 Merge branch 'main' into more-earthworm 2024-11-28 22:55:29 +00:00
Patrick Stevens
f9172d159b Stash pop 2024-11-15 00:10:47 +00:00
Patrick Stevens
233771f07d Merge main 2024-11-15 00:10:10 +00:00
Patrick Stevens
d7221c2af1 Resolve borked merge 2024-10-21 23:20:40 +01:00
Patrick Stevens
8969b0c347 Merge main 2024-10-21 23:06:40 +01:00
Patrick Stevens
a40777c034 Add waybar 2024-10-21 23:05:37 +01:00
Patrick Stevens
dbe797cf03 WIP 2024-10-21 22:41:31 +01:00
Patrick Stevens
e60a954838 Fix Earthworm key 2024-10-21 22:41:10 +01:00
Patrick Stevens
0e00b6250f Merge main 2024-10-20 10:33:21 +01:00
Patrick Stevens
8ef0e6ef37 Merge main 2024-10-19 22:30:32 +01:00
Patrick Stevens
def75585dd Fix merge 2024-06-14 22:08:39 +01:00
Patrick Stevens
8c67cd2e0a Merge main 2024-06-14 21:58:47 +01:00
Smaug123
348d913a49 Merge branch 'main' into more-earthworm 2024-03-26 00:04:11 +00:00
Smaug123
e668501cad Merge main 2024-03-26 00:01:04 +00:00
Smaug123
e160ff5704 Merge main 2024-03-25 23:58:23 +00:00
Smaug123
7a1e5eb445 Merge branch 'main' into more-earthworm 2024-03-25 23:54:14 +00:00
Smaug123
47fc4dfd39 Use roslyn-nvim, fix some prefixes 2024-03-25 23:44:29 +00:00
Smaug123
ae0713074f Add C# language server 2024-03-25 21:29:19 +00:00
Smaug123
db633836f1 Attempt at venv creation thing 2024-03-25 09:39:47 +00:00
Smaug123
4554ea1a90 Fix buffer-specific binds 2024-03-24 23:30:52 +00:00
Smaug123
75cebeaa7a Stop for today 2024-03-24 21:08:06 +00:00
Smaug123
b94098e5af Fix 2024-03-24 18:18:02 +00:00
Smaug123
371af97527 Fix misalignment 2024-03-24 17:15:54 +00:00
Smaug123
742a708c0c Tidy up 2024-03-24 17:14:24 +00:00
Smaug123
ddbd6718b5 Upgrade nixpkgs 2024-03-24 16:53:46 +00:00
Smaug123
824e35351d Move entirely to Lua 2024-03-24 11:24:35 +00:00
Smaug123
8336993820 Document more 2024-03-23 19:07:25 +00:00
Smaug123
49f2b9be5c Much better 2024-03-23 18:46:18 +00:00
Smaug123
289e430d52 It works 2024-03-23 17:44:00 +00:00
Smaug123
d54f38cf68 Move more stuff to Lua 2024-03-23 14:12:42 +00:00
Smaug123
14981d3401 More 2024-03-23 11:11:27 +00:00
Smaug123
3e9b26c093 More 2024-03-23 11:07:02 +00:00
Smaug123
47b5993422 Nearly working 2024-03-23 01:06:01 +00:00
Smaug123
93b5fc92e9 Rustaceanvim 2024-03-22 21:24:48 +00:00
Smaug123
e493cdbcdd And F# 2024-03-22 21:17:19 +00:00
Smaug123
78b2d62ce2 Python setup 2024-03-22 21:01:26 +00:00
Smaug123
1e4c4c525f More 2024-03-22 19:38:21 +00:00
Smaug123
21bb1ebd3d Fix autoloads 2024-02-26 18:32:35 +00:00
Smaug123
b111a9509d Fix config 2024-02-25 20:01:12 +00:00
Smaug123
ef64007cc9 Couple of fixes 2024-02-25 17:24:04 +00:00
Smaug123
b9bb4c49fa Merge branch 'main' into more-earthworm 2024-02-23 22:47:53 +00:00
Smaug123
d2718febf8 Rem oh-my-zsh 2024-02-23 22:44:39 +00:00
Smaug123
b3eb9adb9f Format 2024-02-23 14:16:04 +00:00
Smaug123
ada02e558b FiraCode 2024-02-23 14:11:48 +00:00
Smaug123
ae96250101 Delete unused keybinds 2024-02-23 11:15:36 +00:00
Smaug123
5e3f257ce6 Merge branch 'main' into more-earthworm 2024-02-23 11:11:39 +00:00
Smaug123
134b0dc8a7 CHADdeps and coq_nvim 2024-02-23 11:06:57 +00:00
Smaug123
a290279914 Relegate to Linux 2024-02-04 23:39:41 +00:00
Patrick Stevens
bea4ca1220 More earthworm 2024-02-04 20:15:15 +00:00
6 changed files with 129 additions and 49 deletions

62
flake.lock generated
View File

@@ -7,11 +7,11 @@
"rust-overlay": "rust-overlay"
},
"locked": {
"lastModified": 1733377410,
"narHash": "sha256-tZ9JEAaHIs3TPdRZeZzHsnJmUilkcnVaUTvyprbRb1A=",
"lastModified": 1731473366,
"narHash": "sha256-sE2WfD3YyNrCROfRZKqMDR77g3KV4FXUaJ7NWe+A7ro=",
"owner": "tpwrules",
"repo": "nixos-apple-silicon",
"rev": "e8c07c3ae199b55a8c1c35a7c067c5cef9c7e929",
"rev": "3eee753e4b074790342fadb1c4e7183d037ddac4",
"type": "github"
},
"original": {
@@ -27,11 +27,11 @@
]
},
"locked": {
"lastModified": 1733570843,
"narHash": "sha256-sQJAxY1TYWD1UyibN/FnN97paTFuwBw3Vp3DNCyKsMk=",
"lastModified": 1731454423,
"narHash": "sha256-TtwvgFxUa0wyptLhQbKaixgNW1UXf3+TDqfX3Kp63oM=",
"owner": "lnl7",
"repo": "nix-darwin",
"rev": "a35b08d09efda83625bef267eb24347b446c80b8",
"rev": "6c71c49e2448e51ad830ed211024e6d0edc50116",
"type": "github"
},
"original": {
@@ -49,11 +49,11 @@
"nixpkgs-stable": "nixpkgs-stable"
},
"locked": {
"lastModified": 1734887366,
"narHash": "sha256-xBJkWgLhn7Fot0KOLFKi1CmBD95We4U5ag9xE3UHu+0=",
"lastModified": 1731604406,
"narHash": "sha256-CUkO4CXaDcGyUqQ+/ArvekL3hlfgass7LjrnG6m2+g8=",
"owner": "nix-community",
"repo": "emacs-overlay",
"rev": "141bcbc88cc068b7715db45b0d10aab43c236ca0",
"rev": "f6c94b95f529cfbd29848c12816111a2471a5293",
"type": "github"
},
"original": {
@@ -82,11 +82,11 @@
"systems": "systems"
},
"locked": {
"lastModified": 1731533236,
"narHash": "sha256-l0KFg5HjrsfsO/JpG+r7fRrqm12kzFHyUHqHCVpMMbI=",
"lastModified": 1701680307,
"narHash": "sha256-kAuep2h5ajznlPMD9rnQyffWG8EM/C73lejGofXvdM8=",
"owner": "numtide",
"repo": "flake-utils",
"rev": "11707dc2f618dd54ca8739b309ec4fc024de578b",
"rev": "4022d587cbbfd70fe950c1e2083a02621806a725",
"type": "github"
},
"original": {
@@ -102,11 +102,11 @@
]
},
"locked": {
"lastModified": 1734893333,
"narHash": "sha256-0Ft7iTkl3UWAix72teY5nflYQD7GE0KvIiT+ox4wkB8=",
"lastModified": 1731604581,
"narHash": "sha256-Qq2YZZaDTB3FZLWU/Hgh1uuWlUBl3cMLGB99bm7rFUM=",
"owner": "nix-community",
"repo": "home-manager",
"rev": "1f74238a4c8e534a1b6be72cb5153043071ffd17",
"rev": "1d0862ee2d7c6f6cd720d6f32213fa425004be10",
"type": "github"
},
"original": {
@@ -129,11 +129,11 @@
},
"nixpkgs": {
"locked": {
"lastModified": 1733212471,
"narHash": "sha256-M1+uCoV5igihRfcUKrr1riygbe73/dzNnzPsmaLCmpo=",
"lastModified": 1731139594,
"narHash": "sha256-IigrKK3vYRpUu+HEjPL/phrfh7Ox881er1UEsZvw9Q4=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "55d15ad12a74eb7d4646254e13638ad0c4128776",
"rev": "76612b17c0ce71689921ca12d9ffdc9c23ce40b2",
"type": "github"
},
"original": {
@@ -145,27 +145,27 @@
},
"nixpkgs-stable": {
"locked": {
"lastModified": 1734737257,
"narHash": "sha256-GIMyMt1pkkoXdCq9un859bX6YQZ/iYtukb9R5luazLM=",
"lastModified": 1731386116,
"narHash": "sha256-lKA770aUmjPHdTaJWnP3yQ9OI1TigenUqVC3wweqZuI=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "1c6e20d41d6a9c1d737945962160e8571df55daa",
"rev": "689fed12a013f56d4c4d3f612489634267d86529",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixos-24.11",
"ref": "nixos-24.05",
"repo": "nixpkgs",
"type": "github"
}
},
"nixpkgs_2": {
"locked": {
"lastModified": 1734435836,
"narHash": "sha256-kMBQ5PRiFLagltK0sH+08aiNt3zGERC2297iB6vrvlU=",
"lastModified": 1731531548,
"narHash": "sha256-sz8/v17enkYmfpgeeuyzniGJU0QQBfmAjlemAUYhfy8=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "4989a246d7a390a859852baddb1013f825435cee",
"rev": "24f0d4acd634792badd6470134c387a3b039dace",
"type": "github"
},
"original": {
@@ -177,11 +177,11 @@
},
"nixpkgs_3": {
"locked": {
"lastModified": 1734254970,
"narHash": "sha256-yZzYWWWeOqSFvIirHzY1SJiuSBPmXIYJFhyt+1zkv8A=",
"lastModified": 1695033101,
"narHash": "sha256-RQ4m+ycjdLdass7Hr4+Lzwnjw7wGhcUkKqWiJS3YxPM=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "d388ee0ec8c623389ab3a7caead258a94cec14de",
"rev": "d941d9491804e0ca01e03468dbf6f8d3a7919a16",
"type": "github"
},
"original": {
@@ -238,11 +238,11 @@
"nixpkgs": "nixpkgs_3"
},
"locked": {
"lastModified": 1734268803,
"narHash": "sha256-KDfUObdMdMSM7prp2QO4f5DRCv9Z2TSCZEL0kFEBzN4=",
"lastModified": 1704121968,
"narHash": "sha256-N8FJb+ohJ4Qt/m5RoAbwm3RP4VRjl+hA6PUCfjPhZo8=",
"owner": "Smaug123",
"repo": "whisper.cpp",
"rev": "8cbc79c799212037e1c7b45548179f9548ea77a5",
"rev": "04f8e0cdc73abe7c593b2c9405f0f590c51de95a",
"type": "github"
},
"original": {

View File

@@ -295,6 +295,7 @@
nixpkgs.git-lfs
nixpkgs.imagemagick
nixpkgs.nixpkgs-fmt
nixpkgs.lnav
nixpkgs.age
nixpkgs.nodejs
nixpkgs.pyright
@@ -337,4 +338,88 @@
home.file.".ideavimrc".source = ./ideavimrc;
home.file.".config/yt-dlp/config".source = ./youtube-dl.conf;
programs.firefox = {
enable = true;
package = nixpkgs.firefox-wayland;
profiles = {
patrick = {
isDefault = true;
name = "patrick";
search = {
default = "Google";
force = true;
};
settings = {
# see https://github.com/TLATER/dotfiles/blob/b39af91fbd13d338559a05d69f56c5a97f8c905d/home-config/config/graphical-applications/firefox.nix
# see https://www.ghacks.net/2015/08/18/a-comprehensive-list-of-firefox-privacy-and-security-settings/
"browser.search.isUS" = false;
"browser.search.region" = "GB";
"gfx.webrender.all" = true; # enable GPU acceleration
"media.ffmpeg.vaapi.enabled" = true;
"widget.dmabuf.force-enabled" = true;
"privacy.webrtc.legacyGlobalIndicator" = false;
"app.shield.optoutstudies.enabled" = false;
"app.update.enabled" = false;
"app.update.auto" = false;
"app.update.silent" = false;
"app.update.service.enabled" = false;
"app.update.staging.enabled" = false;
"browser.discovery.enabled" = false;
"browser.laterrun.enabled" = false;
"browser.shell.checkDefaultBrowser" = false;
"browser.rights.3.shown" = true;
"browser.search.update" = false;
"extensions.update.enabled" = false;
"extensions.update.autoUpdateDefault" = false;
"extensions.getAddons.cache.enabled" = false;
"dom.ipc.plugins.reportCrashURL" = false;
"extensions.webservice.discoverURL" = "http://127.0.0.1";
"toolkit.telemetry.unified" = false;
"toolkit.telemetry.unifiedIsOptIn" = true;
"toolkit.telemetry.enabled" = false;
"toolkit.telemetry.server" = "";
"toolkit.telemetry.archive.enabled" = false;
"lightweightThemes.update.enabled" = false;
"startup.homepage_welcome_url" = "";
"startup.homepage_welcome_url.additional" = "";
"startup.homepage_override_url" = "";
"datareporting.healthreport.uploadEnabled" = false;
"datareporting.healthreport.documentServerURI" = "";
"datareporting.healthreport.service.enabled" = false;
"datareporting.healthreport.about.reportUrl" = "data:text/plain,";
"toolkit.telemetry.cachedClientID" = "";
"browser.selfsupport.url" = "";
"browser.selfsupport.enabled" = false;
"experiments.enabled" = false;
"experiments.supported" = false;
"experiments.activeExperiment" = false;
"experiments.manifest.uri" = "";
"network.allow-experiments" = false;
"breakpad.reportURL" = "";
"browser.tabs.crashReporting.sendReport" = false;
"browser.newtab.preload" = false;
"browser.newtabpage.directory.ping" = "data:text/plain,";
"browser.newtabpage.directory.source" = "data:text/plain,";
"browser.newtabpage.enabled" = false;
"browser.newtabpage.enhanced" = false;
"browser.newtabpage.introShown" = true;
"browser.aboutHomeSnippets.updateUrl" = "https://127.0.0.1";
"extensions.pocket.enabled" = false;
"extensions.pocket.api" = "";
"extensions.pocket.site" = "";
"extensions.pocket.oAuthConsumerKey" = "";
"social.whitelist" = "";
"social.toast-notifications.enabled" = false;
"social.shareDirectory" = "";
"social.remote-install.enabled" = false;
"social.directories" = "";
"social.share.activationPanelEnabled" = false;
"social.enabled" = false;
"dom.flyweb.enabled" = false;
"services.sync.enabled" = false;
};
};
};
};
}

View File

@@ -1,6 +1,13 @@
{nixpkgs, ...}: {
home.packages = [nixpkgs.firefox-wayland nixpkgs.jetbrains.rider];
nixpkgs.config.firefox.speechSynthesisSupport = true;
{
nixpkgs,
username,
dotnet,
...
}: {
home.packages = [nixpkgs.wl-clipboard nixpkgs.jetbrains.rider];
nixpkgs.config.firefox = {
speechSynthesisSupport = true;
};
wayland.windowManager.sway = {
enable = true;
@@ -13,7 +20,7 @@
{command = "${nixpkgs.waybar}/bin/waybar";}
];
};
extraConfig = builtins.replaceStrings ["@@WL-COPY@@" "@@GRIM@@" "@@SLURP@@"] ["${nixpkgs.wl-clipboard}/bin/wl-copy" "${nixpkgs.grim}/bin/grim" "${nixpkgs.slurp}/bin/slurp"] (builtins.readFile ./sway.conf);
extraConfig = builtins.readFile ./sway.conf;
};
programs.waybar = {
@@ -178,7 +185,7 @@
"menu" = "on-click";
"menu-file" = ./modules/waybar/power_menu.xml;
"menu-actions" = {
"shutdown" = "shutdown now";
"shutdown" = "shutdown";
"reboot" = "reboot";
"suspend" = "systemctl suspend";
"hibernate" = "systemctl hibernate";

View File

@@ -13,7 +13,6 @@
home.packages = [
pkgs.alacritty
pkgs.nerd-fonts.fira-code
pkgs.nerd-fonts.droid-sans-mono
(pkgs.nerdfonts.override {fonts = ["FiraCode" "DroidSansMono"];})
];
}

View File

@@ -34,5 +34,3 @@ PATH="$PATH:$HOME/.cargo/bin"
if [[ -z "$TMUX" ]]; then
tmux new-session -A -s default
fi
ttyctl -f

View File

@@ -2,12 +2,3 @@ output Unknown-1 scale 2
input * {
xkb_layout "gb"
}
# capture all screens to clipboard
bindsym Shift+Print exec @@GRIM@@ - | @@WL-COPY@@
# capture the specified screen area to clipboard
bindsym Shift+Alt+Print exec @@GRIM@@ -g "$(@@SLURP@@)" - | @@WL-COPY@@
# capture the focused monitor to clipboard
bindsym Shift+Control+Print exec @@GRIM@@ -o $(swaymsg -t get_outputs | jq -r '.[] | select(.focused) | .name') - | @@WL-COPY@@