refactor: move programs into graphical and shell

This commit is contained in:
Mohammad Rafiq 2025-03-27 04:26:49 +08:00
parent 68047c894e
commit 727d197f41
No known key found for this signature in database
39 changed files with 68 additions and 62 deletions

View file

@ -2,14 +2,11 @@
inputs,
config,
specialArgs,
pkgs,
...
}:
{
imports = [
inputs.home-manager.nixosModules.home-manager
./scripts
./programs
];
home-manager = {
@ -36,36 +33,10 @@
];
};
home-manager.users.rafiq = {
home = {
username = "rafiq";
homeDirectory = "/home/rafiq";
# This defines the version home-manager
# was originally bulit against on this system.
# Do not change it.
stateVersion = "25.05";
shell.enableShellIntegration = true;
shellAliases = {
gs = "git status";
ai = "aichat -r %shell% -e";
cd = "z";
list-all-packages = "nix-store --query --requisites /run/current-system | cut -d- -f2- | sort | uniq";
};
packages = with pkgs; [
aichat # duh
bat
btop # add settings as home-manager module
devenv
fastfetch # system info
hyprpicker
inputs.hyprcloser.packages.${pkgs.stdenv.hostPlatform.system}.default
ripgrep
ttyper
wl-clipboard # provides cli copy and paste commands
];
};
home-manager.users.rafiq.home = {
username = "rafiq";
homeDirectory = "/home/rafiq";
stateVersion = "25.05";
};
}