Update to nixos 21.11
This commit is contained in:
parent
476c25ba26
commit
c41c05f45a
6 changed files with 30 additions and 105 deletions
|
@ -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;
|
||||
|
|
|
@ -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=";
|
||||
});
|
||||
});
|
||||
|
||||
|
|
|
@ -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 ];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue