mirror of
https://github.com/TheWanderingCrow/CrOS.git
synced 2026-01-10 01:24:05 -05:00
79 lines
1.4 KiB
Nix
79 lines
1.4 KiB
Nix
{
|
|
inputs,
|
|
config,
|
|
lib,
|
|
pkgs,
|
|
hostSpec,
|
|
...
|
|
}:
|
|
let
|
|
platform = if hostSpec.isDarwin then "darwin" else "nixos";
|
|
in
|
|
{
|
|
imports = lib.flatten [
|
|
inputs.deferred-apps.homeManagerModules.default
|
|
(map lib.custom.relativeToRoot [
|
|
"modules/common/host-spec.nix"
|
|
"modules/home"
|
|
])
|
|
#./${platform.nix}
|
|
./xdg.nix
|
|
./direnv.nix
|
|
./tmux.nix
|
|
./git.nix
|
|
./nushell.nix
|
|
./starship.nix
|
|
./terminal.nix
|
|
];
|
|
|
|
programs.deferredApps = {
|
|
enable = true;
|
|
packages = builtins.attrValues {
|
|
inherit (pkgs.unstable)
|
|
orca-slicer
|
|
super-slicer
|
|
yaak
|
|
;
|
|
inherit (pkgs)
|
|
appimage-run
|
|
steam-run
|
|
bitwarden-cli
|
|
protonvpn-gui
|
|
imagemagick
|
|
httpie
|
|
mkvtoolnix
|
|
gimp
|
|
;
|
|
};
|
|
};
|
|
|
|
home.packages = builtins.attrValues {
|
|
inherit (pkgs)
|
|
screen
|
|
ouch
|
|
;
|
|
};
|
|
|
|
inherit hostSpec;
|
|
|
|
home = {
|
|
username = lib.mkDefault config.hostSpec.username;
|
|
homeDirectory = lib.mkDefault config.hostSpec.home;
|
|
stateVersion = lib.mkDefault "24.05";
|
|
|
|
sessionVariables = {
|
|
SHELL = "zsh";
|
|
TERM = "foot";
|
|
TERMINAL = "foot";
|
|
VISUAL = "nvim";
|
|
EDITOR = "nvim";
|
|
};
|
|
};
|
|
|
|
home.pointerCursor = {
|
|
name = "phinger-cursors-dark";
|
|
package = pkgs.phinger-cursors;
|
|
size = 32;
|
|
gtk.enable = true;
|
|
};
|
|
}
|