mirror of
https://github.com/elkowar/dots-of-war.git
synced 2024-12-27 06:32:23 +00:00
43 lines
925 B
Nix
43 lines
925 B
Nix
# https://nixos.wiki/wiki/Wrappers_vs._Dotfiles
|
|
# https://nixos.org/nixos/manual/index.html#sec-writing-modules
|
|
|
|
# do this to change to fork
|
|
# nix-channel --add https://github.com/ElKowar/home-manager/archive/alacritty-package-option.tar.gz home-manager
|
|
# nix-channel --update
|
|
# nix-env -u home-manager
|
|
|
|
{ config, pkgs, ... }:
|
|
{
|
|
|
|
|
|
|
|
nixpkgs = {
|
|
config = {
|
|
allowUnfree = true;
|
|
packageOverrides = pkgs: {
|
|
nur = import (builtins.fetchTarball "https://github.com/nix-community/NUR/archive/master.tar.gz") {
|
|
inherit pkgs;
|
|
};
|
|
};
|
|
};
|
|
overlays = [ (import ./overlay) ];
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
elkowar = {
|
|
base = {
|
|
enable = true;
|
|
enableFish = true;
|
|
enableZsh = true;
|
|
includeNiceToHaves = true;
|
|
includeHaskellDev = true;
|
|
};
|
|
desktop.enable = true;
|
|
desktop.colors = import ./modules/desktop/colors/gruvbox.nix;
|
|
};
|
|
|
|
imports = [ ./modules ];
|
|
}
|