Added NUR overlay

This commit is contained in:
marc
2022-11-25 16:34:57 +01:00
parent 23e0c5a9c8
commit ebbbd0d179
11 changed files with 86 additions and 18 deletions

View File

@@ -16,5 +16,19 @@ in
samfelag.modules.desktop.i3.extraKeybindings = lib.mkIf i3Cfg.enable {
"${i3Cfg.mod}+Shift+i" = "exec ${pkgs.firefox}/bin/firefox";
};
hm.programs.firefox = {
enable = true;
# extensions = with pkgs.nur.repos.rycee.firefox-addons; [
# # See https://nur.nix-community.org/repos/rycee/
# firefox-color
# ];
profiles.default = {
id = 0;
name = "Default";
isDefault = true;
};
};
};
}

View File

@@ -1,7 +1,8 @@
{ config, lib, pkgs, ... }:
{ config, lib, pkgs, inputs, ... }:
let
cfg = config.samfelag.modules.desktop.rofi;
nix-colors-lib = inputs.nix-colors.lib-contrib { inherit pkgs; };
in
{
options.samfelag.modules.desktop.rofi = {
@@ -13,15 +14,21 @@ in
];
hm.xdg.configFile."rofi/menus".source = ../../config/.config/rofi/menus;
hm.xdg.configFile."rofi/nix.png".source = nix-colors-lib.nixWallpaperFromScheme {
scheme = config.colorScheme;
width = 600;
height = 600;
logoScale = 2.0;
};
# Themeing ---------------------------------
hm.xdg.configFile."rofi/theme.rasi".text = ''
* {
font: "Iosevka Nerd Font 10";
background: #${config.colorScheme.colors.base00};
background-alt: #${config.colorScheme.colors.base01};
background-alt: #${config.colorScheme.colors.base02};
foreground: #${config.colorScheme.colors.base05};
selected: #${config.colorScheme.colors.base02};
selected: #${config.colorScheme.colors.base03};
active: #${config.colorScheme.colors.base07};
urgent: #${config.colorScheme.colors.base06};
}

View File

@@ -59,6 +59,16 @@ in
name = "powerlevel10k";
src = "${pkgs.zsh-powerlevel10k}/share/zsh-powerlevel10k";
}
{
name = "zsh-nix-shell";
file = "nix-shell.plugin.zsh";
src = pkgs.fetchFromGitHub {
owner = "chisui";
repo = "zsh-nix-shell";
rev = "v0.5.0";
sha256 = "0za4aiwwrlawnia4f29msk822rj9bgcygw6a8a6iikiwzjjz0g91";
};
}
];
};