From 395ec1dcce5bfc9a026d1a867ead8d8e1f240635 Mon Sep 17 00:00:00 2001 From: makefu Date: Tue, 13 Jun 2023 00:31:19 +0200 Subject: configs: apply fixes for flakes --- 2configs/gui/automatic-diskmount.nix | 4 ++-- 2configs/home-manager/default.nix | 4 +--- 2configs/home-manager/zsh.nix | 2 +- 2configs/tools/core-gui.nix | 1 - 2configs/tools/core.nix | 5 +++-- 2configs/wireguard/wiregrill.nix | 5 +++-- 6 files changed, 10 insertions(+), 11 deletions(-) diff --git a/2configs/gui/automatic-diskmount.nix b/2configs/gui/automatic-diskmount.nix index ad3774be8..2cf97da33 100644 --- a/2configs/gui/automatic-diskmount.nix +++ b/2configs/gui/automatic-diskmount.nix @@ -1,5 +1,5 @@ -{ pkgs, ... }: -with import ; #genid +{ pkgs, stockholm, ... }: +with stockholm.lib; #genid { # auto-mounting via polkit services.udisks2.enable = true; ## automount all disks: diff --git a/2configs/home-manager/default.nix b/2configs/home-manager/default.nix index be8861100..6af03559e 100644 --- a/2configs/home-manager/default.nix +++ b/2configs/home-manager/default.nix @@ -1,7 +1,5 @@ { - imports = [ - - ]; + imports = [ ]; home-manager.useUserPackages = true; home-manager.useGlobalPkgs = true; home-manager.users.makefu = { diff --git a/2configs/home-manager/zsh.nix b/2configs/home-manager/zsh.nix index c875d52c8..6f05bcc72 100644 --- a/2configs/home-manager/zsh.nix +++ b/2configs/home-manager/zsh.nix @@ -37,7 +37,7 @@ programs.direnv.enable = true; programs.direnv.nix-direnv.enable = true; programs.direnv.enableZshIntegration = true; - home.packages = [ (pkgs.writeDashBin "nixify" '' + home.packages = [ (pkgs.writers.writeDashBin "nixify" '' test ! -e shell.nix && cat > shell.nix < {}}: diff --git a/2configs/tools/core-gui.nix b/2configs/tools/core-gui.nix index bcd3022e8..74d122c51 100644 --- a/2configs/tools/core-gui.nix +++ b/2configs/tools/core-gui.nix @@ -7,7 +7,6 @@ feh clipit # firefox - keepassx pcmanfm evince # replacement for mirage: diff --git a/2configs/tools/core.nix b/2configs/tools/core.nix index aea2e560e..378c89b02 100644 --- a/2configs/tools/core.nix +++ b/2configs/tools/core.nix @@ -49,10 +49,11 @@ ${gnused}/bin/sed -i "''${1}d" ~/.ssh/known_hosts jq parallel proot - populate rxvt_unicode.terminfo - kpaste + + # TODO: missing stockholm overlay + # kpaste ]; } diff --git a/2configs/wireguard/wiregrill.nix b/2configs/wireguard/wiregrill.nix index 922dc8c0f..27984d41b 100644 --- a/2configs/wireguard/wiregrill.nix +++ b/2configs/wireguard/wiregrill.nix @@ -1,5 +1,6 @@ -with import ; -{ config, pkgs, ... }: let + +{ config, pkgs, lib, ... }: with lib; with pkgs.stockholm.lib; +let self = config.krebs.build.host.nets.wiregrill; isRouter = !isNull self.via; # via "internet" is not set -- cgit v1.2.3