~ruther/nixos-config

ref: 5b1602c8f5563556f28c67d066d1aee7b46e55e7 nixos-config/modules/desktop/qtile/config/flake.nix -rw-r--r-- 710 bytes
5b1602c8 — Frantisek Bohacek chore: update 1 year, 3 days ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
{
  description = "A very basic flake";

  inputs = {
    nixpkgs.url = "github:NixOS/nixpkgs/release-23.05";
    flake-utils.url = "github:numtide/flake-utils";
  };

  outputs = { self, flake-utils, nixpkgs }:
    flake-utils.lib.eachDefaultSystem(system: let
      pkgs = import nixpkgs {
        inherit system;
      };
    in rec {

      packages.python = pkgs.python310.withPackages (ps: with ps; [
        dbus-next
        qtile
        qtile-extras
      ]);
      packages.default = packages.python;

      devShells.default = pkgs.mkShell {
        nativeBuildInputs = [
          packages.default
        ];
        packages = [
          pkgs.nodePackages.pyright
        ];
      };

    });
}
Do not follow this link