Compare commits

..

42 Commits

Author SHA1 Message Date
0ef93baee0 Merge branch 'master' of github.com:szymon-jozef/amazing-dotfiles 2026-06-02 00:03:28 +02:00
fe64dc6344 docs: update readme 2026-06-02 00:03:21 +02:00
338652be3e chore: update home flake.lock 2026-05-30 23:47:51 +02:00
de6c4000c7 chore: state before home-manager update 2026-05-30 23:47:46 +02:00
66f9dc1bb3 image handler xdg 2026-05-30 19:19:16 +02:00
a33f6f6da3 add libreoffice 2026-05-30 18:31:46 +02:00
4ec3bc2f47 add zathura 2026-05-30 17:54:23 +02:00
94bcf08e7f a;sld 2026-05-28 17:57:03 +02:00
d1ec59478c nixd 2026-05-19 21:40:52 +02:00
93e6dd9858 chore: update home flake.lock 2026-05-15 23:13:40 +02:00
78f4fdafe8 chore: state before home-manager update 2026-05-15 23:13:29 +02:00
a0054abc4f update signal messenger and add feh 2026-05-14 22:44:19 +02:00
4ba52fe963 nixvim nixd und rpcs3 fix 2026-05-14 17:28:38 +02:00
b0883c1b54 chore: update home flake.lock 2026-05-13 17:11:46 +02:00
eb68462cfb chore: state before home-manager update 2026-05-13 17:11:42 +02:00
b724465db1 chore: update home flake.lock 2026-05-12 18:30:33 +02:00
3e15740c3f chore: state before home-manager update 2026-05-12 18:30:28 +02:00
f604e21761 nixvim 2026-05-07 09:27:33 +02:00
16304aeb3f chore: update home flake.lock 2026-05-06 22:48:30 +02:00
a751279ec3 chore: state before home-manager update 2026-05-06 22:48:26 +02:00
baed566262 remove unused import 2026-05-06 19:57:32 +02:00
26cbf784b2 fix: yazi 2026-05-06 19:46:58 +02:00
3f463c5dc7 change xdg folders to flake variables 2026-05-06 18:24:17 +02:00
5675c7e388 update yazi 2026-05-06 18:22:09 +02:00
b402858cd6 remove hugo & update hyprland 2026-05-06 17:50:58 +02:00
49c1ff737a chore: state before home-manager update 2026-05-06 12:29:55 +02:00
dd77199323 chore: update home flake.lock 2026-05-03 19:49:32 +02:00
9516457cfd chore: state before home-manager update 2026-05-03 19:49:28 +02:00
6125f6de46 chore: update home flake.lock 2026-05-02 20:14:31 +02:00
09f37d2e85 chore: state before home-manager update 2026-05-02 20:14:28 +02:00
bf46aa2889 chore: update home flake.lock 2026-04-30 23:05:46 +02:00
e740081f81 chore: state before home-manager update 2026-04-30 23:05:42 +02:00
f66308c6f3 feat: topgrade 2026-04-29 17:31:16 +02:00
58171c4860 chore: state after home update 2026-04-29 17:28:10 +02:00
bab565c6b2 chore: state before home update 2026-04-29 17:26:05 +02:00
8c364ddf66 chore: state after home update 2026-04-29 17:24:29 +02:00
d1aaf86410 chore: state before home update 2026-04-29 17:21:28 +02:00
7f560cdce2 chore: state before home update 2026-04-29 17:18:29 +02:00
26c9f700ec chore: state before home update 2026-04-29 17:08:18 +02:00
2616458c7d chore: update home flake.lock 2026-04-29 12:19:44 +02:00
a6db86493b chore: state before home-manager update 2026-04-29 12:19:39 +02:00
17df54fe4a add hugo support 2026-04-28 22:37:55 +02:00
14 changed files with 205 additions and 64 deletions

View File

@@ -1,3 +1,5 @@
# This repo is now deprecated in favor of new [nixos-born-again](https://github.com/szymon-jozef/nixos-born-again)
![Nix](https://img.shields.io/badge/Nix-unstable-blue.svg?logo=nixos&logoColor=white)
![Home Manager](https://img.shields.io/badge/Home_Manager-enabled-brightgreen.svg)
# My even cooler than previous dotfiles!

79
flake.lock generated
View File

@@ -7,11 +7,11 @@
]
},
"locked": {
"lastModified": 1777024856,
"narHash": "sha256-OQ+yIcRMXo4UaHyX+W5DCgBvJ5dZo/3kFGWPJiuR6x8=",
"lastModified": 1780154910,
"narHash": "sha256-aaGjVFEAJQWB69kok/AthcXpT/9yA5Ag2uYDwdbbj5c=",
"owner": "catppuccin",
"repo": "nix",
"rev": "f41cc1cf13647e482b7317396f749840ef715e16",
"rev": "cf8ccac24e24a2a78fe6f36de9c5d5e9860299a4",
"type": "github"
},
"original": {
@@ -28,11 +28,11 @@
]
},
"locked": {
"lastModified": 1775087534,
"narHash": "sha256-91qqW8lhL7TLwgQWijoGBbiD4t7/q75KTi8NxjVmSmA=",
"lastModified": 1778716662,
"narHash": "sha256-m1Yf0wZ8j1OHjTc2UwHwyQRSnNeSgLJOd7q5Y45hzi4=",
"owner": "hercules-ci",
"repo": "flake-parts",
"rev": "3107b77cd68437b9a76194f0f7f9c55f2329ca5b",
"rev": "f7c1a2d347e4c52d5fb8d10cb4d94b5884e546fb",
"type": "github"
},
"original": {
@@ -66,11 +66,11 @@
]
},
"locked": {
"lastModified": 1777349711,
"narHash": "sha256-PGKgo2dO6fK603QGI+DWXdKmS09pbJjjTxwRHdhkGZA=",
"lastModified": 1780099287,
"narHash": "sha256-efIPwVGtIWIjWcznhaop6XN6HxnOL8800hF6CBNvlqQ=",
"owner": "nix-community",
"repo": "home-manager",
"rev": "c1140540536d483e2730320100f6835d62c94fdf",
"rev": "7d8127d308c3fb9664f7e643eec944be74ebb37d",
"type": "github"
},
"original": {
@@ -87,11 +87,11 @@
]
},
"locked": {
"lastModified": 1776184304,
"narHash": "sha256-No6QGBmIv5ChiwKCcbkxjdEQ/RO2ZS1gD7SFy6EZ7rc=",
"lastModified": 1778805320,
"narHash": "sha256-nGFJ01m2CTBKD4ABtcY4vLhHrRN91LKr/pn41PcU78A=",
"owner": "nix-community",
"repo": "home-manager",
"rev": "3c7524c68348ef79ce48308e0978611a050089b2",
"rev": "9846abe15e7d0d36b8acbd4d05f2b87461744c92",
"type": "github"
},
"original": {
@@ -136,11 +136,11 @@
},
"nixpkgs-stable": {
"locked": {
"lastModified": 1777077449,
"narHash": "sha256-AIiMJiqvGrN4HyLEbKAoCSRRYn0rnlW5VbKNIMIYqm4=",
"lastModified": 1779796641,
"narHash": "sha256-ZsIrKmhp4vbBXoXXmR/tBXA/UCsAQiJL9vsgZEduhVY=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "a4bf06618f0b5ee50f14ed8f0da77d34ecc19160",
"rev": "25f538306313eae3927264466c70d7001dcea1df",
"type": "github"
},
"original": {
@@ -152,11 +152,11 @@
},
"nixpkgs_2": {
"locked": {
"lastModified": 1776877367,
"narHash": "sha256-EHq1/OX139R1RvBzOJ0aMRT3xnWyqtHBRUBuO1gFzjI=",
"lastModified": 1779560665,
"narHash": "sha256-tpyBcxPpcQb8ukyNF7DoCwfSY3VPsxHoYwj00Cayv5o=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "0726a0ecb6d4e08f6adced58726b95db924cef57",
"rev": "64c08a7ca051951c8eae34e3e3cb1e202fe36786",
"type": "github"
},
"original": {
@@ -175,11 +175,11 @@
"systems": "systems"
},
"locked": {
"lastModified": 1777236345,
"narHash": "sha256-ALOqlq7bE30lsX4rA76hXeQ2aLLEpb44hS+D1+jWS88=",
"lastModified": 1780161591,
"narHash": "sha256-eOiIbCMsYMP9JgZXzuT/m41djqDOEHTKjMFrm5NeVHM=",
"owner": "nix-community",
"repo": "nixvim",
"rev": "a67d9cd6ff725a763afe88727aac73208ded3bf4",
"rev": "57e5355a843618a717a19d43b2a726a8f27f0bd1",
"type": "github"
},
"original": {
@@ -204,11 +204,11 @@
]
},
"locked": {
"lastModified": 1771423342,
"narHash": "sha256-7uXPiWB0YQ4HNaAqRvVndYL34FEp1ZTwVQHgZmyMtC8=",
"lastModified": 1776659114,
"narHash": "sha256-qapCOQmR++yZSY43dzrp3wCrkOTLpod+ONtJWBk6iKU=",
"owner": "pyproject-nix",
"repo": "build-system-pkgs",
"rev": "04e9c186e01f0830dad3739088070e4c551191a4",
"rev": "ffaa2161dd5d63e0e94591f86b54fc239660fb2e",
"type": "github"
},
"original": {
@@ -225,11 +225,11 @@
]
},
"locked": {
"lastModified": 1771518446,
"narHash": "sha256-nFJSfD89vWTu92KyuJWDoTQJuoDuddkJV3TlOl1cOic=",
"lastModified": 1776715674,
"narHash": "sha256-Gs1VnEkCkkRZxJQAC/Dhz0Jbfi22mFXChbtNg9w/Ybg=",
"owner": "pyproject-nix",
"repo": "pyproject.nix",
"rev": "eb204c6b3335698dec6c7fc1da0ebc3c6df05937",
"rev": "69f57f27e52a87c54e28138a75ec741cd46663c9",
"type": "github"
},
"original": {
@@ -254,15 +254,16 @@
},
"systems": {
"locked": {
"lastModified": 1681028828,
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
"lastModified": 1774449309,
"narHash": "sha256-brhZ8DmuGtzkCYHJg4HEd602amKm89Y9ytsFZ5uWD1w=",
"owner": "nix-systems",
"repo": "default",
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
"rev": "c29398b59d2048c4ab79345812849c9bd15e9150",
"type": "github"
},
"original": {
"owner": "nix-systems",
"ref": "future-26.11",
"repo": "default",
"type": "github"
}
@@ -294,11 +295,11 @@
]
},
"locked": {
"lastModified": 1772408201,
"narHash": "sha256-3Va9Tq/tg9ZuCX+PFd9oPgwtBDQRjjh60cYKZjZDxNM=",
"lastModified": 1777895960,
"narHash": "sha256-KebDsQd+A7pm++Tp0744EjULttHvz1wbKqNKkMA/088=",
"owner": "pyproject-nix",
"repo": "uv2nix",
"rev": "4bac9176117824d4550deeba9b86d9f96ac5d081",
"rev": "5ad90d48b80ecc920ca2247d53f46beba302e186",
"type": "github"
},
"original": {
@@ -331,11 +332,11 @@
]
},
"locked": {
"lastModified": 1777356688,
"narHash": "sha256-fOhJpz7QAkBWAAih72CmnIfIN0pHfuZjhZQ/hBLNWxo=",
"lastModified": 1780123543,
"narHash": "sha256-vRHmt1N3rPgLJFcSQfHb2c3F7edzVPcyAk6/2QYmO1s=",
"owner": "0xc000022070",
"repo": "zen-browser-flake",
"rev": "b3c972b3d8537a9cf7a0db96b164c9c3e580884a",
"rev": "7e1dae7aa169ad02f18ca11da247008181b2dc7f",
"type": "github"
},
"original": {
@@ -354,11 +355,11 @@
"uv2nix": "uv2nix"
},
"locked": {
"lastModified": 1773515729,
"narHash": "sha256-+TfrJdqRxmzarLednTCFfxDi1uGNYnIbtyLAFw2Pj0U=",
"lastModified": 1778101628,
"narHash": "sha256-6/x1NOD8QyI+up09LsQdyX7EEd0w7Qr5o9JeQ3AqLHk=",
"owner": "szymon-jozef",
"repo": "zut-calendar",
"rev": "3284491807e196414445326d11913b43e7a0225f",
"rev": "b69ae15381ca37f763c1ef072c67d953017c8bd4",
"type": "github"
},
"original": {

View File

@@ -70,9 +70,14 @@
statusBar = "ashell"; # available: ashell | waybar
pathConfig = {
wallpaper = "Obrazy/tapety/catppuccin";
screenshot = "Obrazy/zrzuty/";
obsidian = "Dokumenty/obsidian";
wallpaper = "Obrazy/tapety/catppuccin"; # relative to $HOME/
screenshot = "Obrazy/zrzuty/"; # relative to $HOME/
obsidian = "Dokumenty/obsidian"; # relative to $HOME/
projects = "~/Kodowanie";
documents = "~/Dokumenty";
pictures = "~/Obrazy";
downloads = "~/Pobrane";
video = "~/Video";
};
isNixOS = true;

View File

@@ -42,6 +42,7 @@
./modules/cli/git.nix
./modules/cli/fastfetch.nix
./modules/cli/kdeconnect.nix
./modules/cli/topgrade.nix
# gui tools
./modules/gui/kitty.nix
./modules/gui/satty.nix

View File

@@ -200,11 +200,31 @@
end
'';
};
blog_build_and_push = {
body =
# fish
''
set USER szymon
set HOST dmowski
set DIR /srv/blog/
set blog_dir ~/Dokumenty/blog
pushd $blog_dir || exit 1
hugo build && rsync -avz --delete public/ $USER@$HOST:$DIR
popd
exit 0
'';
};
};
shellAliases = {
ls = "eza --long --icons --group-directories-first --git";
lst = "eza --long --icons --color --git --tree";
rm = "trash";
# update = "topgrade";
};
};
}

View File

@@ -1,4 +1,4 @@
{ ... }:
{ pkgs, userConfig, ... }:
{
programs.nixvim = {
@@ -224,16 +224,26 @@
installRustc = true;
};
# nix
nil_ls.enable = true;
nixd = {
enable = true;
filetypes = [ "nix" ];
formatting = {
command = [ "nixfmt" ];
};
nixpkgs.expr = ''
import (builtins.getFlake "/etc/nixos/").inputs.nixpkgs { }
'';
home-manager.expr = ''
(builtins.getFlake "/home/${userConfig.username}/.home-manager").homeConfigurations."${userConfig.username}@${userConfig.hostName}".options
'';
};
# other
marksman.enable = true;
};
keymaps = {
lspBuf = {
"gd" = "definition";
"gi" = "implementation";
"<leader>ca" = "code_action";
"<leader>cf" = "format";
"<leader>r" = "rename";
};
};

53
modules/cli/topgrade.nix Normal file
View File

@@ -0,0 +1,53 @@
{ ... }:
let
system_path = "/etc/nixos";
home_path = "~/.config/home-manager/";
in
{
programs.topgrade = {
enable = true;
settings = {
misc = {
assume_yes = true;
pre_sudo = true;
disable = [
"flutter"
"node"
"hyprpm"
];
cleanup = false;
notify_end = "never";
nix_handle = "nh";
};
git = {
repos = [ "$XDG_PROJECTS_DIR/*" ];
};
pre_commands = {
"Git commit before system flake update" =
"cd ${system_path} && git add -A && git commit --allow-empty -m 'chore: state before system update'";
"Git commit before home flake update" =
"cd ${home_path} && git add -A && git commit --allow-empty -m 'chore: state before home update'";
"Git pull before system flake update " = "cd ${system_path} && git pull";
"Git pull before home flake update " = "cd ${home_path} && git pull";
};
commands = {
"Update system flake" = "cd ${system_path} && nix flake update";
"Update home flake" = "cd ${home_path} && nix flake update";
};
post_commands = {
"Git commit after system flake update" =
"cd ${system_path} && git add -A && git commit --allow-empty -m 'chore: state after system update'";
"Git commit after home flake update" =
"cd ${home_path} && git add -A && git commit --allow-empty -m 'chore: state after home update'";
"Git push system configuration" = "cd ${system_path} && git push";
"Git push home configuration" = "cd ${home_path} && git push";
};
};
};
}

View File

@@ -1,4 +1,4 @@
{ ... }:
{ userConfig, ... }:
{
programs.yazi = {
@@ -37,6 +37,41 @@
"yank"
];
}
{
on = [
"g"
"p"
];
run = "cd ${userConfig.pathConfig.downloads}";
}
{
on = [
"g"
"d"
];
run = "cd ${userConfig.pathConfig.documents}";
}
{
on = [
"g"
"v"
];
run = "cd ${userConfig.pathConfig.video}";
}
{
on = [
"g"
"o"
];
run = "cd ${userConfig.pathConfig.pictures}";
}
{
on = [
"g"
"k"
];
run = "cd ${userConfig.pathConfig.projects}";
}
];
};
}

View File

@@ -1,5 +1,4 @@
{
config,
pkgs,
userConfig,
...
@@ -10,7 +9,8 @@
programs.mangohud = {
enable = true;
package = if userConfig.isNixOS then pkgs.mangohud else (pkgs.runCommand "dummy-mangohud" { } "mkdir $out");
package =
if userConfig.isNixOS then pkgs.mangohud else (pkgs.runCommand "dummy-mangohud" { } "mkdir $out");
};
xdg.configFile."MangoHud/MangoHud.conf".text = ''

View File

@@ -11,7 +11,7 @@
];
bind = [
"$mainMod Control_L, s, exec,[workspace 1] signal-desktop --password-store=\"kwallet6\""
"$mainMod Control_L, s, exec,[workspace 1] $signal_client"
"$mainMod Control_L, s, focuswindow, class:^(signal)$"
"$mainMod Control_L, s, focuswindow, title:^(signal)$"
"$mainMod Control_L, v, sendshortcut, ctrl, k, class:^(vesktop)$"

View File

@@ -5,6 +5,7 @@
}:
let
uwsm_run = "${pkgs.uwsm}/bin/uwsm app";
signal_client = "${pkgs.kitty}/bin/kitty --title 'gurk' ${pkgs.gurk-rs}/bin/gurk";
in
{
wayland.windowManager.hyprland = {
@@ -17,6 +18,7 @@ in
"$notes" = "${pkgs.obsidian}/bin/obsidian";
"$browser" = if userConfig.isNixOS then "zen-beta" else "zen-browser"; # beta on nixos
"$openrgb_color" = "09ce30";
"$signal_client" = signal_client;
env = [
"XCURSOR_SIZE, 32"

View File

@@ -11,15 +11,16 @@
kb_rules = "";
follow_mouse = 1;
left_handed = false;
sensitivity = -0.5;
sensitivity = 0;
touchpad = {
natural_scroll = true;
};
};
# mouse has super high dpi so lover the sensitivity!
device = {
name = "msft0001:01-06cb:7f28-touchpad";
sensitivity = 0;
name = "corsair-corsair-m75-gaming-mouse";
sensitivity = -0.5;
};
cursor = {

View File

@@ -15,6 +15,7 @@ let
];
};
in
{
home.packages =
with pkgs;
@@ -38,6 +39,9 @@ in
bc
nh
runc
nixfmt
zathura
zathuraPkgs.zathura_pdf_mupdf
# Music
spotify
@@ -46,6 +50,8 @@ in
homebank
gimp
rstudio-with-packages
feh
libreoffice
# Messaging
vesktop
@@ -57,7 +63,7 @@ in
prismlauncher
heroic
# lutris
rpcs3
pkgs-stable.rpcs3
pcsx2
];

View File

@@ -1,4 +1,4 @@
{ ... }:
{ userConfig, ... }:
let
browserFallback = [
@@ -7,6 +7,8 @@ let
"brave.desktop"
"chromium.desktop"
];
imageViewer = "feh.desktop";
in
{
xdg.portal.config = {
@@ -38,9 +40,12 @@ in
"audio/mpeg" = [ "mpv.desktop" ];
"image/*" = [ "org.kde.koko.desktop" ];
"image/png" = [ "feh.desktop" ];
"image/bmp" = [ "feh.desktop" ];
"image/svg+xml" = [ "feh.desktop" ];
"image/png" = [ imageViewer ];
"image/jpeg" = [ imageViewer ];
"image/jpg" = [ imageViewer ];
"image/bmp" = [ imageViewer ];
"image/svg+xml" = [ imageViewer ];
"image/webp" = [ imageViewer ];
"x-scheme-handler/discord" = [ "vesktop.desktop" ];
"x-scheme-handler/sgnl" = [ "signal-desktop.desktop" ];
@@ -52,12 +57,12 @@ in
enable = true;
createDirectories = true;
desktop = null;
documents = "$HOME/Dokumenty";
download = "$HOME/Pobrane";
documents = baseNameOf userConfig.pathConfig.documents;
download = baseNameOf userConfig.pathConfig.downloads;
music = null;
pictures = "$HOME/Obrazy";
videos = "$HOME/Video";
projects = "$HOME/Kodowanie";
pictures = baseNameOf userConfig.pathConfig.pictures;
videos = baseNameOf userConfig.pathConfig.video;
projects = baseNameOf userConfig.pathConfig.projects;
templates = null;
publicShare = null;
setSessionVariables = true;