This commit is contained in:
Miguel Palhas
2024-11-17 11:05:05 +00:00
parent 5978e60afb
commit b58dc91ae5
9 changed files with 64 additions and 23 deletions
Generated
+3 -3
View File
@@ -1002,11 +1002,11 @@
"nvchad-starter": {
"flake": false,
"locked": {
"lastModified": 1730538333,
"narHash": "sha256-cG525DBXP+GJKZ0kzbqjLgbp8Otp+2sT9SsurQT6jWc=",
"lastModified": 1731410731,
"narHash": "sha256-g9rA4Sd6vXCPf0nMimq0eqSYbEy8suKbtJ7HwRBt2zQ=",
"owner": "naps62",
"repo": "nvchad-starter",
"rev": "2aeb30f3880d2e0b666a681da6645e86cf295791",
"rev": "0c20f410afc8a2156488a7c7ae73a242bfa7e106",
"type": "github"
},
"original": {
+25 -16
View File
@@ -8,22 +8,31 @@
{
programs.gpg = {
enable = true;
agent = {
enable = true;
enableScDaemon = true;
};
pinentry = {
enable = true;
pinentryFlavor = "gnome3";
};
settings = {
keyserver = "hkps://keys.openpgp.org";
use-agent = true;
use-agent-extra = true;
no-greeting = true;
verbose = true;
};
};
programs.password-store.enable = true;
home.packages = with pkgs; [ pinentry-gnome3 ];
services.gpg-agent = {
enable = true;
pinentryPackage = pkgs.pinentry-gnome3;
};
# pinentry = {
# enable = true;
# pinentryFlavor = "gnome3";
# };
# settings = {
# keyserver = "hkps://keys.openpgp.org";
# use-agent = true;
# use-agent-extra = true;
# no-greeting = true;
# verbose = true;
# };
# };
programs.password-store = {
enable = true;
settings = {
PASSWORD_STORE_DIR = "~/sync/pass";
};
};
}
+14 -2
View File
@@ -151,6 +151,12 @@ in
"$mod SHIFT, 5, movetoworkspace, 5"
"$mod SHIFT, 6, movetoworkspace, 6"
# Move active window inside workspace
"$mod SHIFT, h, movewindow, l"
"$mod SHIFT, j, movewindow, d"
"$mod SHIFT, k, movewindow, u"
"$mod SHIFT, l, movewindow, r"
# Scroll through existing workspaces with mod + scroll
"$mod, mouse_down, workspace, e+1"
"$mod, mouse_up, workspace, e-1"
@@ -163,8 +169,14 @@ in
", XF86AudioNext, exec, playerctl next"
", XF86AudioPrev, exec, playerctl previous"
", XF86AudioPlay, exec, playerctl play-pause"
", XF86MonBrightnessUp, exec, lightctl up"
", XF86MonBrightnessDown, exec, lightctl down"
", XF86MonBrightnessUp, exec, brightnessctl set 5%+"
", XF86MonBrightnessDown, exec, brightnessctl set 5%-"
];
bindm = [
# Move/resize windows with mod + LMB/RMB and dragging
"$mod, mouse:272, movewindow"
"$mod, mouse:273, resizewindow"
];
};
};
+7
View File
@@ -7,4 +7,11 @@
];
home.sessionPath = [ "\${CARGO_HOME:-~/.cargo}/bin" ];
systemd.user.services.ra-multiplex = {
Service = {
ExecStart = "/home/naps62/.cargo/bin/ra-multiplex server";
};
Install.WantedBy = [ "multi-user.target" ];
};
}
+3
View File
@@ -26,6 +26,7 @@
ps = "procs";
open = "xdg-open";
o = "xdg-open";
v = "nohup neovide &; disown";
# cd
".." = "cd ..";
@@ -65,6 +66,8 @@
# asdf-vm
. "$HOME/.nix-profile/share/asdf-vm/asdf.sh"
[[ -f ~/.secrets.zsh ]] && source ~/.secrets.zsh
'';
};
+1 -1
View File
@@ -51,7 +51,7 @@ in
let
authorizedKeys = pkgs.fetchurl {
url = "https://github.com/naps62.keys";
sha256 = "sha256-Y3/sfaV0ZJDs7g0xllMSUjP+n/CxbBjDBMXX4VVecoE=";
sha256 = "sha256-rDWxVY9NqeMs/BhShf4a0++KCPCgPmy2QPFehBvsmnk=";
};
in
pkgs.lib.splitString "\n" (builtins.readFile authorizedKeys);
+6 -1
View File
@@ -4,9 +4,14 @@
enable = true;
rootless = {
enable = true;
setSocketVariable = true;
setSocketVariable = false;
};
};
users.groups.docker = { };
networking.firewall = {
enable = false;
# checkReversePath = false;
};
}
+3
View File
@@ -5,6 +5,9 @@ let
in
{
programs.hyprland.enable = true;
environment.systemPackages = [
pkgs.wl-clipboard
];
services.greetd = {
enable = true;
+2
View File
@@ -30,4 +30,6 @@
LC_TIME = "pt_PT.UTF-8";
};
};
services.dbus.packages = with pkgs; [ gcr ];
}