~ruther/nixos-config

ref: 6904cf1761334d033556f106c82d79b48e6657f4 nixos-config/home/modules/profiles/desktop/qtile/config/flake.nix -rw-r--r-- 710 bytes
6904cf17 — Frantisek Bohacek refactor: modularize the configuration 1 year, 1 day 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