-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathflake.nix
More file actions
29 lines (26 loc) · 1.29 KB
/
Copy pathflake.nix
File metadata and controls
29 lines (26 loc) · 1.29 KB
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
{
description = "AndrewDems dotfiles — Hyprland/Quickshell (ii) desktop. Home-manager module + dev shell.";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
# (Quickshell now comes from plain nixpkgs 0.3.0 — the old pinned-source input was for the
# 0.2.1-era override and is no longer needed; see nix/home-module.nix and docs/13.)
};
outputs = { self, nixpkgs, ... }:
let
system = "x86_64-linux";
pkgs = nixpkgs.legacyPackages.${system};
deps = import ./setup/dependencies.nix;
in {
# ii desktop runtime deps + activation. Import from a NixOS/home-manager config:
# imports = [ inputs.dotfiles.homeManagerModules.default ];
# Provides packages/dconf/venv ONLY — the dotfiles stay the live ~/.config git checkout
# (preserves Quickshell hot-reload); Nix does not place hypr/quickshell files.
homeManagerModules.default = import ./nix/home-module.nix;
# `nix develop` — the lint/test toolchain (cross-distro; on NixOS the runtime comes from
# the home module above). `just lint` needs qmllint (qt6.qtdeclarative).
devShells.${system}.default = pkgs.mkShell {
packages = (map (n: pkgs.${n}) (deps.core ++ deps.optional))
++ [ pkgs.just pkgs.qt6.qtdeclarative ];
};
};
}