I ffing give up for today...
This commit is contained in:
parent
ca645515a8
commit
41acda91f4
22 changed files with 253 additions and 75 deletions
|
@ -26,7 +26,5 @@ in
|
|||
# options v4l2loopback devices=1 video_nr=1 card_label="OBS Cam" exclusive_caps=1
|
||||
# '';
|
||||
# };
|
||||
|
||||
security.polkit.enable = true;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -17,20 +17,20 @@ in
|
|||
};
|
||||
|
||||
programs = {
|
||||
steam = {
|
||||
enable = true;
|
||||
package = pkgs.steam-small.override {
|
||||
extraEnv = {
|
||||
DXVK_HUD = "compiler";
|
||||
MANGOHUD = true;
|
||||
};
|
||||
};
|
||||
# steam = {
|
||||
# enable = true;
|
||||
# package = pkgs.steam-small.override {
|
||||
# extraEnv = {
|
||||
# DXVK_HUD = "compiler";
|
||||
# MANGOHUD = true;
|
||||
# };
|
||||
# };
|
||||
|
||||
gamescopeSession = {
|
||||
enable = true;
|
||||
args = ["--immediate-flips"];
|
||||
};
|
||||
};
|
||||
# gamescopeSession = {
|
||||
# enable = true;
|
||||
# args = ["--immediate-flips"];
|
||||
# };
|
||||
# };
|
||||
|
||||
# https://github.com/FeralInteractive/gamemode
|
||||
# gamemode = {
|
||||
|
|
|
@ -1,15 +0,0 @@
|
|||
{ inputs, config, lib, pkgs, namespace, ... }:
|
||||
let
|
||||
inherit (lib) mkIf mkEnableOption;
|
||||
|
||||
cfg = config.${namespace}.application.studio;
|
||||
in
|
||||
{
|
||||
options.${namespace}.application.studio = {
|
||||
enable = mkEnableOption "enable Bricklink Studio";
|
||||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
home.packages = with pkgs; [ studio ];
|
||||
};
|
||||
}
|
|
@ -10,12 +10,12 @@ in
|
|||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
home.packages = with pkgs; [ thunderbird ];
|
||||
# home.packages = with pkgs; [ thunderbird ];
|
||||
|
||||
# programs.thunderbird = {
|
||||
# enable = true;
|
||||
# };
|
||||
|
||||
programs.thunderbird = {
|
||||
enable = true;
|
||||
};
|
||||
|
||||
accounts.email.accounts = {
|
||||
kruining = {
|
||||
primary = true;
|
||||
|
|
|
@ -10,9 +10,9 @@ in
|
|||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
home.packages = with inputs.zen.packages.${pkgs.system}.specific; [ zen ];
|
||||
home.packages = [ inputs.zen-browser.packages.${pkgs.system}.specific ];
|
||||
|
||||
sessionVariables = {
|
||||
home.sessionVariables = {
|
||||
MOZ_ENABLE_WAYLAND = "1";
|
||||
};
|
||||
};
|
||||
|
|
|
@ -42,6 +42,6 @@ in {
|
|||
BROWSER = cfg.browser;
|
||||
};
|
||||
|
||||
shell = pkgs.${cfg.shell};
|
||||
# home.shell = pkgs.${cfg.shell};
|
||||
};
|
||||
}
|
||||
|
|
|
@ -2,29 +2,29 @@
|
|||
let
|
||||
inherit (lib) mkEnableOption mkIf;
|
||||
|
||||
cfg = config.${namespace}.editors.nano;
|
||||
cfg = config.${namespace}.editor.nano;
|
||||
in
|
||||
{
|
||||
options.${namespace}.editors.nano = {
|
||||
options.${namespace}.editor.nano = {
|
||||
enable = mkEnableOption "nano";
|
||||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
home.packages = with pkgs; [ nano ];
|
||||
|
||||
programs.nano = {
|
||||
enable = true;
|
||||
syntaxHighlight = true;
|
||||
nanorc = ''
|
||||
set autoindent
|
||||
set jumpyscrolling
|
||||
set linenumbers
|
||||
set mouse
|
||||
set saveonexit
|
||||
set smarthome
|
||||
set tabstospaces
|
||||
set tabsize 2
|
||||
'';
|
||||
};
|
||||
# programs.nano = {
|
||||
# enable = true;
|
||||
# syntaxHighlight = true;
|
||||
# nanorc = ''
|
||||
# set autoindent
|
||||
# set jumpyscrolling
|
||||
# set linenumbers
|
||||
# set mouse
|
||||
# set saveonexit
|
||||
# set smarthome
|
||||
# set tabstospaces
|
||||
# set tabsize 2
|
||||
# '';
|
||||
# };
|
||||
};
|
||||
}
|
||||
|
|
|
@ -5,9 +5,9 @@ let
|
|||
cfg = config.${namespace}.editor.nvim;
|
||||
in
|
||||
{
|
||||
imports = [
|
||||
inputs.nvf.nixosModules.default
|
||||
];
|
||||
# imports = [
|
||||
# inputs.nvf.nixosModules.default
|
||||
# ];
|
||||
|
||||
options.${namespace}.editor.nvim = {
|
||||
enable = mkEnableOption "enable nvim via nvf on user level";
|
||||
|
@ -18,30 +18,29 @@ in
|
|||
imagemagick
|
||||
editorconfig-core-c
|
||||
sqlite
|
||||
deno
|
||||
pandoc
|
||||
nuspell
|
||||
hunspellDicts.nl_NL
|
||||
hunspellDicts.en_GB-ise
|
||||
];
|
||||
|
||||
programs.nvf = {
|
||||
enable = true;
|
||||
settings.vim = {
|
||||
statusline.lualine.enable = true;
|
||||
telescope.enable = true;
|
||||
autocomplete.nvim-cmp.enable = true;
|
||||
# programs.nvf = {
|
||||
# enable = true;
|
||||
# settings.vim = {
|
||||
# statusline.lualine.enable = true;
|
||||
# telescope.enable = true;
|
||||
# autocomplete.nvim-cmp.enable = true;
|
||||
|
||||
lsp.enable = true;
|
||||
# lsp.enable = true;
|
||||
|
||||
languages = {
|
||||
enableTreesitter = true;
|
||||
# languages = {
|
||||
# enableTreesitter = true;
|
||||
|
||||
nix.enable = true;
|
||||
ts.enable = true;
|
||||
rust.enable = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
# nix.enable = true;
|
||||
# ts.enable = true;
|
||||
# rust.enable = true;
|
||||
# };
|
||||
# };
|
||||
# };
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
{ config, lib, pkgs, namespace, ... }: let
|
||||
inherit (lib) mkIf mkEnableOption;
|
||||
|
||||
cfg = config.${namespace}.editors.zed;
|
||||
cfg = config.${namespace}.editor.zed;
|
||||
in {
|
||||
options.${namespace}.editors.zed = {
|
||||
options.${namespace}.editor.zed = {
|
||||
enable = mkEnableOption "zed";
|
||||
};
|
||||
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
{ config, lib, pkgs, namespace, ... }:
|
||||
let
|
||||
inherit (lib) attrValues mkIf mkMerge mkOption mkEnableOption mkDefault;
|
||||
inherit (lib.types) nullOr enum;
|
||||
inherit (lib) mkIf mkMerge mkEnableOption mkDefault;
|
||||
|
||||
cfg = config.${namespace}.shell;
|
||||
in
|
||||
|
|
|
@ -3,7 +3,6 @@ let
|
|||
inherit (lib) mkIf mkEnableOption;
|
||||
|
||||
cfg = config.${namespace}.shell.toolset.fzf;
|
||||
defShell = config.${namespace}.shell.default;
|
||||
in
|
||||
{
|
||||
options.${namespace}.shell.toolset.fzf = {
|
||||
|
@ -16,8 +15,8 @@ in
|
|||
programs.fzf = {
|
||||
enable = true;
|
||||
enableBashIntegration = true;
|
||||
enableZshIntegration = defShell == "zsh";
|
||||
enableFishIntegration = defShell == "fish";
|
||||
enableZshIntegration = true;
|
||||
enableFishIntegration = true;
|
||||
|
||||
tmux.enableShellIntegration = true;
|
||||
tmux.shellIntegrationOptions = ["-d 40%"];
|
||||
|
|
|
@ -10,7 +10,7 @@ in
|
|||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
rograms.ghostty = {
|
||||
programs.ghostty = {
|
||||
enable = true;
|
||||
settings = {
|
||||
background-blur-radius = 20;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue