update: sway and mathpix

This commit is contained in:
Michael Thomson 2025-04-18 16:44:25 -04:00
parent c6cbef6c19
commit c757a97296
6 changed files with 39 additions and 2 deletions

View File

@ -16,7 +16,8 @@
../../modules/nixos/user.nix
../../modules/nixos/ssh.nix
../../modules/nixos/bluetooth.nix
../../modules/nixos/hyprland.nix
#../../modules/nixos/hyprland.nix
../../modules/nixos/sway.nix
../../modules/nixos/nm.nix
../../modules/nixos/sound.nix
../../modules/nixos/steam.nix

View File

@ -4,7 +4,8 @@
...
}: {
imports = [
../../modules/home-manager/hyprland.nix
#../../modules/home-manager/hyprland.nix
../../modules/home-manager/sway.nix
../../modules/home-manager/git.nix
../../modules/home-manager/nixvim.nix
../../modules/home-manager/kitty.nix
@ -22,6 +23,7 @@
../../modules/home-manager/lazygit.nix
../../modules/home-manager/man.nix
../../modules/home-manager/gpg.nix
../../modules/home-manager/emacs
];
home.username = "mthomson";
home.homeDirectory = "/home/mthomson";

View File

@ -13,6 +13,7 @@
typescript-language-server
typescript
nodejs
mathpix-snipping-tool
];
programs.emacs = {

View File

@ -0,0 +1,27 @@
{
pkgs,
config,
lib,
...
}: {
services.gnome-keyring.enable = true;
wayland.windowManager.sway = {
enable = true;
wrapperFeatures.gtk = true; # Fixes common issues with GTK 3 apps
config = rec {
modifier = "Mod4";
# Use kitty as default terminal
terminal = "kitty";
startup = [
# Launch Firefox on start
{command = "firefox";}
];
};
};
services = {
dunst = {
enable = true;
};
};
}

5
modules/nixos/sway.nix Normal file
View File

@ -0,0 +1,5 @@
{ pkgs, inputs, ... }:
{
security.polkit.enable = true;
}

1
result Symbolic link
View File

@ -0,0 +1 @@
/nix/store/z7hnmxvi31i682y1dz47m4k3ssa390w6-nixos-system-thinkpad-25.05.20250412.2631b0b