2020-07-03 22:47:14 +00:00
|
|
|
# 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
|
|
|
|
|
2020-06-29 17:38:15 +00:00
|
|
|
{ config, pkgs, ... }:
|
|
|
|
let
|
|
|
|
elkowar_local = import ./local/default.nix {};
|
2020-07-03 22:47:14 +00:00
|
|
|
myConf = import ./myConfig.nix;
|
2020-06-29 17:38:15 +00:00
|
|
|
in
|
|
|
|
{
|
2020-08-05 12:55:11 +00:00
|
|
|
nixpkgs.config.allowUnfree = true;
|
|
|
|
|
2020-07-03 22:47:14 +00:00
|
|
|
nixpkgs.config.packageOverrides = pkgs: {
|
|
|
|
nur = import (builtins.fetchTarball "https://github.com/nix-community/NUR/archive/master.tar.gz") {
|
|
|
|
inherit pkgs;
|
|
|
|
};
|
2020-07-10 13:16:46 +00:00
|
|
|
cool-retro-term = (
|
|
|
|
pkgs.writeScriptBin "cool-retro-term" ''
|
|
|
|
#!/bin/sh
|
|
|
|
exec nixGLIntel ${pkgs.cool-retro-term}/bin/cool-retro-term "$@"
|
|
|
|
''
|
|
|
|
);
|
2020-07-03 22:47:14 +00:00
|
|
|
};
|
|
|
|
|
2020-08-09 18:32:27 +00:00
|
|
|
profiles = {
|
|
|
|
base.enable = true;
|
|
|
|
desktop.enable = true;
|
2020-07-02 13:40:06 +00:00
|
|
|
};
|
|
|
|
|
2020-08-05 12:55:11 +00:00
|
|
|
|
2020-08-05 13:22:13 +00:00
|
|
|
|
2020-08-09 18:32:27 +00:00
|
|
|
imports = [ ./profiles/base.nix ./profiles/desktop.nix ];
|
2020-06-29 17:38:15 +00:00
|
|
|
}
|