Compare commits

..

13 Commits

Author SHA1 Message Date
80ce759b1d init for thinkpad 2026-02-26 20:29:56 +01:00
406609f990 merge 2026-02-26 14:27:35 +01:00
325cc17e1b trele morele 2026-02-26 13:52:30 +01:00
dc8a82364b dxdxd 2026-02-26 13:39:32 +01:00
04f6dab540 Merge remote-tracking branch 'origin/master' into laptop 2026-02-25 15:17:54 +01:00
02a5295aef change ssh key 2026-02-25 15:16:08 +01:00
12ead5ae9b merge 2026-02-25 15:07:46 +01:00
06deba1909 flake 2026-02-25 01:16:54 +01:00
a1952fa7a9 test 2026-02-25 00:24:43 +01:00
cd8ef7e5db comituje 2026-02-24 23:39:07 +01:00
1801311cb5 laptop
Merge branch 'master' of https://github.com/szymon-jozef/amazing-dotfiles
2026-02-23 13:51:43 +01:00
c16e047e32 comituje 2026-02-23 13:51:37 +01:00
2b8f7383ad comituje 2026-02-23 13:51:11 +01:00
12 changed files with 153 additions and 508 deletions

323
flake.lock generated
View File

@@ -20,11 +20,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1772292445, "lastModified": 1771610171,
"narHash": "sha256-4F1Q7U313TKUDDovCC96m/Za4wZcJ3yqtu4eSrj8lk8=", "narHash": "sha256-+DeInuhbm6a6PpHDNUS7pozDouq2+8xSDefoNaZLW0E=",
"owner": "hyprwm", "owner": "hyprwm",
"repo": "aquamarine", "repo": "aquamarine",
"rev": "1dbbba659c1cef0b0202ce92cadfe13bae550e8f", "rev": "7f9eb087703ec4acc6b288d02fa9ea3db803cd3d",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -38,11 +38,11 @@
"nixpkgs": "nixpkgs" "nixpkgs": "nixpkgs"
}, },
"locked": { "locked": {
"lastModified": 1773403535, "lastModified": 1771587924,
"narHash": "sha256-47MZaFrHxNO8tVUAmtVnerXUw2WWVluBOiU9MulN/yM=", "narHash": "sha256-eVYOGmF8nQBhudJyU6lHdgJI87kvGz8JyCq5/Vi9Mjk=",
"owner": "catppuccin", "owner": "catppuccin",
"repo": "nix", "repo": "nix",
"rev": "d45b5665cc638bad1b794350de02f4dd41b0bb47", "rev": "b0c65edbf31c2ad3d84438d82c2310f2c28373f3",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -88,24 +88,6 @@
"type": "github" "type": "github"
} }
}, },
"flake-utils": {
"inputs": {
"systems": "systems_3"
},
"locked": {
"lastModified": 1731533236,
"narHash": "sha256-l0KFg5HjrsfsO/JpG+r7fRrqm12kzFHyUHqHCVpMMbI=",
"owner": "numtide",
"repo": "flake-utils",
"rev": "11707dc2f618dd54ca8739b309ec4fc024de578b",
"type": "github"
},
"original": {
"owner": "numtide",
"repo": "flake-utils",
"type": "github"
}
},
"gitignore": { "gitignore": {
"inputs": { "inputs": {
"nixpkgs": [ "nixpkgs": [
@@ -135,11 +117,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1773422513, "lastModified": 1772060133,
"narHash": "sha256-MPjR48roW7CUMU6lu0+qQGqj92Kuh3paIulMWFZy+NQ=", "narHash": "sha256-VuyRptb8v1lVGMlLp4/1vRX3Efwec0CN0S6mKmDPzLg=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "ef12a9a2b0f77c8fa3dda1e7e494fca668909056", "rev": "ce9b6e52500a0ea0ec48f0bbf6d7a3e431d9dfa4",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -177,24 +159,6 @@
"type": "github" "type": "github"
} }
}, },
"hyprcursor-phinger": {
"inputs": {
"nixpkgs": "nixpkgs_2"
},
"locked": {
"lastModified": 1763845612,
"narHash": "sha256-78zH5GrYa35bEkzeVnl8uXFbZ/zsiSHayjxZlNt+Xe8=",
"owner": "jappie3",
"repo": "hyprcursor-phinger",
"rev": "1207a845501a28e0e00d4a8e935ee0c9cab30650",
"type": "github"
},
"original": {
"owner": "jappie3",
"repo": "hyprcursor-phinger",
"type": "github"
}
},
"hyprgraphics": { "hyprgraphics": {
"inputs": { "inputs": {
"hyprutils": [ "hyprutils": [
@@ -235,17 +199,17 @@
"hyprutils": "hyprutils", "hyprutils": "hyprutils",
"hyprwayland-scanner": "hyprwayland-scanner", "hyprwayland-scanner": "hyprwayland-scanner",
"hyprwire": "hyprwire", "hyprwire": "hyprwire",
"nixpkgs": "nixpkgs_3", "nixpkgs": "nixpkgs_2",
"pre-commit-hooks": "pre-commit-hooks", "pre-commit-hooks": "pre-commit-hooks",
"systems": "systems", "systems": "systems",
"xdph": "xdph" "xdph": "xdph"
}, },
"locked": { "locked": {
"lastModified": 1773439168, "lastModified": 1772107319,
"narHash": "sha256-BP8JCxijLBf5Qk83lEN/9qAOeDuAnftfmr92KQM1QOI=", "narHash": "sha256-qdeeNrWmUe1P2FsnNU1ngoZl8UxczEMJBziwm78V42I=",
"owner": "hyprwm", "owner": "hyprwm",
"repo": "Hyprland", "repo": "Hyprland",
"rev": "9bf8fe7a5278b5f366384d73d87844a165c16b7a", "rev": "c71fbd854dfdedaae011f4b8b1fdb81f8054b309",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -486,86 +450,6 @@
} }
}, },
"nixpkgs": { "nixpkgs": {
"locked": {
"lastModified": 1773122722,
"narHash": "sha256-FIqHByVqxCprNjor1NqF80F2QQoiiyqanNNefdlvOg4=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "62dc67aa6a52b4364dd75994ec00b51fbf474e50",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixos-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"nixpkgs_2": {
"locked": {
"lastModified": 1762977756,
"narHash": "sha256-4PqRErxfe+2toFJFgcRKZ0UI9NSIOJa+7RXVtBhy4KE=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "c5ae371f1a6a7fd27823bc500d9390b38c05fa55",
"type": "github"
},
"original": {
"owner": "nixos",
"ref": "nixos-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"nixpkgs_3": {
"locked": {
"lastModified": 1772198003,
"narHash": "sha256-I45esRSssFtJ8p/gLHUZ1OUaaTaVLluNkABkk6arQwE=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "dd9b079222d43e1943b6ebd802f04fd959dc8e61",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixos-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"nixpkgs_4": {
"locked": {
"lastModified": 1773389992,
"narHash": "sha256-wvfdLLWJ2I9oEpDd9PfMA8osfIZicoQ5MT1jIwNs9Tk=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "c06b4ae3d6599a672a6210b7021d699c351eebda",
"type": "github"
},
"original": {
"owner": "nixos",
"ref": "nixos-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"nixpkgs_5": {
"locked": {
"lastModified": 1772198003,
"narHash": "sha256-I45esRSssFtJ8p/gLHUZ1OUaaTaVLluNkABkk6arQwE=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "dd9b079222d43e1943b6ebd802f04fd959dc8e61",
"type": "github"
},
"original": {
"owner": "nixos",
"ref": "nixos-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"nixpkgs_6": {
"locked": { "locked": {
"lastModified": 1771369470, "lastModified": 1771369470,
"narHash": "sha256-0NBlEBKkN3lufyvFegY4TYv5mCNHbi5OmBDrzihbBMQ=", "narHash": "sha256-0NBlEBKkN3lufyvFegY4TYv5mCNHbi5OmBDrzihbBMQ=",
@@ -581,6 +465,38 @@
"type": "github" "type": "github"
} }
}, },
"nixpkgs_2": {
"locked": {
"lastModified": 1771848320,
"narHash": "sha256-0MAd+0mun3K/Ns8JATeHT1sX28faLII5hVLq0L3BdZU=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "2fc6539b481e1d2569f25f8799236694180c0993",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixos-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"nixpkgs_3": {
"locked": {
"lastModified": 1771848320,
"narHash": "sha256-0MAd+0mun3K/Ns8JATeHT1sX28faLII5hVLq0L3BdZU=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "2fc6539b481e1d2569f25f8799236694180c0993",
"type": "github"
},
"original": {
"owner": "nixos",
"ref": "nixos-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"nixvim": { "nixvim": {
"inputs": { "inputs": {
"flake-parts": "flake-parts", "flake-parts": "flake-parts",
@@ -590,11 +506,11 @@
"systems": "systems_2" "systems": "systems_2"
}, },
"locked": { "locked": {
"lastModified": 1772402258, "lastModified": 1771135771,
"narHash": "sha256-3DmCFOdmbkFML1/G9gj8Wb+rCCZFPOQtNoMCpqOF8SA=", "narHash": "sha256-wyvBIhDuyCRyjB3yPg77qoyxrlgQtBR1rVW3c9knV3E=",
"owner": "nix-community", "owner": "nix-community",
"repo": "nixvim", "repo": "nixvim",
"rev": "21ae25e13b01d3b4cdc750b5f9e7bad68b150c10", "rev": "ed0424f0b08d303a7348f52f7850ad1b2704f9ba",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -613,11 +529,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1772024342, "lastModified": 1771858127,
"narHash": "sha256-+eXlIc4/7dE6EcPs9a2DaSY3fTA9AE526hGqkNID3Wg=", "narHash": "sha256-Gtre9YoYl3n25tJH2AoSdjuwcqij5CPxL3U3xysYD08=",
"owner": "cachix", "owner": "cachix",
"repo": "git-hooks.nix", "repo": "git-hooks.nix",
"rev": "6e34e97ed9788b17796ee43ccdbaf871a5c2b476", "rev": "49bbbfc218bf3856dfa631cead3b052d78248b83",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -626,67 +542,14 @@
"type": "github" "type": "github"
} }
}, },
"pyproject-build-systems": {
"inputs": {
"nixpkgs": [
"zut-calendar",
"nixpkgs"
],
"pyproject-nix": [
"zut-calendar",
"pyproject-nix"
],
"uv2nix": [
"zut-calendar",
"uv2nix"
]
},
"locked": {
"lastModified": 1771423342,
"narHash": "sha256-7uXPiWB0YQ4HNaAqRvVndYL34FEp1ZTwVQHgZmyMtC8=",
"owner": "pyproject-nix",
"repo": "build-system-pkgs",
"rev": "04e9c186e01f0830dad3739088070e4c551191a4",
"type": "github"
},
"original": {
"owner": "pyproject-nix",
"repo": "build-system-pkgs",
"type": "github"
}
},
"pyproject-nix": {
"inputs": {
"nixpkgs": [
"zut-calendar",
"nixpkgs"
]
},
"locked": {
"lastModified": 1771518446,
"narHash": "sha256-nFJSfD89vWTu92KyuJWDoTQJuoDuddkJV3TlOl1cOic=",
"owner": "pyproject-nix",
"repo": "pyproject.nix",
"rev": "eb204c6b3335698dec6c7fc1da0ebc3c6df05937",
"type": "github"
},
"original": {
"owner": "pyproject-nix",
"repo": "pyproject.nix",
"type": "github"
}
},
"root": { "root": {
"inputs": { "inputs": {
"catppuccin": "catppuccin", "catppuccin": "catppuccin",
"home-manager": "home-manager", "home-manager": "home-manager",
"hyprcursor-phinger": "hyprcursor-phinger",
"hyprland": "hyprland", "hyprland": "hyprland",
"nixpkgs": "nixpkgs_4", "nixpkgs": "nixpkgs_3",
"nixvim": "nixvim", "nixvim": "nixvim",
"wallpapers": "wallpapers", "wallpapers": "wallpapers"
"zut-calendar": "zut-calendar",
"zutui": "zutui"
} }
}, },
"systems": { "systems": {
@@ -719,46 +582,6 @@
"type": "github" "type": "github"
} }
}, },
"systems_3": {
"locked": {
"lastModified": 1681028828,
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
"owner": "nix-systems",
"repo": "default",
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
"type": "github"
},
"original": {
"owner": "nix-systems",
"repo": "default",
"type": "github"
}
},
"uv2nix": {
"inputs": {
"nixpkgs": [
"zut-calendar",
"nixpkgs"
],
"pyproject-nix": [
"zut-calendar",
"pyproject-nix"
]
},
"locked": {
"lastModified": 1772408201,
"narHash": "sha256-3Va9Tq/tg9ZuCX+PFd9oPgwtBDQRjjh60cYKZjZDxNM=",
"owner": "pyproject-nix",
"repo": "uv2nix",
"rev": "4bac9176117824d4550deeba9b86d9f96ac5d081",
"type": "github"
},
"original": {
"owner": "pyproject-nix",
"repo": "uv2nix",
"type": "github"
}
},
"wallpapers": { "wallpapers": {
"flake": false, "flake": false,
"locked": { "locked": {
@@ -815,46 +638,6 @@
"repo": "xdg-desktop-portal-hyprland", "repo": "xdg-desktop-portal-hyprland",
"type": "github" "type": "github"
} }
},
"zut-calendar": {
"inputs": {
"nixpkgs": "nixpkgs_5",
"pyproject-build-systems": "pyproject-build-systems",
"pyproject-nix": "pyproject-nix",
"uv2nix": "uv2nix"
},
"locked": {
"lastModified": 1773515729,
"narHash": "sha256-+TfrJdqRxmzarLednTCFfxDi1uGNYnIbtyLAFw2Pj0U=",
"owner": "szymon-jozef",
"repo": "zut-calendar",
"rev": "3284491807e196414445326d11913b43e7a0225f",
"type": "github"
},
"original": {
"owner": "szymon-jozef",
"repo": "zut-calendar",
"type": "github"
}
},
"zutui": {
"inputs": {
"flake-utils": "flake-utils",
"nixpkgs": "nixpkgs_6"
},
"locked": {
"lastModified": 1771780756,
"narHash": "sha256-sRQn12tIvmolR6bCZpr8yEtlCVJeRGG7wzlAPlXGI6Y=",
"owner": "shv187",
"repo": "zutui",
"rev": "acc19d95399e1ba33440fe3158c3981f5e0f2d92",
"type": "github"
},
"original": {
"owner": "shv187",
"repo": "zutui",
"type": "github"
}
} }
}, },
"root": "root", "root": "root",

110
flake.nix
View File

@@ -19,11 +19,6 @@
url = "github:nix-community/nixvim"; url = "github:nix-community/nixvim";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
}; };
zut-calendar.url = "github:szymon-jozef/zut-calendar";
zutui.url = "github:shv187/zutui";
hyprcursor-phinger.url = "github:jappie3/hyprcursor-phinger";
}; };
outputs = outputs =
@@ -33,13 +28,11 @@
catppuccin, catppuccin,
nixvim, nixvim,
wallpapers, wallpapers,
zut-calendar,
zutui,
... ...
}@inputs: }@inputs:
let let
baseUserConfig = { userConfig = {
username = "szymon"; username = "szymon";
# for git # for git
email = "szymon_jozef@proton.me"; email = "szymon_jozef@proton.me";
@@ -47,7 +40,7 @@
# your public ssh key # your public ssh key
signingKey = "~/.ssh/github.pub"; signingKey = "~/.ssh/github.pub";
mainMonitor = "DP-1"; # only for some applications: you still need to set hyprland monitors yourself! mainMonitor = "LVDS-1"; # only for some applications: you still need to set hyprland monitors yourself!
statusBar = "ashell"; # available: ashell|waybar statusBar = "ashell"; # available: ashell|waybar
pathConfig = { pathConfig = {
@@ -58,80 +51,45 @@
}; };
system = "x86_64-linux"; system = "x86_64-linux";
general_import = import nixpkgs {
inherit system;
config.allowUnfree = true;
};
general_module_import = [
./home.nix
catppuccin.homeModules.catppuccin
nixvim.homeModules.nixvim
inputs.hyprcursor-phinger.homeManagerModules.hyprcursor-phinger
(
{ pkgs, ... }:
{
home.packages = [
zut-calendar.packages.${pkgs.system}.default
zutui.packages.${pkgs.system}.default
];
}
)
];
mkHomeConfig =
{
isNixOS,
overrides ? { },
hostName,
}:
home-manager.lib.homeManagerConfiguration {
pkgs = general_import;
extraSpecialArgs = {
inherit inputs isNixOS hostName;
userConfig = baseUserConfig // overrides;
};
modules = general_module_import;
};
in in
{ {
homeConfigurations = { homeConfigurations = {
"arch" = mkHomeConfig { "arch" = home-manager.lib.homeManagerConfiguration {
isNixOS = false; pkgs = import nixpkgs {
hostName = "arch"; inherit system;
}; config.allowUnfree = true;
"nixos" = mkHomeConfig {
isNixOS = true;
hostName = "nixos";
};
"${baseUserConfig.username}@pitagoras" = mkHomeConfig {
isNixOS = true;
overrides = {
mainMonitor = "eDP-1";
}; };
hostName = "pitagoras"; extraSpecialArgs = {
}; inherit
inputs
"${baseUserConfig.username}@pilecki" = mkHomeConfig { userConfig
isNixOS = true; ;
overrides = { isNixOS = false;
mainMonitor = "LVDS-1";
}; };
hostName = "pilecki"; modules = [
}; ./home.nix
catppuccin.homeModules.catppuccin
nixvim.homeModules.nixvim
];
"${baseUserConfig.username}@paderewski" = mkHomeConfig { };
isNixOS = true; "nixos" = home-manager.lib.homeManagerConfiguration {
overrides = { pkgs = import nixpkgs {
mainMonitor = "DP-1"; inherit system;
config.allowUnfree = true;
}; };
hostName = "paderewski"; extraSpecialArgs = {
inherit
inputs
userConfig
;
isNixOS = true;
};
modules = [
./home.nix
catppuccin.homeModules.catppuccin
nixvim.homeModules.nixvim
];
}; };
}; };
}; };

View File

@@ -1 +0,0 @@
got: sha256-IGkP0z8gJj1dbNclpMebZXZvaRby1F8zGNEDPtitfqo=

View File

@@ -68,24 +68,13 @@
".config/gtk-3.0/gtk.css".source = ./dotfiles/gtk-3.0/gtk.css; ".config/gtk-3.0/gtk.css".source = ./dotfiles/gtk-3.0/gtk.css;
${userConfig.pathConfig.wallpaper}.source = inputs.wallpapers; ${userConfig.pathConfig.wallpaper}.source = inputs.wallpapers;
}; };
programs.hyprcursor-phinger.enable = true;
# === VARS === # === VARS ===
home = { home.sessionVariables = {
sessionVariables = { EDITOR = "nvim";
EDITOR = "nvim"; VISUAL = "nvim";
VISUAL = "nvim"; XDG_DATA_DIRS = "$HOME/.nix-profile/share/applications:$XDG_DATA_DIRS";
XDG_DATA_DIRS = "$HOME/.nix-profile/share/applications:$XDG_DATA_DIRS";
};
pointerCursor = {
name = "phinger-cursors-light";
package = pkgs.phinger-cursors;
size = 24;
gtk.enable = true;
x11.enable = true;
};
}; };
programs.home-manager.enable = true; programs.home-manager.enable = true;

