forked from fabian/nix
home: move a bunch of settings to defaultDesktopPack and baseline
also rename `apps` namespace to `programs`
This commit is contained in:
parent
9f38ea87a6
commit
d94b776ed9
19 changed files with 86 additions and 142 deletions
|
@ -2,6 +2,7 @@
|
|||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
flakes,
|
||||
...
|
||||
}:
|
||||
with lib; let
|
||||
|
@ -11,6 +12,18 @@ in {
|
|||
enable = mkEnableOption "Basic home settings";
|
||||
};
|
||||
config = mkIf cfg.enable {
|
||||
programs.home-manager.enable = true;
|
||||
|
||||
nix.registry = {
|
||||
"system".to = {
|
||||
type = "path";
|
||||
path = "/home/fabian/nix";
|
||||
};
|
||||
|
||||
"nixpkgs".flake = flakes.nixpkgs;
|
||||
"unstable".flake = flakes.unstable;
|
||||
};
|
||||
|
||||
xdg = {
|
||||
enable = true;
|
||||
};
|
||||
|
@ -18,6 +31,9 @@ in {
|
|||
home = {
|
||||
stateVersion = "24.05"; # DO NOT CHANGE
|
||||
|
||||
username = "fabian";
|
||||
homeDirectory = "/home/fabian";
|
||||
|
||||
packages = with pkgs; [
|
||||
calc
|
||||
dysk
|
||||
|
@ -29,6 +45,7 @@ in {
|
|||
killall
|
||||
man-pages
|
||||
man-pages-posix
|
||||
nmap
|
||||
pv
|
||||
ripgrep
|
||||
tree
|
||||
|
@ -53,5 +70,14 @@ in {
|
|||
userEmail = "fabian@posixlycorrect.com";
|
||||
userName = "Fabian Montero";
|
||||
};
|
||||
|
||||
local = {
|
||||
services = {
|
||||
zsh.enable = true;
|
||||
};
|
||||
programs = {
|
||||
neovim.enable = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue