modules: change some settings, move steam options
This commit is contained in:
parent
b7da4a442b
commit
febb421800
9 changed files with 14 additions and 53 deletions
|
@ -5,10 +5,9 @@ _: {
|
|||
./mpv.nix
|
||||
./zathura.nix
|
||||
./spicetify.nix
|
||||
./kitty.nix
|
||||
./steam.nix
|
||||
./waybar.nix
|
||||
./schizofox
|
||||
./schizofox.nix
|
||||
./minecraft.nix
|
||||
];
|
||||
}
|
||||
|
|
|
@ -11,8 +11,8 @@
|
|||
inherit (lib) mkIf;
|
||||
in {
|
||||
config = mkIf cfg.enable {
|
||||
environment.sessionVariables = {TERM = "foot";};
|
||||
home-manager.users.${username} = {
|
||||
home.sessionVariables.TERM = "foot";
|
||||
programs.foot = {
|
||||
enable = true;
|
||||
package = inputs'.nixpkgs-wayland.packages.foot;
|
||||
|
@ -71,7 +71,7 @@ in {
|
|||
};
|
||||
|
||||
mouse = {
|
||||
hide-when-typing = "yes";
|
||||
hide-when-typing = "yes"; # not really needed since we already enable this in Hyprland
|
||||
alternate-scroll-mode = "yes";
|
||||
};
|
||||
|
||||
|
|
|
@ -1,24 +0,0 @@
|
|||
{
|
||||
config,
|
||||
lib,
|
||||
...
|
||||
}:
|
||||
with lib; let
|
||||
cfg = config.modules.system.programs.terminals.kitty;
|
||||
inherit (config.modules.other.system) username;
|
||||
in {
|
||||
config = mkIf cfg.enable {
|
||||
home-manager.users.${username} = {
|
||||
programs.kitty = {
|
||||
enable = true;
|
||||
settings = {
|
||||
mouse_hide_wait = -1;
|
||||
allow_remote_control = true;
|
||||
url_style = "curly";
|
||||
open_url_with = "default";
|
||||
confirm_os_window_close = "0";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
|
@ -18,13 +18,13 @@ in {
|
|||
spotifyPackage = pkgs.spotify;
|
||||
theme = spicePkgs.themes.catppuccin;
|
||||
colorScheme = "mocha";
|
||||
# enabledExtensions = with spicePkgs.extensions; [
|
||||
# shuffle
|
||||
# popupLyrics
|
||||
# adblock
|
||||
# betterGenres
|
||||
# playlistIcons
|
||||
# ];
|
||||
enabledExtensions = with spicePkgs.extensions; [
|
||||
# shuffle
|
||||
# popupLyrics
|
||||
adblock
|
||||
# betterGenres
|
||||
# playlistIcons
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
@ -5,17 +5,12 @@
|
|||
...
|
||||
}:
|
||||
with lib; let
|
||||
cfg = config.modules.programs.steam;
|
||||
cfg = config.modules.system.programs.steam;
|
||||
in {
|
||||
options.modules.programs.steam = {
|
||||
enable = mkEnableOption "steam";
|
||||
gamescope = mkEnableOption "gamescope";
|
||||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
programs.steam = {
|
||||
enable = true;
|
||||
gamescopeSession.enable = mkIf cfg.gamescope true;
|
||||
gamescopeSession.enable = true;
|
||||
extraCompatPackages = with pkgs; [proton-ge-bin];
|
||||
};
|
||||
# See
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
exec = "${pkgs.nur.repos.Nick1296.vivado-2019-2}/bin/vivado";
|
||||
};
|
||||
in {
|
||||
environment.systemPackages = with pkgs; [
|
||||
environment.systemPackages = [
|
||||
# this propietary software is huge, but I need it for
|
||||
# university
|
||||
pkgs.nur.repos.Nick1296.vivado-2019-2
|
||||
|
|
|
@ -7,21 +7,11 @@
|
|||
with lib; let
|
||||
cfg = config.modules.system.programs.zathura;
|
||||
inherit (config.modules.other.system) username;
|
||||
catppuccin = pkgs.fetchFromGitHub {
|
||||
owner = "catppuccin";
|
||||
repo = "zathura";
|
||||
rev = "4eb02fd206de63b2423f6deb58242d352545b52f";
|
||||
hash = "sha256-/vD/hOi6KcaGyAp6Az7jL5/tQSGRzIrf0oHjAJf4QbI=";
|
||||
};
|
||||
in {
|
||||
config = mkIf cfg.enable {
|
||||
home-manager.users.${username} = {
|
||||
xdg.configFile."zathura/catppuccin-mocha".source = "${catppuccin}/src/catppuccin-mocha";
|
||||
programs.zathura = {
|
||||
enable = true;
|
||||
extraConfig = ''
|
||||
include catppuccin-mocha
|
||||
'';
|
||||
options = {
|
||||
selection-clipboard = "clipboard";
|
||||
adjust-open = "best-fit";
|
||||
|
|
|
@ -15,6 +15,7 @@ in {
|
|||
nextcloud.enable = mkEnableOption "Nextcloud sync client";
|
||||
firefox.enable = mkEnableOption "Firefox web browser";
|
||||
zellij.enable = mkEnableOption "Zellij terminal multiplexer";
|
||||
steam.enable = mkEnableOption "Steam games platform";
|
||||
|
||||
terminals = {
|
||||
foot.enable = mkEnableOption "Foot terminal emulator";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue