stuff
This commit is contained in:
parent
760758c4b1
commit
9233675f48
9 changed files with 68 additions and 23 deletions
|
|
@ -23,6 +23,7 @@
|
||||||
term.kitty.enable = true;
|
term.kitty.enable = true;
|
||||||
term.foot.enable = true;
|
term.foot.enable = true;
|
||||||
term.rio.enable = true;
|
term.rio.enable = true;
|
||||||
|
term.alacritty.enable = true;
|
||||||
|
|
||||||
music.spotify.enable = true;
|
music.spotify.enable = true;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -13,20 +13,20 @@ in {
|
||||||
|
|
||||||
fonts = {
|
fonts = {
|
||||||
normal = {
|
normal = {
|
||||||
family = mkStringOpt "ZedMono NFM" "The Family of the font";
|
family = mkStringOpt "Iosevka" "The Family of the font";
|
||||||
style = mkStringOpt "Bold" "The Style of the font";
|
|
||||||
};
|
|
||||||
bold = {
|
|
||||||
family = mkStringOpt "ZedMono NFM" "The Family of the font";
|
|
||||||
style = mkStringOpt "ExtraBold" "The Style of the font";
|
style = mkStringOpt "ExtraBold" "The Style of the font";
|
||||||
};
|
};
|
||||||
|
bold = {
|
||||||
|
family = mkStringOpt "Iosevka" "The Family of the font";
|
||||||
|
style = mkStringOpt "Heavy" "The Style of the font";
|
||||||
|
};
|
||||||
italic = {
|
italic = {
|
||||||
family = mkStringOpt "ZedMono NFM" "The Family of the font";
|
family = mkStringOpt "Iosevka" "The Family of the font";
|
||||||
style = mkStringOpt "Bold Italic" "The Style of the font";
|
style = mkStringOpt "ExtraBold Italic" "The Style of the font";
|
||||||
};
|
};
|
||||||
bold_italic = {
|
bold_italic = {
|
||||||
family = mkStringOpt "ZedMono NFM" "The Family of the font";
|
family = mkStringOpt "Iosevka" "The Family of the font";
|
||||||
style = mkStringOpt "ExtraBold Italic" "The Style of the font";
|
style = mkStringOpt "Heavy Italic" "The Style of the font";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
@ -37,7 +37,13 @@ in {
|
||||||
catppuccin.enable = true;
|
catppuccin.enable = true;
|
||||||
|
|
||||||
settings = {
|
settings = {
|
||||||
background_opacity = "0.75";
|
window = {
|
||||||
|
opacity = 0.95;
|
||||||
|
padding = {
|
||||||
|
x = 20;
|
||||||
|
y = 20;
|
||||||
|
};
|
||||||
|
};
|
||||||
font = {
|
font = {
|
||||||
normal = cfg.fonts.normal;
|
normal = cfg.fonts.normal;
|
||||||
bold = cfg.fonts.bold;
|
bold = cfg.fonts.bold;
|
||||||
|
|
|
||||||
|
|
@ -2,6 +2,7 @@
|
||||||
lib,
|
lib,
|
||||||
config,
|
config,
|
||||||
pkgs,
|
pkgs,
|
||||||
|
inputs,
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
with lib;
|
with lib;
|
||||||
|
|
@ -15,6 +16,7 @@ in {
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
programs.rio = {
|
programs.rio = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
package = inputs.rio-term.packages.${pkgs.system}.default;
|
||||||
settings = {
|
settings = {
|
||||||
window = {
|
window = {
|
||||||
opacity = 0.9;
|
opacity = 0.9;
|
||||||
|
|
@ -31,25 +33,25 @@ in {
|
||||||
fonts = {
|
fonts = {
|
||||||
regular = {
|
regular = {
|
||||||
family = "Iosevka";
|
family = "Iosevka";
|
||||||
style = "normal";
|
style = "Normal";
|
||||||
weight = 700;
|
weight = 700;
|
||||||
};
|
};
|
||||||
|
|
||||||
bold = {
|
bold = {
|
||||||
family = "Iosevka";
|
family = "Iosevka";
|
||||||
style = "normal";
|
style = "Normal";
|
||||||
weight = 800;
|
weight = 800;
|
||||||
};
|
};
|
||||||
|
|
||||||
italic = {
|
italic = {
|
||||||
family = "Iosevka";
|
family = "Iosevka";
|
||||||
style = "italic";
|
style = "Italic";
|
||||||
weight = 700;
|
weight = 700;
|
||||||
};
|
};
|
||||||
|
|
||||||
bold-italic = {
|
bold-italic = {
|
||||||
family = "Iosevka";
|
family = "Iosevka";
|
||||||
style = "italic";
|
style = "Italic";
|
||||||
weight = 800;
|
weight = 800;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -5,6 +5,18 @@ return {
|
||||||
colorscheme = "catppuccin",
|
colorscheme = "catppuccin",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"L3MON4D3/LuaSnip",
|
||||||
|
dependencies = {
|
||||||
|
"rafamadriz/friendly-snippets",
|
||||||
|
},
|
||||||
|
config = function()
|
||||||
|
require("luasnip.loaders.from_vscode").lazy_load()
|
||||||
|
require("luasnip.loaders.from_vscode").lazy_load({
|
||||||
|
paths = vim.fn.stdpath("config") .. "/snippets/",
|
||||||
|
})
|
||||||
|
end,
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"stevearc/conform.nvim",
|
"stevearc/conform.nvim",
|
||||||
opts = {
|
opts = {
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,25 @@
|
||||||
|
{
|
||||||
|
"Nix Module Template": {
|
||||||
|
"prefix": "nixcfg",
|
||||||
|
"body": [
|
||||||
|
"{",
|
||||||
|
" lib,",
|
||||||
|
" config,",
|
||||||
|
" pkgs,",
|
||||||
|
" ...",
|
||||||
|
"}:",
|
||||||
|
"with lib;",
|
||||||
|
"with lib.custom; let",
|
||||||
|
" cfg = config.${1:moduleName};",
|
||||||
|
"in {",
|
||||||
|
" options.${1:moduleName} = with types; {",
|
||||||
|
" enable = mkBoolOpt false \"${2:Description}\";",
|
||||||
|
" };",
|
||||||
|
" config = mkIf cfg.enable {",
|
||||||
|
" $0",
|
||||||
|
" };",
|
||||||
|
"}"
|
||||||
|
],
|
||||||
|
"description": "Template for a Nix module"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -60,11 +60,11 @@ in {
|
||||||
|
|
||||||
wayland.windowManager.hyprland.settings = with colors; {
|
wayland.windowManager.hyprland.settings = with colors; {
|
||||||
exec-once = [
|
exec-once = [
|
||||||
"pw-loopback -C \"alsa_input.pci-0000_0d_00.4.analog-stereo\" -P \"Scarlett Solo (3rd Gen.) Headphones / Line 1-2\""
|
# "pw-loopback -C \"alsa_input.pci-0000_0d_00.4.analog-stereo\" -P \"Scarlett Solo (3rd Gen.) Headphones / Line 1-2\""
|
||||||
"sway-audio-idle-inhibit"
|
"sway-audio-idle-inhibit"
|
||||||
"zen-browser"
|
"zen-browser"
|
||||||
"sleep 6;telegram-desktop"
|
"sleep 6;telegram-desktop"
|
||||||
"sleep 6;thunderbird"
|
"sleep 10;thunderbird"
|
||||||
"vesktop"
|
"vesktop"
|
||||||
"spotify"
|
"spotify"
|
||||||
"slack"
|
"slack"
|
||||||
|
|
@ -72,7 +72,7 @@ in {
|
||||||
|
|
||||||
bind =
|
bind =
|
||||||
[
|
[
|
||||||
''${mod},RETURN,exec,kitty''
|
''${mod},RETURN,exec,${pkgs.kitty}/bin/kitty''
|
||||||
|
|
||||||
"${mod},D,exec,killall anyrun || anyrun"
|
"${mod},D,exec,killall anyrun || anyrun"
|
||||||
"${mod},Q,killactive"
|
"${mod},Q,killactive"
|
||||||
|
|
|
||||||
|
|
@ -17,7 +17,6 @@ in {
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
services.searx = {
|
services.searx = {
|
||||||
enable = true;
|
enable = true;
|
||||||
package = pkgs.searxng;
|
|
||||||
runInUwsgi = true;
|
runInUwsgi = true;
|
||||||
settings = {
|
settings = {
|
||||||
# server.port = 8080;
|
# server.port = 8080;
|
||||||
|
|
|
||||||
|
|
@ -40,7 +40,7 @@ in {
|
||||||
exportGlyphNames = true
|
exportGlyphNames = true
|
||||||
|
|
||||||
[buildPlans.IosevkaCustom.variants]
|
[buildPlans.IosevkaCustom.variants]
|
||||||
inherits = "ss03"
|
inherits = "ss01"
|
||||||
'';
|
'';
|
||||||
})
|
})
|
||||||
noto-fonts
|
noto-fonts
|
||||||
|
|
|
||||||
|
|
@ -151,21 +151,21 @@
|
||||||
in
|
in
|
||||||
buildStdenv.mkDerivation rec {
|
buildStdenv.mkDerivation rec {
|
||||||
pname = "zen-browser-unwrapped";
|
pname = "zen-browser-unwrapped";
|
||||||
version = "1.0.1-a.7";
|
version = "1.0.1-a.8";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "zen-browser";
|
owner = "zen-browser";
|
||||||
repo = "desktop";
|
repo = "desktop";
|
||||||
rev = "2345563879de10bec3f94ad60408f63e7d2e5780";
|
rev = "${version}";
|
||||||
leaveDotGit = true;
|
leaveDotGit = true;
|
||||||
fetchSubmodules = true;
|
fetchSubmodules = true;
|
||||||
hash = lib.fakeHash;
|
hash = "sha256-88/9IX3YCrbVdcp9uiz713T5b4WigJf1NkZeINWGkzM=";
|
||||||
};
|
};
|
||||||
|
|
||||||
firefoxVersion = (lib.importJSON "${src}/surfer.json").version.version;
|
firefoxVersion = (lib.importJSON "${src}/surfer.json").version.version;
|
||||||
firefoxSrc = fetchurl {
|
firefoxSrc = fetchurl {
|
||||||
url = "mirror://mozilla/firefox/releases/${firefoxVersion}/source/firefox-${firefoxVersion}.source.tar.xz";
|
url = "mirror://mozilla/firefox/releases/${firefoxVersion}/source/firefox-${firefoxVersion}.source.tar.xz";
|
||||||
hash = "sha256-AnIloemwdPAHLiLHJkzyew0jZMZ1w8qBGqbCX7Abn3A=";
|
hash = "sha256-BA6DSslN1SRvnXemb3tDxDxi9TjQC1+UWXU03B23dhY=";
|
||||||
};
|
};
|
||||||
|
|
||||||
SURFER_COMPAT = generic;
|
SURFER_COMPAT = generic;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue