diff options
author | sinanmohd <sinan@sinanmohd.com> | 2024-06-04 14:08:26 +0530 |
---|---|---|
committer | sinanmohd <sinan@sinanmohd.com> | 2024-06-04 14:29:35 +0530 |
commit | 84073038e22d3201ac0176a94527c040bb153e9e (patch) | |
tree | 54e545de4264b5c776fb26c574d532e4ec84933d /home | |
parent | 364ded5b5ab55becf9e6904bebe2b67f9cfa343a (diff) |
home, os: move user pkgs to home
Diffstat (limited to 'home')
-rw-r--r-- | home/common/home.nix | 16 | ||||
-rw-r--r-- | home/wayland/home.nix | 13 | ||||
-rw-r--r-- | home/wayland/modules/sway/home.nix | 1 | ||||
-rw-r--r-- | home/wayland/modules/sway/mako.nix | 4 |
4 files changed, 30 insertions, 4 deletions
diff --git a/home/common/home.nix b/home/common/home.nix index b2ca191..c103a3f 100644 --- a/home/common/home.nix +++ b/home/common/home.nix @@ -1,4 +1,4 @@ -{ config, ... }: let +{ config, pkgs, ... }: let username = config.global.userdata.name; in { imports = [ @@ -7,10 +7,22 @@ in { ]; programs.home-manager.enable = true; - home = { inherit username; stateVersion = "24.11"; homeDirectory = "/home/${config.home.username}"; + + packages = with pkgs; [ + unzip + htop + curl + file + dig + tcpdump + mtr + nnn + ps_mem + geoipWithDatabase + ]; }; } diff --git a/home/wayland/home.nix b/home/wayland/home.nix index 98053c7..a7d2186 100644 --- a/home/wayland/home.nix +++ b/home/wayland/home.nix @@ -1,4 +1,4 @@ -{ ... }: { +{ pkgs, ... }: { imports = [ ../common/home.nix ./modules/foot.nix @@ -7,4 +7,15 @@ ./modules/mimeapps.nix ./modules/sway/home.nix ]; + + home.packages = with pkgs; [ + mpv + imv + wtype + qemu + grim + slurp + xdg-utils + element-desktop-wayland + ]; } diff --git a/home/wayland/modules/sway/home.nix b/home/wayland/modules/sway/home.nix index 38e2cb3..3565cf8 100644 --- a/home/wayland/modules/sway/home.nix +++ b/home/wayland/modules/sway/home.nix @@ -24,6 +24,7 @@ in { ]; home.packages = [ + pkgs.wl-clipboard pkgs.nnn pkgs.bemenu pkgs.swayidle diff --git a/home/wayland/modules/sway/mako.nix b/home/wayland/modules/sway/mako.nix index 028ae66..fdc939e 100644 --- a/home/wayland/modules/sway/mako.nix +++ b/home/wayland/modules/sway/mako.nix @@ -1,9 +1,11 @@ -{ config, lib, ... }: let +{ config, pkgs, lib, ... }: let font = config.global.font.sans.name + " " + lib.optionalString (config.global.font.sans.size != null) (builtins.toString config.global.font.sans.size); in { + home.packages = with pkgs; [ libnotify ]; + services.mako = { enable = true; defaultTimeout = 3000; |