summaryrefslogtreecommitdiffstats
path: root/hjem.nix
diff options
context:
space:
mode:
authorSkullheadx <admonty1@protonmail.com>2026-04-26 00:35:00 -0400
committerSkullheadx <admonty1@protonmail.com>2026-04-26 00:35:56 -0400
commit4b511d25f6ab99c1279e6aa003b44295636b5c7a (patch)
treea55875c3ecaf40be05112a53d77a10c1f2fef19e /hjem.nix
parentmodularize x11 config (diff)
downloadnixos-4b511d25f6ab99c1279e6aa003b44295636b5c7a.tar.gz
nixos-4b511d25f6ab99c1279e6aa003b44295636b5c7a.tar.bz2
nixos-4b511d25f6ab99c1279e6aa003b44295636b5c7a.zip
modularize hjem
Diffstat (limited to 'hjem.nix')
-rw-r--r--hjem.nix57
1 files changed, 57 insertions, 0 deletions
diff --git a/hjem.nix b/hjem.nix
new file mode 100644
index 0000000..1c43cb3
--- /dev/null
+++ b/hjem.nix
@@ -0,0 +1,57 @@
+{ config, pkgs, ... }:
+{
+ imports = [
+ ];
+
+ # Define a user account. Don't forget to set a password with ‘passwd’.
+ users.users.andrew = {
+ isNormalUser = true;
+
+ extraGroups = [
+ "networkmanager"
+ "wheel"
+ ];
+ packages = with pkgs; [ ];
+ };
+
+ hjem.users.andrew = {
+ directory = "/home/andrew";
+ files = {
+
+ ".config/sxhkd/sxhkdrc".text = ''
+super + space
+ ${pkgs.dmenu}/bin/dmenu_run
+
+super + Return
+ ${pkgs.st}/bin/st
+
+super + b
+ ${pkgs.librewolf}/bin/librewolf
+
+XF86AudioRaiseVolume
+ ${pkgs.pamixer}/bin/pamixer -i 5
+
+XF86AudioLowerVolume
+ ${pkgs.pamixer}/bin/pamixer -d 5
+
+XF86AudioMute
+ ${pkgs.pamixer}/bin/pamixer -t
+
+super + s
+ ${pkgs.maim}/bin/maim -i $(${pkgs.xdotool}/bin/xdotool getactivewindow) | ${pkgs.xclip}/bin/xclip -selection clipboard -t image/png
+
+super + shift + s
+ ${pkgs.maim}/bin/maim -s | ${pkgs.xclip}/bin/xclip -selection clipboard -t image/png
+
+super + l
+ ${pkgs.lock-screen}/bin/lock-screen
+
+ '';
+ };
+ packages = with pkgs; [
+ discord
+lazygit
+ ];
+ };
+
+}