configs: apply fixes for flakes
This commit is contained in:
parent
db6423f146
commit
395ec1dcce
|
@ -1,5 +1,5 @@
|
|||
{ pkgs, ... }:
|
||||
with import <stockholm/lib>; #genid
|
||||
{ pkgs, stockholm, ... }:
|
||||
with stockholm.lib; #genid
|
||||
{ # auto-mounting via polkit
|
||||
services.udisks2.enable = true;
|
||||
## automount all disks:
|
||||
|
|
|
@ -1,7 +1,5 @@
|
|||
{
|
||||
imports = [
|
||||
<home-manager/nixos>
|
||||
];
|
||||
imports = [ ];
|
||||
home-manager.useUserPackages = true;
|
||||
home-manager.useGlobalPkgs = true;
|
||||
home-manager.users.makefu = {
|
||||
|
|
|
@ -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 <<EOF
|
||||
{ pkgs ? import <nixpkgs> {}}:
|
||||
|
||||
|
|
|
@ -7,7 +7,6 @@
|
|||
feh
|
||||
clipit
|
||||
# firefox
|
||||
keepassx
|
||||
pcmanfm
|
||||
evince
|
||||
# replacement for mirage:
|
||||
|
|
|
@ -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
|
||||
|
||||
];
|
||||
}
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
with import <stockholm/lib>;
|
||||
{ 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
|
||||
|
|
Loading…
Reference in a new issue