nixfmt
This commit is contained in:
parent
ac021ac976
commit
91eea7811a
9 changed files with 259 additions and 256 deletions
|
@ -3,9 +3,14 @@ with lib;
|
|||
let
|
||||
cfg = config.fuckingprint;
|
||||
|
||||
fixPlatforms = p: p.overrideAttrs (super: super // { meta = super.meta // { platforms = super.meta.platforms ++ [ "x86_64-linux" ]; }; });
|
||||
in
|
||||
{
|
||||
fixPlatforms = p:
|
||||
p.overrideAttrs (super:
|
||||
super // {
|
||||
meta = super.meta // {
|
||||
platforms = super.meta.platforms ++ [ "x86_64-linux" ];
|
||||
};
|
||||
});
|
||||
in {
|
||||
options.fuckingprint.enable = mkEnableOption "Make my fucking printer work";
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
|
@ -76,7 +81,9 @@ in
|
|||
mfcl3770cdwlpr
|
||||
|
||||
# Maybe this isn't a good idea?
|
||||
(mfcl8690cdwcupswrapper.override { mfcl8690cdwlpr = fixPlatforms mfcl8690cdwlpr; })
|
||||
(mfcl8690cdwcupswrapper.override {
|
||||
mfcl8690cdwlpr = fixPlatforms mfcl8690cdwlpr;
|
||||
})
|
||||
(fixPlatforms mfcl8690cdwlpr)
|
||||
];
|
||||
hardware.sane.enable = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue