Update to nixos 21.11

This commit is contained in:
Natsu Kagami 2021-12-01 13:52:13 -05:00
parent 476c25ba26
commit c41c05f45a
Signed by: nki
GPG key ID: 7306B3D3C3AD6E51
6 changed files with 30 additions and 105 deletions

View file

@ -99,15 +99,8 @@
gh = {
enable = true;
} // (
let
protocol = "ssh";
in
if (config.home.stateVersion == "21.05") then
{ gitProtocol = "ssh"; }
else
{ settings.git_protocol = protocol; }
);
settings.git_protocol = "ssh";
};
git = {
enable = true;

View file

@ -18,11 +18,7 @@ let
cargoDeps = drv.cargoDeps.overrideAttrs (lib.const {
inherit src;
outputHash = (
if pkgs.stdenv.isDarwin
then "sha256-U5hiEak47Dd/R7II6d+0/n3ZmT1ryDk4S+/lV2cH6HM="
else "0ywb9489jrb5lsycxlxzrj2khkcjhvzxbb0ckbpwwvg11r4ds240"
);
outputHash = "sha256-U5hiEak47Dd/R7II6d+0/n3ZmT1ryDk4S+/lV2cH6HM=";
});
});

View file

@ -8,17 +8,6 @@ in
options.services.X11.xfce4-notifyd.enable = mkEnableOption "Notification Manager for xfce4";
config = mkIf cfg.enable {
xdg.configFile."autostart/xfce4-notifyd.desktop" = {
# Remove the "OnlyShowIn" line
source = pkgs.runCommand "xfce4-notifyd.desktop"
{
buildInput = [ pkgs.gnused ];
preferLocalBuild = true;
} ''
sed "s/OnlyShowIn/# OnlyShowIn/g" \
< ${pkgs.xfce.xfce4-notifyd}/etc/xdg/autostart/xfce4-notifyd.desktop \
> $out
'';
};
home.packages = with pkgs; [ xfce.xfce4-notifyd ];
};
}