Compare commits

..

No commits in common. "7b6e53ea99529a5e93731e1e7413029c7f9c997e" and "c993639066831ef755b86037738feddd81425c45" have entirely different histories.

16 changed files with 39 additions and 59 deletions

View file

@ -7,6 +7,7 @@
imports = [
./programs/neovim/.
./programs/git.nix
./programs/lf/.
./programs/zsh.nix
./programs/tmux/.
];
@ -39,8 +40,6 @@
ytfzf
];
programs.yazi.enable = true;
programs.zoxide.enable = true;
programs.rbw = {
@ -66,7 +65,10 @@
};
};
programs.fzf.enable = true;
programs.fzf = {
enable = true;
enableZshIntegration = true;
};
programs.direnv.enable = true;
}

View file

@ -136,9 +136,6 @@
"XF86AudioMute".action.spawn = ["wpctl" "set-mute" "@DEFAULT_AUDIO_SINK@" "toggle"];
"XF86AudioMicMute".action.spawn = ["wpctl" "set-mute" "@DEFAULT_AUDIO_SOURCE@" "toggle"];
"XF86AudioNext".action.spawn = ["playerctl" "next"];
"XF86AudioPrev".action.spawn = ["playerctl" "previous"];
"XF86AudioPlay".action.spawn = ["playerctl" "play-pause"];
"XF86MonBrightnessUp".action.spawn = ["brightness" "+10%"];
"XF86MonBrightnessDown".action.spawn = ["brightness" "10%-"];

View file

@ -42,8 +42,8 @@
on-click = "${pkgs.pavucontrol}/bin/pavucontrol";
};
mpris = {
format = "{player_icon} {title}";
format-paused = " {player_icon} {title}";
format = "{player_icon} {dynamic}";
format-paused = " {player_icon} {dynamic}";
player-icons = {
default = "";
mpd = "🎵";

View file

@ -1,6 +1,7 @@
{
pkgs,
inputs,
user,
...
}: {
imports = [
@ -25,7 +26,6 @@
youtube-music
transmission_4-gtk
feishin
grayjay
# other
element-desktop
@ -68,12 +68,8 @@
];
};
programs.zed-editor = {
programs.chromium = {
enable = true;
extensions = ["tsgo" "nix" "ansible" "helm"];
userSettings = {
vim_mode = true;
};
extraPackages = [pkgs.nixd pkgs.vtsls];
package = pkgs.brave;
};
}

View file

@ -3,7 +3,6 @@
config,
...
}: {
home.shell.enableZshIntegration = true;
programs.starship.enable = true;
programs.zsh = {
enable = true;

BIN
images/demonslayer.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 MiB

BIN
images/nier.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 MiB

BIN
images/nier2.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 MiB

BIN
images/nix-soft.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 840 KiB

View file

@ -20,7 +20,6 @@ in
++ [
home-manager.nixosModules.home-manager
sops-nix.nixosModules.sops
../nixos/modules/predicate.nix
{
home-manager = {
useGlobalPkgs = true;

View file

@ -28,7 +28,6 @@ in {
scrolloff = 4;
smoothscroll = true;
ignorecase = true;
winborder = "rounded";
undofile = true;
undodir = lua ''vim.fn.expand("$HOME/.local/share/nvim/undo")'';
@ -73,10 +72,10 @@ in {
options.desc = "copy to clipboard";
}
{
mode = "n";
options.desc = "LSP Format";
key = "<leader>cf";
action = luaFunc "vim.lsp.buf.format({async = true;})";
key = "<leader>ca";
action = ''
require("actions-preview").code_actions
'';
}
{
key = "<C-Tab>";
@ -284,6 +283,9 @@ in {
inlayHints = true;
servers = {
ts_ls.enable = true;
eslint = {
enable = true;
};
nixd = {
enable = true;
settings = {

View file

@ -1,16 +0,0 @@
{
lib,
config,
...
}: {
options = {
allowUnfreePkgNames = lib.mkOption {
type = lib.types.listOf lib.types.str;
};
};
config = {
nixpkgs.config.allowUnfreePredicate = pkg:
builtins.elem (lib.getName pkg) config.allowUnfreePkgNames;
};
}

View file

@ -6,13 +6,14 @@
}: let
user = config.user;
in {
allowUnfreePkgNames = [
# nonfree vscode required for dev containers
"vscode"
"steam-run"
"postman"
"drawio" # the creator had a hissyfit over a negative review: https://github.com/jgraph/drawio/discussions/4623
];
nixpkgs.config.allowUnfreePredicate = pkg:
builtins.elem (lib.getName pkg) [
# nonfree vscode required for dev containers
"vscode"
"steam-run"
"postman"
"drawio" # the creator had a hissyfit over a negative review: https://github.com/jgraph/drawio/discussions/4623
];
nixpkgs.config.permittedInsecurePackages = [
"openssl-1.1.1w" # required for mongodb

View file

@ -1,11 +1,16 @@
{...}: {
allowUnfreePkgNames = [
"steam"
"steam-unwrapped"
"steam-run"
"steam-original"
"osu-lazer"
];
{
lib,
pkgs,
...
}: {
nixpkgs.config.allowUnfreePredicate = pkg:
builtins.elem (lib.getName pkg) [
"steam"
"steam-unwrapped"
"steam-run"
"steam-original"
"osu-lazer"
];
programs.steam = {
enable = true;
remotePlay.openFirewall = true;

View file

@ -1,11 +1,10 @@
{pkgs, ...}: {
{
users.groups.media = {};
services.jellyfin = {
enable = true;
group = "media"; # access to user stuff
openFirewall = true;
};
environment.variables.JELLYFIN_FFMPEG = "${pkgs.jellyfin-ffmpeg}/bin/ffmpeg";
services.nginx.virtualHosts."movies.tristans.cloud" = {
forceSSL = true;
enableACME = true;

View file

@ -102,8 +102,4 @@
services.udev.extraRules = ''
KERNEL=="hidraw*", SUBSYSTEM=="hidraw", ATTRS{idVendor}=="3434", ATTRS{idProduct}=="0e60", MODE="0660", GROUP="users", TAG+="uaccess", TAG+="udev-acl"
'';
allowUnfreePkgNames = [
"grayjay"
];
}