Compare commits

..

5 Commits

5 changed files with 14 additions and 6 deletions

View File

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

View File

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

View File

@ -21,7 +21,10 @@ in {
home-manager.users."${config.ptw.system.singleUser}".programs.zsh = {
enable = 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";
".." = "cd ..";
"..." = "cd ../../";
@ -33,6 +36,8 @@ in {
gds = "git diff --staged";
c = "clear";
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";
};

View File

@ -35,7 +35,7 @@
port = 2222;
user = "gitea";
hostname = "git.polynom.me";
identityFile = "~/.ssh/gitea_papatutuwawa_ed";
identityFile = "~/.ssh/gitea_papatutuwawa";
};
"github.com" = {
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
kasts-git = prev.libsForQt5.kasts.overrideAttrs (old: {
src = builtins.fetchTarball {
url = "https://invent.kde.org/plasma-mobile/kasts/-/archive/master/kasts-master.tar.gz";
sha256 = "sha256:1n7j4011hgscmjj728iyjgifpbnwc1sy32b5aw834n1vgxfkq00l";
src = let
commit = "b39be0118ef6ff587b433af185c584f3d5bcec30";
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 ];