update: sway and mathpix
This commit is contained in:
parent
c6cbef6c19
commit
c757a97296
@ -16,7 +16,8 @@
|
|||||||
../../modules/nixos/user.nix
|
../../modules/nixos/user.nix
|
||||||
../../modules/nixos/ssh.nix
|
../../modules/nixos/ssh.nix
|
||||||
../../modules/nixos/bluetooth.nix
|
../../modules/nixos/bluetooth.nix
|
||||||
../../modules/nixos/hyprland.nix
|
#../../modules/nixos/hyprland.nix
|
||||||
|
../../modules/nixos/sway.nix
|
||||||
../../modules/nixos/nm.nix
|
../../modules/nixos/nm.nix
|
||||||
../../modules/nixos/sound.nix
|
../../modules/nixos/sound.nix
|
||||||
../../modules/nixos/steam.nix
|
../../modules/nixos/steam.nix
|
||||||
|
@ -4,7 +4,8 @@
|
|||||||
...
|
...
|
||||||
}: {
|
}: {
|
||||||
imports = [
|
imports = [
|
||||||
../../modules/home-manager/hyprland.nix
|
#../../modules/home-manager/hyprland.nix
|
||||||
|
../../modules/home-manager/sway.nix
|
||||||
../../modules/home-manager/git.nix
|
../../modules/home-manager/git.nix
|
||||||
../../modules/home-manager/nixvim.nix
|
../../modules/home-manager/nixvim.nix
|
||||||
../../modules/home-manager/kitty.nix
|
../../modules/home-manager/kitty.nix
|
||||||
@ -22,6 +23,7 @@
|
|||||||
../../modules/home-manager/lazygit.nix
|
../../modules/home-manager/lazygit.nix
|
||||||
../../modules/home-manager/man.nix
|
../../modules/home-manager/man.nix
|
||||||
../../modules/home-manager/gpg.nix
|
../../modules/home-manager/gpg.nix
|
||||||
|
../../modules/home-manager/emacs
|
||||||
];
|
];
|
||||||
home.username = "mthomson";
|
home.username = "mthomson";
|
||||||
home.homeDirectory = "/home/mthomson";
|
home.homeDirectory = "/home/mthomson";
|
||||||
|
@ -13,6 +13,7 @@
|
|||||||
typescript-language-server
|
typescript-language-server
|
||||||
typescript
|
typescript
|
||||||
nodejs
|
nodejs
|
||||||
|
mathpix-snipping-tool
|
||||||
];
|
];
|
||||||
|
|
||||||
programs.emacs = {
|
programs.emacs = {
|
||||||
|
27
modules/home-manager/sway.nix
Normal file
27
modules/home-manager/sway.nix
Normal 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
5
modules/nixos/sway.nix
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
{ pkgs, inputs, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
security.polkit.enable = true;
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user