Files
nix/home/hosts/work/default.nix
Hektor Misplon 6b6556cd80 refactor(home/work): improve configuration structure
- Add nixpkgs.config.allowUnfree setting
- Fix nixGL configuration path to targets.genericLinux.nixGL
- Remove redundant anki program import (now in modules)
- Enable gh and kubecolor programs
- Pass inputs to packages.nix for flake package access

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-03 15:41:33 +01:00

47 lines
805 B
Nix

{
inputs,
config,
pkgs,
...
}:
let
username = "hektor";
in
{
imports = [
../../modules/dconf.nix
../../modules/git.nix
../../modules/k9s.nix
];
nixpkgs.config.allowUnfree = true;
home.stateVersion = "25.05";
home.username = username;
home.homeDirectory = "/home/${username}";
targets.genericLinux.nixGL = {
packages = inputs.nixgl.packages;
defaultWrapper = "mesa";
};
programs = {
# editorconfig.enable = true;
firefox = import ../../modules/firefox.nix {
inherit inputs;
inherit pkgs;
inherit config;
};
gh.enable = true;
keepassxc = import ../../modules/keepassxc.nix;
kubecolor.enable = true;
};
home.packages = import ./packages.nix {
inherit inputs;
inherit config;
inherit pkgs;
};
}