From 6a35e0a26147a7a2a0777e8ceb9f8cd49cc9db8b Mon Sep 17 00:00:00 2001 From: Gabriel Date: Fri, 2 Sep 2022 08:40:33 +0200 Subject: [PATCH] changes --- common.nix | 7 +++++++ modules/desktop.nix | 2 ++ monosodium-glutamate-g/configuration.nix | 10 +++------- 3 files changed, 12 insertions(+), 7 deletions(-) diff --git a/common.nix b/common.nix index dee7cf9..0e67659 100644 --- a/common.nix +++ b/common.nix @@ -145,5 +145,12 @@ with builtins; networking.firewall.allowedTCPPorts = [ 8384 22000 ]; networking.firewall.allowedUDPPorts = [ 8080 22000 21027 ]; systemd.services."NetworkManager-wait-online".enable = false; + + services.syncthing = rec { + enable = true; + user = "jade"; + dataDir = "/home/${user}/Documents"; + configDir = "/home/${user}/Documents/.config/syncthing"; + }; } diff --git a/modules/desktop.nix b/modules/desktop.nix index 4ec45bf..6538963 100644 --- a/modules/desktop.nix +++ b/modules/desktop.nix @@ -153,6 +153,8 @@ in with lib; { "${mod}+c" = "focus child"; # screenshot "${mod}+w" = "exec window-screenshot.sh"; + "${mod}+s" = "exec flameshot gui -c -p $HOME/Pictures/screenshots"; + "${mod}+a" = "exec flameshot screen -c -p $HOME/Pictures/screenshots"; # rofi fuckery "${mod}+d" = "exec --no-startup-id rofi -show drun"; "${mod}+space" = "exec --no-startup-id -show window"; diff --git a/monosodium-glutamate-g/configuration.nix b/monosodium-glutamate-g/configuration.nix index c3d467e..92d356e 100644 --- a/monosodium-glutamate-g/configuration.nix +++ b/monosodium-glutamate-g/configuration.nix @@ -12,6 +12,8 @@ jade = { desktop.enable = true; desktop.compositing = true; + terminal.enable = true; + neovim.enable = true; }; # monitor control @@ -40,13 +42,6 @@ "/share/nix-direnv" ]; - services.syncthing = rec { - enable = true; - user = "jade"; - dataDir = "/home/${user}/Documents"; - configDir = "/home/${user}/Documents/.config/syncthing"; - }; - services.blueman.enable = true; services.gnome.gnome-keyring.enable = true; @@ -65,3 +60,4 @@ system.stateVersion = "22.05"; # Did you read the comment? } +