Compare commits

..

No commits in common. "a9f33961aae574cec291eaa61cf28dec6b90d2ef" and "1ac89233a129a8494629228ea8629f5f15e89dfb" have entirely different histories.

13 changed files with 6 additions and 207 deletions

View file

@ -7,12 +7,11 @@
truecolor = true; truecolor = true;
vim_keys = true; vim_keys = true;
rounded_corners = true; rounded_corners = true;
proc_gradient = false;
}; };
}; };
xdg.configFile."btop/themes/nix-colors".text = '' xdg.configFile."btop/themes/nix-colors".text = ''
# Main background, empty for terminal default, need to be empty if you want transparent background # Main background, empty for terminal default, need to be empty if you want transparent background
# theme[main_bg]="#${config.colorScheme.colors.base00}" theme[main_bg]="#${config.colorScheme.colors.base00}"
# Main text color # Main text color
theme[main_fg]="#${config.colorScheme.colors.base05}" theme[main_fg]="#${config.colorScheme.colors.base05}"

View file

@ -6,10 +6,6 @@
... ...
}: let }: let
in { in {
programs.neovim = {
enable = true;
};
home = { home = {
file.".config/nvim/lua/custom/" = { file.".config/nvim/lua/custom/" = {
source = ../../../rsc/config/nvim; source = ../../../rsc/config/nvim;

View file

@ -5,13 +5,6 @@
}: { }: {
programs.alacritty.enable = true; programs.alacritty.enable = true;
programs.alacritty.settings = { programs.alacritty.settings = {
window = {
opacity = 0.83;
padding = {
x = 0;
y = 5;
};
};
colors = with config.colorScheme.colors; { colors = with config.colorScheme.colors; {
bright = { bright = {
black = "0x${base00}"; black = "0x${base00}";

View file

@ -2,6 +2,5 @@
imports = [ imports = [
./firefox.nix ./firefox.nix
./alacritty.nix ./alacritty.nix
./playerctl.nix
]; ];
} }

View file

@ -7,70 +7,14 @@
imports = [inputs.arkenfox.hmModules.default]; imports = [inputs.arkenfox.hmModules.default];
programs.firefox = { programs.firefox = {
enable = true; enable = true;
arkenfox = { arkenfox = {
enable = true; enable = true;
version = "119.0"; version = "119.0";
}; };
profiles.Default = { profiles.Default.arkenfox = {
extensions = with inputs.firefox-addons.packages."x86_64-linux"; [ enable = true;
bitwarden "0000".enable = true;
ublock-origin
darkreader
];
search.engines = {
"Nix Packages" = {
urls = [
{
template = "https://search.nixos.org/packages";
params = [
{
name = "type";
value = "packages";
}
{
name = "query";
value = "{searchTerms}";
}
];
}
];
icon = "${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg";
definedAliases = ["@np"];
};
"Searx" = {
urls = [
{
template = "https://paulgo.io/search";
params = [
{
name = "q";
value = "{searchTerms}";
}
];
}
];
iconUpdateURL = "https://paulgo.io/favicon.ico";
definedAliases = ["@sx"];
};
};
search.force = true;
search.default = "Searx";
settings = {
"dom.security.https_only_mode" = true;
"browser.download.panel.shown" = true;
"signon.rememberSignons" = false;
};
arkenfox = {
enable = true;
"0000".enable = true;
};
}; };
}; };

View file

@ -1,6 +0,0 @@
{pkgs, ...}: {
home.packages = with pkgs; [playerctl];
services.playerctld = {
enable = true;
};
}

View file

@ -1,5 +1,5 @@
{pkgs, ...}: { {pkgs, ...}: {
imports = [ imports = [
# ./steam.nix ./steam.nix
]; ];
} }

View file

@ -33,7 +33,6 @@
../common/optional/gnome-keyring.nix ../common/optional/gnome-keyring.nix
../common/optional/adb.nix ../common/optional/adb.nix
../common/optional/gaming/gamemode.nix ../common/optional/gaming/gamemode.nix
../common/optional/gaming/steam.nix
../common/optional/gaming/vr.nix ../common/optional/gaming/vr.nix
]; ];

View file

@ -1,18 +0,0 @@
{pkgs, ...}: {
environment.systemPackages = with pkgs.unstable; [
heroic # Game Launcher
lutris # Game Launcher
steam # Game Launcher
];
programs = {
steam = {
enable = true;
remotePlay.openFirewall = true;
gamescopeSession.enable = false;
};
# Steam: Right-click game - Properties - Launch options: gamemoderun %command%
# Lutris: General Preferences - Enable Feral GameMode
# - Global options - Add Environment Variables: LD_PRELOAD=/nix/store/*-gamemode-*-lib/lib/libgamemodeauto.so
};
}

View file

@ -2,7 +2,5 @@
# These should be stuff you would like to share with others, not your personal configurations. # These should be stuff you would like to share with others, not your personal configurations.
{ {
# List your module files here # List your module files here
fonts = import ./fonts.nix; # my-module = import ./my-module.nix;
monitors = import ./monitors.nix;
wallpaper = import ./wallpaper.nix;
} }

View file

@ -1,32 +0,0 @@
{
lib,
config,
...
}: let
mkFontOption = kind: {
family = lib.mkOption {
type = lib.types.str;
default = null;
description = "Family name for ${kind} font profile";
example = "Fira Code";
};
package = lib.mkOption {
type = lib.types.package;
default = null;
description = "Package for ${kind} font profile";
example = "pkgs.fira-code";
};
};
cfg = config.fontProfiles;
in {
options.fontProfiles = {
enable = lib.mkEnableOption "Whether to enable font profiles";
monospace = mkFontOption "monospace";
regular = mkFontOption "regular";
};
config = lib.mkIf cfg.enable {
fonts.fontconfig.enable = true;
home.packages = [cfg.monospace.package cfg.regular.package];
};
}

View file

@ -1,62 +0,0 @@
{
lib,
config,
...
}: let
inherit (lib) mkOption types;
cfg = config.monitors;
in {
options.monitors = mkOption {
type = types.listOf (types.submodule {
options = {
name = mkOption {
type = types.str;
example = "DP-1";
};
primary = mkOption {
type = types.bool;
default = false;
};
width = mkOption {
type = types.int;
example = 1920;
};
height = mkOption {
type = types.int;
example = 1080;
};
refreshRate = mkOption {
type = types.int;
default = 60;
};
x = mkOption {
type = types.int;
default = 0;
};
y = mkOption {
type = types.int;
default = 0;
};
enabled = mkOption {
type = types.bool;
default = true;
};
workspace = mkOption {
type = types.nullOr types.str;
default = null;
};
};
});
default = [];
};
config = {
assertions = [
{
assertion =
((lib.length config.monitors) != 0)
-> ((lib.length (lib.filter (m: m.primary) config.monitors)) == 1);
message = "Exactly one monitor must be set to primary.";
}
];
};
}

View file

@ -1,11 +0,0 @@
{lib, ...}: let
inherit (lib) types mkOption;
in {
options.wallpaper = mkOption {
type = types.path;
default = "";
description = ''
Wallpaper path
'';
};
}