mirror of
https://github.com/end-4/dots-hyprland.git
synced 2026-06-05 23:09:26 -05:00
b4a57bbbec
Comment on Discussion When sdata/dist-arch/ Changes / comment_on_discussion (push) Waiting to run
50 lines
1.3 KiB
Nix
50 lines
1.3 KiB
Nix
# flake.nix
|
|
{
|
|
description = "illogical-impulse";
|
|
|
|
inputs = {
|
|
nixpkgs.url = "nixpkgs/nixos-25.11";
|
|
#nixpkgs.url = "nixpkgs/nixos-unstable";
|
|
|
|
home-manager = {
|
|
url = "github:nix-community/home-manager/release-25.11";
|
|
#url = "github:nix-community/home-manager/master";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
#nixgl.url = "github:nix-community/nixGL";
|
|
quickshell = {
|
|
url = "github:quickshell-mirror/quickshell/7511545ee20664e3b8b8d3322c0ffe7567c56f7a";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
};
|
|
|
|
outputs = { nixpkgs, home-manager,
|
|
#nixgl,
|
|
quickshell, ... }:
|
|
let
|
|
home_attrs = rec {
|
|
username = import ./username.nix;
|
|
homeDirectory = "/home/${username}";
|
|
# Do not edit stateVersion value, see https://github.com/nix-community/home-manager/issues/5794
|
|
stateVersion = "25.05";
|
|
};
|
|
system = "x86_64-linux";
|
|
lib = nixpkgs.lib;
|
|
pkgs = import nixpkgs {
|
|
inherit system;
|
|
};
|
|
in {
|
|
homeConfigurations = {
|
|
illogical_impulse = home-manager.lib.homeManagerConfiguration {
|
|
inherit pkgs;
|
|
extraSpecialArgs = { inherit home_attrs
|
|
#nixgl
|
|
quickshell; };
|
|
modules = [
|
|
./home.nix
|
|
];
|
|
};
|
|
};
|
|
};
|
|
}
|