Compare commits

...

4 commits

Author SHA1 Message Date
Bruno BELANYI 069987f47e pkgs: dragger: change platforms to linux
All checks were successful
continuous-integration/drone/push Build is passing
I haven't tested it on darwin, and it just so happens that some
dependency is broken on that system (breaking `nix flake check`)...

Will revisit this later in case I ever happen to use a darwin system.
2021-10-08 19:39:43 +02:00
Bruno BELANYI 971b6e9b65 profiles: wm: add 'dragger' when a WM is set up 2021-10-08 15:06:33 +02:00
Bruno BELANYI 8c103a2261 home: gammastep: fix typo 2021-10-08 15:03:45 +02:00
Bruno BELANYI 76f33fbd57 flake: use 'recurseIntoAttrs' in 'pkgs' overlay 2021-10-08 15:00:46 +02:00
4 changed files with 13 additions and 5 deletions

View file

@ -149,7 +149,9 @@
overlays = import ./overlays // {
lib = final: prev: { inherit lib; };
pkgs = final: prev: { ambroisie = import ./pkgs { pkgs = prev; }; };
pkgs = final: prev: {
ambroisie = prev.recurseIntoAttrs (import ./pkgs { pkgs = prev; });
};
};
nixosConfigurations = lib.mapAttrs buildHost {

View file

@ -25,7 +25,7 @@ in
times = {
dawn = mkTimeOption "Dawn time" "6:00-7:30";
dusk = mkTimeOption "Dawn time" "18:30-20:00";
dusk = mkTimeOption "Dusk time" "18:30-20:00";
};
};

View file

@ -1,4 +1,4 @@
{ lib, fetchFromGitHub, qt5 }:
{ lib, fetchFromGitHub, qt5, stdenv }:
qt5.mkDerivation rec {
pname = "dragger";
version = "0.1.0";
@ -24,6 +24,6 @@ qt5.mkDerivation rec {
homepage = "https://gitea.belanyi.fr/ambroisie/dragger";
license = licenses.mit;
maintainers = [ ambroisie ];
platforms = platforms.all;
platforms = platforms.linux;
};
}

View file

@ -1,4 +1,4 @@
{ config, lib, ... }:
{ config, lib, pkgs, ... }:
let
cfg = config.my.profiles.wm;
in
@ -23,5 +23,11 @@ in
# Auto disk mounter
my.home.udiskie.enable = true;
})
(lib.mkIf (cfg.windowManager != null) {
environment.systemPackages = with pkgs; [
ambroisie.dragger
];
})
];
}