View File

@@ -36,7 +36,7 @@
xdg.configFile."fastfetch/startup.jsonc".text = builtins.toJSON { xdg.configFile."fastfetch/startup.jsonc".text = builtins.toJSON {
logo = { logo = {
source = "nixos_small"; source = "arch_small";
padding = { padding = {
bottom = 1; bottom = 1;
}; };

View File

@@ -1,4 +1,4 @@
{ isNixOS, hostName, ... }: { isNixOS, ... }:
{ {
programs.fish = { programs.fish = {
@@ -17,8 +17,6 @@
fish_vi_key_bindings fish_vi_key_bindings
direnv hook fish | source
fastfetch --config ~/.config/fastfetch/startup.jsonc fastfetch --config ~/.config/fastfetch/startup.jsonc
''; '';
@@ -47,7 +45,7 @@
set -l rel_file (realpath --relative-to=$config_dir $file) set -l rel_file (realpath --relative-to=$config_dir $file)
if nh home switch $config_dir if nh home switch $config_dir -c ${if isNixOS then "nixos" else "arch"}
git add -A git add -A
set commit_msg "update: $rel_file" set commit_msg "update: $rel_file"
git commit -m "$commit_msg" git commit -m "$commit_msg"
@@ -63,12 +61,17 @@
reload_dotfiles = { reload_dotfiles = {
body = # fish body = # fish
"nh home switch ~/.config/home-manager"; "nh home switch ~/.config/home-manager -c ${if isNixOS then "nixos" else "arch"}";
}; };
reload_system = { ls = {
body = # fish body = # fish
"nh os switch /etc/nixos/"; "eza --long --icons --group-directories-first --git $argv";
};
lst = {
body = # fish
"eza --long --icons --color --git --tree $argv";
}; };
cp_mail = { cp_mail = {
@@ -77,101 +80,48 @@
}; };
update = { update = {
body = body = # fish
if isNixOS then ''
# fish echo "===System update==="
''
echo "=== System packages update ==="
pushd /etc/nixos
if git pull if not type -q yay
git add -A echo "Yay not found… Is this Arch? If yes, then please consider installing it!"
git commit --allow-empty -m "chore: state before system update" else
yay
nix flake update end
if test $status -eq 0 if type -q pacman
git add ./flake.lock echo "===Remove orphans==="
git commit --allow-empty -m "chore: update system flake.lock" set orphans (pacman -Qtdq)
reload_system if test (count $orphans) -gt 0
else sudo pacman -Rns $orphans
echo "Error while updating system flake!"
end end
else end
echo "Error: 'git pull' failed in /etc/nixos. Skipping system update."
end
popd if type -q flatpak
echo "===Flatpak update==="
echo "=== User packages update ==="
pushd $HOME/.config/home-manager
if git pull
git add -A
git commit --allow-empty -m "chore: state before home-manager update"
nix flake update
if test $status -eq 0
git add ./flake.lock
git commit --allow-empty -m "chore: update home flake.lock"
reload_dotfiles
else
echo "Error while updating home flake!"
end
else
echo "Error: 'git pull' failed in home-manager. Skipping user update."
end
popd
if type -q flatpak
echo "=== Flatpak update ==="
flatpak update --noninteractive flatpak update --noninteractive
echo "===Flatpak remove unused==="
echo "=== Flatpak remove unused ===" flatpak uninstall --unused
flatpak uninstall --unused --noninteractive end
end
''
else
# fish
''
echo "===System update==="
if not type -q yay if type -q nix-channel
echo "Yay not found… Please consider installing it!" echo "===Nix update==="
else nix-channel --update
yay echo "===Nix garbage collection==="
end home-manager expire-generations "-7 days"
end
if type -q pacman '';
echo "===Remove orphans==="
set orphans (pacman -Qtdq)
if test (count $orphans) -gt 0
sudo pacman -Rns $orphans
end
end
if type -q flatpak
echo "===Flatpak update==="
flatpak update --noninteractive
echo "===Flatpak remove unused==="
flatpak uninstall --unused
end
if type -q nix-channel
echo "===Nix update==="
nix-channel --update
echo "===Nix garbage collection==="
home-manager expire-generations "-7 days"
end
'';
}; };
};
shellAliases = { rm = {
ls = "eza --long --icons --group-directories-first --git"; body = "trash $argv";
lst = "eza --long --icons --color --git --tree"; };
rm = "trash";
open = {
body = "nohup xdg-open $argv > /dev/null & ";
};
}; };
}; };
} }

View File

@@ -41,7 +41,6 @@
"node_modules" "node_modules"
"result" "result"
"__pycache__" "__pycache__"
".direnv"
]; ];
}; };

