Compare commits

...

5 Commits

5 changed files with 14 additions and 6 deletions

View File

@ -163,7 +163,7 @@ in {
nix = { nix = {
package = pkgs.nixUnstable; package = pkgs.nixUnstable;
extraOptions = '' extraOptions = ''
experimental-features = nix-command flakes ca-references experimental-features = nix-command flakes
''; '';
registry = { registry = {
nixpkgs.flake = inputs.nixpkgs; nixpkgs.flake = inputs.nixpkgs;

View File

@ -29,6 +29,7 @@ in {
index-fm index-fm
#kasts-git #kasts-git
rsibreak rsibreak
kalendar
]; ];
}; };
} }

View File

@ -21,7 +21,10 @@ in {
home-manager.users."${config.ptw.system.singleUser}".programs.zsh = { home-manager.users."${config.ptw.system.singleUser}".programs.zsh = {
enable = true; enable = true;
history.ignoreSpace = true; history.ignoreSpace = true;
shellAliases = { shellAliases = let
home = "/home/${config.ptw.system.singleUser}/Development/Personal/nixos-config";
nixosSwitch = "nixos-rebuild --flake .#${config.ptw.system.hostName} switch";
in {
ls = "ls --color=always"; ls = "ls --color=always";
".." = "cd .."; ".." = "cd ..";
"..." = "cd ../../"; "..." = "cd ../../";
@ -33,6 +36,8 @@ in {
gds = "git diff --staged"; gds = "git diff --staged";
c = "clear"; c = "clear";
suspend = "systemctl suspend"; suspend = "systemctl suspend";
nixos-rebuild-switch = "pushd; cd ${home}; sudo ${nixosSwitch}; popd";
nixos-rebuild-switch-fast = "pushd; cd ${home}; sudo ${nixosSwitch} --fast; popd";
waifu2x = "flatpak run com.github.nihui.waifu2x-ncnn-vulkan"; waifu2x = "flatpak run com.github.nihui.waifu2x-ncnn-vulkan";
}; };

View File

@ -35,7 +35,7 @@
port = 2222; port = 2222;
user = "gitea"; user = "gitea";
hostname = "git.polynom.me"; hostname = "git.polynom.me";
identityFile = "~/.ssh/gitea_papatutuwawa_ed"; identityFile = "~/.ssh/gitea_papatutuwawa";
}; };
"github.com" = { "github.com" = {
user = "git"; user = "git";

View File

@ -136,9 +136,11 @@ key-mapper = prev.callPackage ./tools/games/key-mapper {};
# TODO: Remove once upstream has a new version tagged # TODO: Remove once upstream has a new version tagged
kasts-git = prev.libsForQt5.kasts.overrideAttrs (old: { kasts-git = prev.libsForQt5.kasts.overrideAttrs (old: {
src = builtins.fetchTarball { src = let
url = "https://invent.kde.org/plasma-mobile/kasts/-/archive/master/kasts-master.tar.gz"; commit = "b39be0118ef6ff587b433af185c584f3d5bcec30";
sha256 = "sha256:1n7j4011hgscmjj728iyjgifpbnwc1sy32b5aw834n1vgxfkq00l"; in builtins.fetchTarball {
url = "https://invent.kde.org/plasma-mobile/kasts/-/archive/${commit}/kasts-${commit}.tar.gz";
sha256 = "06myymbwj89357cpg7phha1x8q84mlhcy4f44pdkqmg7lkd5a6df";
}; };
buildInputs = old.buildInputs ++ [ prev.taglib prev.libsForQt5.qtkeychain ]; buildInputs = old.buildInputs ++ [ prev.taglib prev.libsForQt5.qtkeychain ];