nix_config/home/modules/baseline.nix
Fabian Montero 97056c6bfc
flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/d29ab98cd4a70a387b8ceea3e930b3340d41ac5a?narHash=sha256-vk0xwGZSlvZ/596yxOtsk4gxsIx2VemzdjiU8zhjgWw%3D' (2025-01-03)
  → 'github:nixos/nixpkgs/cbd8ec4de4469333c82ff40d057350c30e9f7d36?narHash=sha256-DjkQPnkAfd7eB522PwnkGhOMuT9QVCZspDpJJYyOj60%3D' (2025-01-05)
• Updated input 'nur':
    'github:nix-community/NUR/c069281f9ef15582d5c1c59995e9d6cf2c0ed1b6?narHash=sha256-E2pP/HI/adDIzDhYR25xlTQpvMnssZPhozHbTg66H/E%3D' (2025-01-05)
  → 'github:nix-community/NUR/c03408924cf08dea2eb171942d6b3e463b2741dc?narHash=sha256-pVNRdhEA32ZyiernLrsvpzxxCw2zV7lbw5lzYhHcPU8%3D' (2025-01-06)
2025-01-05 22:29:37 -06:00

62 lines
1.1 KiB
Nix

{
config,
lib,
pkgs,
...
}:
with lib; let
cfg = config.local.baseline;
in {
options.local.baseline = {
enable = mkEnableOption "Basic home settings";
};
config = mkIf cfg.enable {
xdg = {
enable = true;
mimeApps = {
enable = true;
defaultApplications = {};
};
portal = {
# this shouldnt be on baseline, as servers have no GUI
enable = true;
xdgOpenUsePortal = true;
configPackages = with pkgs; [xdg-desktop-portal-gtk];
};
};
home = {
stateVersion = "24.05"; # DO NOT CHANGE
packages = with pkgs; [
calc
file
gcc
htop
killall
man-pages
man-pages-posix
pv
tree
units
unzip
vim
zip
];
keyboard = {
layout = "us";
variant = "altgr-intl";
};
sessionVariables = {
"EDITOR" = mkDefault "vim";
};
};
programs.git = {
enable = true;
userEmail = "fabian@posixlycorrect.com";
userName = "Fabian Montero";
};
};
}