View File

@@ -100,30 +100,6 @@
action.__raw = "function() require('harpoon'):list():next() end"; action.__raw = "function() require('harpoon'):list():next() end";
options.desc = "Toggle next harpoon buffer"; options.desc = "Toggle next harpoon buffer";
} }
{
key = "j";
action= "jzz";
}
{
key = "k";
action= "kzz";
}
{
key = "[[";
action= "[[zz";
}
{
key = "]]";
action= "]]zz";
}
{
key = "{{";
action= "{{zz";
}
{
key = "}}";
action= "}}zz";
}
]; ];
autoGroups = { autoGroups = {
@@ -227,14 +203,9 @@
}; };
}; };
cursorline = { indent-blankline = {
enable = true; enable = true;
timeout = 0; settings.scope.enabled = true;
};
mini-indentscope = {
enable = true;
settings.draw.delay = 0;
}; };
cmp = { cmp = {

View File

@@ -11,7 +11,7 @@ stdenv.mkDerivation {
owner = "catppuccin"; owner = "catppuccin";
repo = "obsidian"; repo = "obsidian";
rev = "main"; rev = "main";
hash = "sha256-IGkP0z8gJj1dbNclpMebZXZvaRby1F8zGNEDPtitfqo="; hash = "sha256-sN5k263geOtJ1mOCQGM8UdmA/71OhBI5NRwGxJwd80E=";
}; };
installPhase = '' installPhase = ''

View File

@@ -2,8 +2,8 @@
isNixOS, isNixOS,
lib, lib,
userConfig, userConfig,
pkgs,
inputs, inputs,
pkgs,
... ...
}: }:
let let
@@ -36,9 +36,9 @@ in
"$mainMod" = "SUPER"; "$mainMod" = "SUPER";
"$terminal" = "uwsm app -- kitty"; "$terminal" = "uwsm app -- kitty";
"$menu" = "hyprlauncher"; "$menu" = "hyprlauncher";
"$music_player" = if isNixOS then "spotify" else "flatpak run com.spotify.Client"; "$music_player" = "flatpak run com.spotify.Client";
"$notes" = "obsidian"; "$notes" = "obsidian";
"$browser" = if isNixOS then "zen-beta" else "zen-browser"; # beta on nixos "$browser" = "zen-browser";
"$openrgb_color" = "09ce30"; "$openrgb_color" = "09ce30";
env = [ env = [
@@ -135,8 +135,8 @@ in
kb_options = "caps:escape_shifted_capslock"; kb_options = "caps:escape_shifted_capslock";
kb_rules = ""; kb_rules = "";
follow_mouse = 1; follow_mouse = 1;
left_handed = false; left_handed = true;
sensitivity = -0.5; sensitivity = 0;
touchpad = { touchpad = {
natural_scroll = true; natural_scroll = true;
}; };
@@ -174,7 +174,6 @@ in
workspace = [ workspace = [
"1, monitor:DP-2" "1, monitor:DP-2"
"1, layout: dwindle"
"2, monitor:DP-1" "2, monitor:DP-1"
"3, monitor:DP-1" "3, monitor:DP-1"
"4, monitor:DP-1" "4, monitor:DP-1"
@@ -198,7 +197,6 @@ in
"match:class ^(vesktop)$, workspace 1 silent" "match:class ^(vesktop)$, workspace 1 silent"
"match:class ^(chrome-facebook.com__-Default)$, workspace 1" "match:class ^(chrome-facebook.com__-Default)$, workspace 1"
"match:class ^(zen)$, workspace 2" "match:class ^(zen)$, workspace 2"
"match:class ^(zen-beta)$, workspace 2"
"match:class ^(com.github.IsmaelMartinez.teams_for_linux)$, workspace 2" "match:class ^(com.github.IsmaelMartinez.teams_for_linux)$, workspace 2"
"match:class ^(FreeTube)$, workspace 2" "match:class ^(FreeTube)$, workspace 2"
"match:class ^(brave-x.com__-Default)$, workspace 2" "match:class ^(brave-x.com__-Default)$, workspace 2"
@@ -210,7 +208,6 @@ in
"match:class ^(net.lutris.Lutris)$, workspace 3" "match:class ^(net.lutris.Lutris)$, workspace 3"
"match:class ^(rpcs3)$, workspace 3" "match:class ^(rpcs3)$, workspace 3"
"match:class ^(winboat)$, workspace 5" "match:class ^(winboat)$, workspace 5"
"match:class ^(qemu)$, workspace 5"
"match:class ^(obsidian)$, workspace 6" "match:class ^(obsidian)$, workspace 6"
"match:class ^(gimp)$, workspace 8" "match:class ^(gimp)$, workspace 8"
"match:class .*potify, workspace 9 silent" "match:class .*potify, workspace 9 silent"
@@ -352,6 +349,8 @@ in
bindd = [ bindd = [
"$mainMod, F, Make app fullscreen, fullscreen" "$mainMod, F, Make app fullscreen, fullscreen"
"$mainMod, T, Toggle floating, togglefloating" "$mainMod, T, Toggle floating, togglefloating"
"$mainMod, P, Toggle pseudo, pseudo"
"$mainMod, S, Toggle split, togglesplit"
"$mainMod, Q, Kill active window, killactive" "$mainMod, Q, Kill active window, killactive"
]; ];
}; };

View File

@@ -2,6 +2,9 @@
{ {
home.packages = with pkgs; [ home.packages = with pkgs; [
waypaper
swww
gnupg
libnotify libnotify
cliphist cliphist
gh gh
@@ -19,11 +22,5 @@
slurp slurp
bc bc
nh nh
runc
]; ];
xdg.configFile."containers/containers.conf".text = ''
[engine]
runtime = "runc"
'';
} }

View File

@@ -1,5 +1,5 @@
#!/usr/bin/env bash #!/usr/bin/env bash
set -e set -e
rsync -avh --no-links --delete --exclude=.* --exclude=dyski /home/szymon/ /mnt/uwu_backup/home/szymon/ rsync -avh --no-links --delete --exclude=.* --exclude=dyski /home/szymon/ /mnt/backup/home/szymon/
rsync -avh --no-links --delete --exclude=.* --exclude=dyski /home/szymon/ /mnt/wd_backup/home/szymon/ rsync -avh --no-links --delete --exclude=.* --exclude=dyski /home/szymon/ /mnt/backup_wd/home/szymon/