misc cleanup and chat apps

This commit is contained in:
Matt Nish-Lapidus 2025-04-24 12:36:39 -04:00
parent 7e413fe08e
commit 5f4546c508
7 changed files with 74 additions and 64 deletions

78
flake.lock generated
View file

@ -30,11 +30,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1745224732, "lastModified": 1745502102,
"narHash": "sha256-0OWgbEKhpMLpk3WQi3ugOwxWW4Y6JVpKiQ+o0nuNzus=", "narHash": "sha256-LqhRwzvIVPEjH0TaPgwzqpyhW6DtCrvz7FnUJDoUZh8=",
"owner": "nix-community", "owner": "nix-community",
"repo": "disko", "repo": "disko",
"rev": "1770bf1ae5da05564f86b969ef21c7228cc1a70b", "rev": "ca27b88c88948d96feeee9ed814cbd34f53d0d70",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -90,11 +90,11 @@
"nixpkgs-stable": "nixpkgs-stable" "nixpkgs-stable": "nixpkgs-stable"
}, },
"locked": { "locked": {
"lastModified": 1745342319, "lastModified": 1745483009,
"narHash": "sha256-Tl4ZEeGxlGqBdkKyWGadx4jC66eIVjjKSEqy5PZWW1E=", "narHash": "sha256-nMSo37sprHHbK7uYAw5IwVbQ/qqB9piMh8IGH77EqSk=",
"owner": "nix-community", "owner": "nix-community",
"repo": "emacs-overlay", "repo": "emacs-overlay",
"rev": "029d994c584161072f221206b52411dd6c3df227", "rev": "acf94b5dd33ce8e3fb995421cd1a719bb0d9c804",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -362,11 +362,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1745350245, "lastModified": 1745494811,
"narHash": "sha256-KK0LZX8O73DVIcI5qnxuDeSh3b4RrkDfC6lvIjzEyzc=", "narHash": "sha256-YZCh2o9Ua1n9uCvrvi5pRxtuVNml8X2a03qIFfRKpFs=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "6899001a762b0e089ad7b8ec7637d0a678640b8e", "rev": "abfad3d2958c9e6300a883bd443512c55dfeb1be",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -416,11 +416,11 @@
"systems": "systems" "systems": "systems"
}, },
"locked": { "locked": {
"lastModified": 1743294595, "lastModified": 1745357037,
"narHash": "sha256-kEr12UVk8Bul09wi9g8UwXADpTdDxinfAO2V5/1RhJA=", "narHash": "sha256-eakUr+0ON1muX3nusJy3eC66unUQtjgnUUzQ5XMIB+k=",
"owner": "hyprwm", "owner": "hyprwm",
"repo": "hypridle", "repo": "hypridle",
"rev": "66d1815b5ef5f7de083ec285aaab68064924b897", "rev": "b18d83027676d0efbc6d56ed4a6935ac65d75067",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -724,11 +724,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1745350616, "lastModified": 1745477852,
"narHash": "sha256-pph3fWc7ikLiB6LoYnoEGxwd37v93/0AW3ee+ZA/HwM=", "narHash": "sha256-QvJJ3BHhPOhotJuuIYEzZwwtXUBwXBl2aVJy7FBe29k=",
"owner": "viperML", "owner": "viperML",
"repo": "nh", "repo": "nh",
"rev": "3262f3ccc8ea26bc04b13ebc3b13409224d436dc", "rev": "418c6620f80f064b38011d0f44c1240c67169cc5",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -749,11 +749,11 @@
"xwayland-satellite-unstable": "xwayland-satellite-unstable" "xwayland-satellite-unstable": "xwayland-satellite-unstable"
}, },
"locked": { "locked": {
"lastModified": 1745355323, "lastModified": 1745483403,
"narHash": "sha256-cgUL9JndEImhR5Oj/dzKI4/CrvpTH4i8IzzMJZWKAYo=", "narHash": "sha256-fNemxNtPugDzCK7ofPApufFhD4EW5PiA0v3+aS1O6rY=",
"owner": "sodiboo", "owner": "sodiboo",
"repo": "niri-flake", "repo": "niri-flake",
"rev": "706ab2a083c38902ff31680d96a82486ee8e2a78", "rev": "17ebd40a372527ad20cc799b1835beaf7abf7200",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -894,11 +894,11 @@
}, },
"nixos-hardware": { "nixos-hardware": {
"locked": { "locked": {
"lastModified": 1744633460, "lastModified": 1745503349,
"narHash": "sha256-fbWE4Xpw6eH0Q6in+ymNuDwTkqmFmtxcQEmtRuKDTTk=", "narHash": "sha256-bUGjvaPVsOfQeTz9/rLTNLDyqbzhl0CQtJJlhFPhIYw=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixos-hardware", "repo": "nixos-hardware",
"rev": "9a049b4a421076d27fee3eec664a18b2066824cb", "rev": "f7bee55a5e551bd8e7b5b82c9bc559bc50d868d1",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -952,11 +952,11 @@
}, },
"nixpkgs-stable": { "nixpkgs-stable": {
"locked": { "locked": {
"lastModified": 1744440957, "lastModified": 1745279238,
"narHash": "sha256-FHlSkNqFmPxPJvy+6fNLaNeWnF1lZSgqVCl/eWaJRc4=", "narHash": "sha256-AQ7M9wTa/Pa/kK5pcGTgX/DGqMHyzsyINfN7ktsI7Fo=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "26d499fc9f1d567283d5d56fcf367edd815dba1d", "rev": "9684b53175fc6c09581e94cc85f05ab77464c7e3",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -968,11 +968,11 @@
}, },
"nixpkgs-stable_2": { "nixpkgs-stable_2": {
"locked": { "locked": {
"lastModified": 1744440957, "lastModified": 1745279238,
"narHash": "sha256-FHlSkNqFmPxPJvy+6fNLaNeWnF1lZSgqVCl/eWaJRc4=", "narHash": "sha256-AQ7M9wTa/Pa/kK5pcGTgX/DGqMHyzsyINfN7ktsI7Fo=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "26d499fc9f1d567283d5d56fcf367edd815dba1d", "rev": "9684b53175fc6c09581e94cc85f05ab77464c7e3",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -1000,11 +1000,11 @@
}, },
"nixpkgs-stable_4": { "nixpkgs-stable_4": {
"locked": { "locked": {
"lastModified": 1744440957, "lastModified": 1745279238,
"narHash": "sha256-FHlSkNqFmPxPJvy+6fNLaNeWnF1lZSgqVCl/eWaJRc4=", "narHash": "sha256-AQ7M9wTa/Pa/kK5pcGTgX/DGqMHyzsyINfN7ktsI7Fo=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "26d499fc9f1d567283d5d56fcf367edd815dba1d", "rev": "9684b53175fc6c09581e94cc85f05ab77464c7e3",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -1048,11 +1048,11 @@
}, },
"nixpkgs_4": { "nixpkgs_4": {
"locked": { "locked": {
"lastModified": 1745234285, "lastModified": 1745391562,
"narHash": "sha256-GfpyMzxwkfgRVN0cTGQSkTC0OHhEkv3Jf6Tcjm//qZ0=", "narHash": "sha256-sPwcCYuiEopaafePqlG826tBhctuJsLx/mhKKM5Fmjo=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "c11863f1e964833214b767f4a369c6e6a7aba141", "rev": "8a2f738d9d1f1d986b5a4cd2fd2061a7127237d7",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -1479,11 +1479,11 @@
"rust-overlay": "rust-overlay_2" "rust-overlay": "rust-overlay_2"
}, },
"locked": { "locked": {
"lastModified": 1744860839, "lastModified": 1745372360,
"narHash": "sha256-m/p0wFYey7zqlf5yEJ3g/h+4ZNPkjPsGiMZVJ09aWWw=", "narHash": "sha256-5DX9lYmEbkdANCzME2v3coV0EnWOhS7NsTlGBQuqmjM=",
"owner": "Supreeeme", "owner": "Supreeeme",
"repo": "xwayland-satellite", "repo": "xwayland-satellite",
"rev": "2b5288b4b9ad2481a033e9c3cc1205108323e7d9", "rev": "c31679aa41966ee9272bb240703755cb1e7c72e3",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -1512,11 +1512,11 @@
"xwayland-satellite-unstable": { "xwayland-satellite-unstable": {
"flake": false, "flake": false,
"locked": { "locked": {
"lastModified": 1744860839, "lastModified": 1745372360,
"narHash": "sha256-m/p0wFYey7zqlf5yEJ3g/h+4ZNPkjPsGiMZVJ09aWWw=", "narHash": "sha256-5DX9lYmEbkdANCzME2v3coV0EnWOhS7NsTlGBQuqmjM=",
"owner": "Supreeeme", "owner": "Supreeeme",
"repo": "xwayland-satellite", "repo": "xwayland-satellite",
"rev": "2b5288b4b9ad2481a033e9c3cc1205108323e7d9", "rev": "c31679aa41966ee9272bb240703755cb1e7c72e3",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -12,4 +12,4 @@ Host ford
Host services Host services
User emenel User emenel
Hostname 157.180.47.84 Hostname gt.emenel.ca

View file

@ -210,15 +210,15 @@
}; };
hardware = { hardware = {
# sane = { sane = {
# enable = true; enable = true;
# extraBackends = [ extraBackends = [
# pkgs.hplipWithPlugin pkgs.hplipWithPlugin
# pkgs.sane-airscan pkgs.sane-airscan
# pkgs.epkowa pkgs.epkowa
# pkgs.utsushi pkgs.utsushi
# ]; ];
# }; };
i2c.enable = true; i2c.enable = true;
uinput.enable = true; uinput.enable = true;
openrazer = { openrazer = {
@ -308,8 +308,8 @@
pkgs.vial pkgs.vial
pkgs.ddcutil pkgs.ddcutil
pkgs.game-devices-udev-rules pkgs.game-devices-udev-rules
# pkgs.sane-airscan pkgs.sane-airscan
# pkgs.utsushi pkgs.utsushi
(pkgs.writeTextFile { (pkgs.writeTextFile {
name = "on-battery"; name = "on-battery";

View file

@ -48,9 +48,9 @@
# godot_4 # godot_4
# gdtoolkit_4 # gdtoolkit_4
# epsonscan2 epsonscan2
# sane-airscan sane-airscan
# xsane xsane
bitwarden-cli bitwarden-cli
bitwarden-desktop bitwarden-desktop
@ -97,10 +97,15 @@
krita-plugin-gmic krita-plugin-gmic
rawtherapee rawtherapee
inkscape inkscape
# kicad
# (kicad.override {
# addons = with pkgs.kicadAddons; [ kikit kikit-library ];
# })
turbocase turbocase
openscad-unstable openscad-unstable
openscad-lsp openscad-lsp
picard picard
plugdata plugdata
pavucontrol pavucontrol
@ -144,6 +149,9 @@
dualsensectl.out dualsensectl.out
wpaperd wpaperd
zulip
revolt-desktop
]) ])
]; ];

View file

@ -2,13 +2,13 @@
{ {
home.packages = with pkgs; [ home.packages = with pkgs; [
rmpc
mpc mpc
vimpc
ncmpcpp ncmpcpp
inori # music-player
]; ];
programs.fish.shellAliases = { "ncm" = "ncmpcpp"; };
services = { services = {
mpd = { mpd = {
enable = true; enable = true;

View file

@ -250,10 +250,10 @@ in
} }
]; ];
switch-events = with config.lib.niri.actions; { # switch-events = with config.lib.niri.actions; {
lid-close.action = spawn "niri msg output eDP-1 off"; # lid-close.action = spawn "niri msg output eDP-1 off";
lid-open.action = spawn "niri msg output eDP-1 on"; # lid-open.action = spawn "niri msg output eDP-1 on";
}; # };
binds = binds =
with config.lib.niri.actions; with config.lib.niri.actions;
@ -497,7 +497,7 @@ in
"Mod+Shift+P".action = power-off-monitors; "Mod+Shift+P".action = power-off-monitors;
"Mod+Shift+Alt+P" = { "Mod+Shift+Alt+P" = {
hotkey-overlay.title = "Turn Displays On"; hotkey-overlay.title = "Turn Displays On";
action = power-on-monitors; action = spawn "niri" "msg" "output" "eDP-1" "on";
}; };
}; };
}; };

View file

@ -36,7 +36,9 @@ in
USER = "git@gt.emenel.ca"; USER = "git@gt.emenel.ca";
}; };
}; };
mailerPasswordFile = config.sops.secrets.forgejo-smtp.path; secrets = {
mailer.PASSWD = config.sops.secrets.forgejo-smtp.path;
};
}; };
caddy.virtualHosts."gt.emenel.ca" = { caddy.virtualHosts."gt.emenel.ca" = {