parent
84644d3675
commit
86ccae0d05
11 changed files with 139 additions and 76 deletions
|
|
@ -25,47 +25,6 @@
|
||||||
};
|
};
|
||||||
networking.firewall.allowedTCPPorts = [ 22 ];
|
networking.firewall.allowedTCPPorts = [ 22 ];
|
||||||
|
|
||||||
# Setup packages available everywhere
|
|
||||||
environment.systemPackages = with pkgs; [
|
|
||||||
fzf
|
|
||||||
git
|
|
||||||
htop
|
|
||||||
ncdu
|
|
||||||
psmisc
|
|
||||||
ripgrep
|
|
||||||
rsync
|
|
||||||
tmux
|
|
||||||
zoxide
|
|
||||||
tmux
|
|
||||||
direnv
|
|
||||||
atuin
|
|
||||||
rcon
|
|
||||||
lix
|
|
||||||
nix-output-monitor
|
|
||||||
wget
|
|
||||||
comma
|
|
||||||
];
|
|
||||||
|
|
||||||
# Set up direnv
|
|
||||||
programs.direnv = {
|
|
||||||
package = pkgs.direnv;
|
|
||||||
silent = false;
|
|
||||||
loadInNixShell = true;
|
|
||||||
direnvrcExtra = "";
|
|
||||||
nix-direnv = {
|
|
||||||
enable = true;
|
|
||||||
package = pkgs.nix-direnv;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
# Install Neovim and set it as alias for vi(m)
|
|
||||||
programs.neovim = {
|
|
||||||
enable = true;
|
|
||||||
viAlias = true;
|
|
||||||
vimAlias = true;
|
|
||||||
defaultEditor = true;
|
|
||||||
};
|
|
||||||
|
|
||||||
# Disable sudo prompt for `wheel` users.
|
# Disable sudo prompt for `wheel` users.
|
||||||
security.sudo.wheelNeedsPassword = lib.mkDefault false;
|
security.sudo.wheelNeedsPassword = lib.mkDefault false;
|
||||||
|
|
||||||
|
|
|
||||||
6
flake.lock
generated
6
flake.lock
generated
|
|
@ -701,11 +701,11 @@
|
||||||
"nixpkgs": "nixpkgs_5"
|
"nixpkgs": "nixpkgs_5"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1769115257,
|
"lastModified": 1770464309,
|
||||||
"narHash": "sha256-Ju8QvCoBECGHoCfE9TQTUnMrK9E4BvBpyhCzh+VrerM=",
|
"narHash": "sha256-GQh77HwhXATPkWCB10oDeb1q6qZ7KJrPqttNy9NTtLk=",
|
||||||
"owner": "jdonszelmann",
|
"owner": "jdonszelmann",
|
||||||
"repo": "homepage",
|
"repo": "homepage",
|
||||||
"rev": "53b9b3b1e3f13ea3e3f0b09856b5236c96e4cded",
|
"rev": "72b2a7932aad8a896f52b788cece4379eefa6663",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
|
||||||
|
|
@ -101,7 +101,7 @@
|
||||||
inherit system;
|
inherit system;
|
||||||
config.allowUnfree = true;
|
config.allowUnfree = true;
|
||||||
overlays = [
|
overlays = [
|
||||||
(_: _: {
|
(pkgs: _: {
|
||||||
custom = {
|
custom = {
|
||||||
t = t.packages.${system}.default;
|
t = t.packages.${system}.default;
|
||||||
inherit (dumpasm.packages.${system}) dumpasm;
|
inherit (dumpasm.packages.${system}) dumpasm;
|
||||||
|
|
@ -109,6 +109,7 @@
|
||||||
pipethon = pipethon.packages.${system}.python;
|
pipethon = pipethon.packages.${system}.python;
|
||||||
niri = niri-unstable.packages.${system}.niri;
|
niri = niri-unstable.packages.${system}.niri;
|
||||||
raw-data = raw-data.packages.${system}.default;
|
raw-data = raw-data.packages.${system}.default;
|
||||||
|
# maple-mono =
|
||||||
};
|
};
|
||||||
p1n3appl3 = inputs.p1n3appl3.packages.${system};
|
p1n3appl3 = inputs.p1n3appl3.packages.${system};
|
||||||
})
|
})
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@
|
||||||
}:
|
}:
|
||||||
{
|
{
|
||||||
|
|
||||||
users.groups.jellyfin = { };
|
users.groups.immich = { };
|
||||||
users.users.immich = {
|
users.users.immich = {
|
||||||
isSystemUser = true;
|
isSystemUser = true;
|
||||||
group = "immich";
|
group = "immich";
|
||||||
|
|
@ -70,6 +70,8 @@
|
||||||
server.externalDomain = "https://photos.donsz.nl";
|
server.externalDomain = "https://photos.donsz.nl";
|
||||||
logging.level = "verbose";
|
logging.level = "verbose";
|
||||||
|
|
||||||
|
passwordLogin.enabled = false;
|
||||||
|
|
||||||
oauth = {
|
oauth = {
|
||||||
enabled = true;
|
enabled = true;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,4 @@
|
||||||
{
|
_: {
|
||||||
pkgs,
|
|
||||||
...
|
|
||||||
}:
|
|
||||||
{
|
|
||||||
imports = [
|
imports = [
|
||||||
./nvim
|
./nvim
|
||||||
./fish
|
./fish
|
||||||
|
|
@ -18,31 +14,91 @@
|
||||||
|
|
||||||
custom.program.graphcial-packages = {
|
custom.program.graphcial-packages = {
|
||||||
requirements = [ "graphical" ];
|
requirements = [ "graphical" ];
|
||||||
home-config = _: {
|
home-config =
|
||||||
home.packages = with pkgs; [
|
{ pkgs, ... }:
|
||||||
spotify
|
{
|
||||||
obsidian
|
home.packages = with pkgs; [
|
||||||
];
|
spotify
|
||||||
};
|
obsidian
|
||||||
|
element-desktop
|
||||||
|
chromium
|
||||||
|
bind.dnsutils
|
||||||
|
mpv
|
||||||
|
vlc
|
||||||
|
];
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
custom.program.fun-packages = {
|
custom.program.fun-packages = {
|
||||||
requirements = [ "fun" ];
|
requirements = [ "fun" ];
|
||||||
home-config = _: {
|
home-config =
|
||||||
home.packages = with pkgs; [
|
{ pkgs, ... }:
|
||||||
p1n3appl3.tab
|
{
|
||||||
];
|
home.packages = with pkgs; [
|
||||||
};
|
p1n3appl3.tab
|
||||||
|
prismlauncher
|
||||||
|
];
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
custom.program.cli-packages = {
|
custom.program.cli-packages = {
|
||||||
requirements = [ "cli" ];
|
requirements = [ "cli" ];
|
||||||
home-config = _: {
|
home-config =
|
||||||
home.packages = with pkgs; [
|
{ config, pkgs, ... }:
|
||||||
rustup
|
{
|
||||||
sops
|
home.packages = with pkgs; [
|
||||||
];
|
# general cli tools
|
||||||
};
|
sops
|
||||||
|
fzf
|
||||||
|
htop
|
||||||
|
ncdu
|
||||||
|
psmisc
|
||||||
|
ripgrep
|
||||||
|
rsync
|
||||||
|
zoxide
|
||||||
|
tmux
|
||||||
|
direnv
|
||||||
|
atuin
|
||||||
|
rcon
|
||||||
|
lix
|
||||||
|
nix-output-monitor
|
||||||
|
wget
|
||||||
|
comma
|
||||||
|
unzip
|
||||||
|
|
||||||
|
# dev tools
|
||||||
|
gdb
|
||||||
|
clang-tools
|
||||||
|
rustup
|
||||||
|
git
|
||||||
|
python3
|
||||||
|
unixtools.xxd
|
||||||
|
net-tools
|
||||||
|
sqlite-interactive
|
||||||
|
|
||||||
|
(writeShellScriptBin "nas" ''
|
||||||
|
mkdir -p ~/Documents/nas
|
||||||
|
${sshfs}/bin/sshfs fili:/storage/storage/data/ ~/Documents/nas
|
||||||
|
cd ~/Documents/nas
|
||||||
|
'')
|
||||||
|
];
|
||||||
|
|
||||||
|
# Set up direnv
|
||||||
|
programs.direnv = {
|
||||||
|
package = pkgs.direnv;
|
||||||
|
silent = false;
|
||||||
|
nix-direnv = {
|
||||||
|
enable = true;
|
||||||
|
package = pkgs.nix-direnv;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
home.file = {
|
||||||
|
"${config.xdg.configHome}/sqlite3/sqliterc".source = pkgs.writeText ".sqliterc" ''
|
||||||
|
.mode box
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
custom.program.homedirs = {
|
custom.program.homedirs = {
|
||||||
|
|
|
||||||
|
|
@ -115,7 +115,7 @@ _: {
|
||||||
url = "https://search.nixos.org/packages?query=%s";
|
url = "https://search.nixos.org/packages?query=%s";
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
keyword = "!nho";
|
keyword = "!hmo";
|
||||||
url = "https://home-manager-options.extranix.com/?query=%s";
|
url = "https://home-manager-options.extranix.com/?query=%s";
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -85,9 +85,9 @@ _: {
|
||||||
enableFishIntegration = true;
|
enableFishIntegration = true;
|
||||||
|
|
||||||
settings = {
|
settings = {
|
||||||
filter_mode_shell_up_key_binding = "directory";
|
filter_mode_shell_up_key_binding = "workspace";
|
||||||
exit_mode = "return-original";
|
exit_mode = "return-original";
|
||||||
|
inline_height = 20;
|
||||||
workspaces = true;
|
workspaces = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -102,10 +102,19 @@ _: {
|
||||||
"bookmark"
|
"bookmark"
|
||||||
"move"
|
"move"
|
||||||
"--from"
|
"--from"
|
||||||
"heads(::@- & bookmarks())"
|
"heads(@- & bookmarks())"
|
||||||
"--to"
|
"--to"
|
||||||
"coalesce(@ & ~empty(), @-)"
|
"coalesce(@ & ~empty(), @-)"
|
||||||
];
|
];
|
||||||
|
fuck = [
|
||||||
|
"bookmark"
|
||||||
|
"move"
|
||||||
|
"--from"
|
||||||
|
"heads(@ & bookmarks())"
|
||||||
|
"--to"
|
||||||
|
"@-"
|
||||||
|
"--allow-backwards"
|
||||||
|
];
|
||||||
catchup = [
|
catchup = [
|
||||||
"rebase"
|
"rebase"
|
||||||
"-b"
|
"-b"
|
||||||
|
|
|
||||||
|
|
@ -3,10 +3,19 @@ _: {
|
||||||
custom.program.kitty.home-config =
|
custom.program.kitty.home-config =
|
||||||
{ pkgs, flakes, ... }:
|
{ pkgs, flakes, ... }:
|
||||||
{
|
{
|
||||||
|
home.packages = with pkgs; [
|
||||||
|
# Maple Mono (Ligature TTF unhinted)
|
||||||
|
custom.maple-mono.truetype
|
||||||
|
# Maple Mono NF (Ligature unhinted)
|
||||||
|
custom.maple-mono.NF-unhinted
|
||||||
|
# Maple Mono NF CN (Ligature unhinted)
|
||||||
|
custom.maple-mono.NF-CN-unhinted
|
||||||
|
];
|
||||||
|
|
||||||
programs.kitty = {
|
programs.kitty = {
|
||||||
enable = true;
|
enable = true;
|
||||||
font = {
|
font = {
|
||||||
name = "Jetbrains Mono";
|
name = "Maple Mono NF";
|
||||||
size = 13.0;
|
size = 13.0;
|
||||||
package = pkgs.jetbrains-mono;
|
package = pkgs.jetbrains-mono;
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -43,6 +43,13 @@ _: {
|
||||||
jetbrains-mono
|
jetbrains-mono
|
||||||
fira-mono
|
fira-mono
|
||||||
noto-fonts
|
noto-fonts
|
||||||
|
|
||||||
|
# Maple Mono (Ligature TTF unhinted)
|
||||||
|
custom.maple-mono.truetype
|
||||||
|
# Maple Mono NF (Ligature unhinted)
|
||||||
|
custom.maple-mono.NF-unhinted
|
||||||
|
# Maple Mono NF CN (Ligature unhinted)
|
||||||
|
custom.maple-mono.NF-CN-unhinted
|
||||||
];
|
];
|
||||||
|
|
||||||
programs.niri.settings = {
|
programs.niri.settings = {
|
||||||
|
|
@ -79,6 +86,8 @@ _: {
|
||||||
QT_QPA_PLATFORMTHEME = "qt6ct";
|
QT_QPA_PLATFORMTHEME = "qt6ct";
|
||||||
XCURSOR_THEME = "Adwaita";
|
XCURSOR_THEME = "Adwaita";
|
||||||
XCURSOR_SIZE = "10";
|
XCURSOR_SIZE = "10";
|
||||||
|
DEFAULT_BROWSER = "${config.programs.firefox.package}/bin/firefox";
|
||||||
|
BROWSER = "${config.programs.firefox.package}/bin/firefox";
|
||||||
};
|
};
|
||||||
|
|
||||||
programs.niri.settings = {
|
programs.niri.settings = {
|
||||||
|
|
@ -105,7 +114,7 @@ _: {
|
||||||
};
|
};
|
||||||
|
|
||||||
debug = {
|
debug = {
|
||||||
render-drm-device = "/dev/dri/renderD128";
|
render-drm-device = "/dev/dri/by-path/pci-0000:00:02.0-render";
|
||||||
};
|
};
|
||||||
|
|
||||||
cursor = {
|
cursor = {
|
||||||
|
|
@ -243,6 +252,12 @@ _: {
|
||||||
{
|
{
|
||||||
argv = [ "${pkgs.lib.getExe' flakes.noctalia.packages.${pkgs.system}.default "noctalia-shell"}" ];
|
argv = [ "${pkgs.lib.getExe' flakes.noctalia.packages.${pkgs.system}.default "noctalia-shell"}" ];
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
sh = ''
|
||||||
|
systemctl --user import-environment NIRI_SOCKET
|
||||||
|
systemctl --user restart kanata
|
||||||
|
'';
|
||||||
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
animations = { };
|
animations = { };
|
||||||
|
|
@ -515,6 +530,9 @@ _: {
|
||||||
{
|
{
|
||||||
id = "plugin:catwalk";
|
id = "plugin:catwalk";
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
id = "plugin:brightness";
|
||||||
|
}
|
||||||
];
|
];
|
||||||
center = [
|
center = [
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -3,6 +3,15 @@ _: {
|
||||||
custom.program.zed.home-config =
|
custom.program.zed.home-config =
|
||||||
{ pkgs, ... }:
|
{ pkgs, ... }:
|
||||||
{
|
{
|
||||||
|
home.packages = with pkgs; [
|
||||||
|
# Maple Mono (Ligature TTF unhinted)
|
||||||
|
custom.maple-mono.truetype
|
||||||
|
# Maple Mono NF (Ligature unhinted)
|
||||||
|
custom.maple-mono.NF-unhinted
|
||||||
|
# Maple Mono NF CN (Ligature unhinted)
|
||||||
|
custom.maple-mono.NF-CN-unhinted
|
||||||
|
];
|
||||||
|
|
||||||
programs.zed-editor = {
|
programs.zed-editor = {
|
||||||
enable = true;
|
enable = true;
|
||||||
extensions = [
|
extensions = [
|
||||||
|
|
@ -151,10 +160,10 @@ _: {
|
||||||
"EDITOR" = "vim";
|
"EDITOR" = "vim";
|
||||||
};
|
};
|
||||||
"font_size" = 12;
|
"font_size" = 12;
|
||||||
"font_family" = "Noto Sans Mono";
|
"font_family" = "Maple Mono NF";
|
||||||
"line_height" = "standard";
|
"line_height" = "standard";
|
||||||
};
|
};
|
||||||
buffer_font_family = "JetBrains Mono";
|
buffer_font_family = "Maple Mono NF";
|
||||||
|
|
||||||
# "diagnostics_max_severity": "off",
|
# "diagnostics_max_severity": "off",
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue