Repo-wide reformat. Remove some unused. README updates.

This commit is contained in:
kat witch 2021-08-28 22:08:52 +01:00
parent 21880fc3c5
commit 8788d1111b
No known key found for this signature in database
GPG key ID: 1B477797DCA5EC72
18 changed files with 495 additions and 391 deletions

View file

@ -8,9 +8,9 @@ let
(import ./rustfmt)
(import ./katlib)
(import ./katpkgs)
/* # TODO: implement these
(import ./vimrc)
*/
/* # TODO: implement these
(import ./vimrc)
*/
] ++ (map (path: import "${path}/overlay.nix") [
sources.arcexprs
sources.anicca
@ -23,4 +23,4 @@ let
};
};
in
pkgs
pkgs

View file

@ -4,8 +4,8 @@ let
networks = config.network.addresses;
filteredNetworks = filterAttrs (n: v: elem n networkFilter) networks;
networkValues = attrValues filteredNetworks;
addressList'= concatMap (n: n.out.identifierList) networkValues;
addressList = map(n: builtins.unsafeDiscardStringContext n) addressList';
addressList' = concatMap (n: n.out.identifierList) networkValues;
addressList = map (n: builtins.unsafeDiscardStringContext n) addressList';
hostBlocks = map (host: nameValuePair host block) addressList;
in
listToAttrs hostBlocks

View file

@ -1,5 +1,5 @@
final: prev: {
linuxPackagesFor = kernel: (final.linuxPackagesFor kernel).extend (_: kfinal: {
zfsUnstable = kfinal.zfsUnstable.overrideAttrs (old: { meta = old.meta // { broken = false; }; });
});
linuxPackagesFor = kernel: (final.linuxPackagesFor kernel).extend (_: kfinal: {
zfsUnstable = kfinal.zfsUnstable.overrideAttrs (old: { meta = old.meta // { broken = false; }; });
});
}