306 current 2025-01-25 22:09:05 25.05.20241217.d3c42f1 6.6.66 *
This commit is contained in:
26
flake.nix
26
flake.nix
@@ -23,7 +23,9 @@
|
|||||||
nixpkgs,
|
nixpkgs,
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
flake-parts.lib.mkFlake {inherit inputs;} {
|
flake-parts.lib.mkFlake {
|
||||||
|
inherit inputs;
|
||||||
|
} {
|
||||||
imports = [
|
imports = [
|
||||||
# To import a flake module
|
# To import a flake module
|
||||||
#cajun-xmonad.default
|
#cajun-xmonad.default
|
||||||
@@ -32,10 +34,11 @@
|
|||||||
systems = ["x86_64-linux" "aarch64-linux" "aarch64-darwin" "x86_64-darwin"];
|
systems = ["x86_64-linux" "aarch64-linux" "aarch64-darwin" "x86_64-darwin"];
|
||||||
perSystem = {
|
perSystem = {
|
||||||
config,
|
config,
|
||||||
self',
|
self,
|
||||||
inputs',
|
inputs,
|
||||||
pkgs,
|
|
||||||
system,
|
system,
|
||||||
|
nixpkgs,
|
||||||
|
pkgs,
|
||||||
...
|
...
|
||||||
}: {
|
}: {
|
||||||
# Per-system attributes can be defined here. The self' and inputs'
|
# Per-system attributes can be defined here. The self' and inputs'
|
||||||
@@ -45,15 +48,14 @@
|
|||||||
# Equivalent to inputs'.nixpkgs.legacyPackages.hello;
|
# Equivalent to inputs'.nixpkgs.legacyPackages.hello;
|
||||||
# packages.default = pkgs.hello;
|
# packages.default = pkgs.hello;
|
||||||
# formatter = pkgs.nixfmt-rfc-style;
|
# formatter = pkgs.nixfmt-rfc-style;
|
||||||
|
# pkgs = import nixpkgs {
|
||||||
|
# inherit system;
|
||||||
|
# config.allowUnfree = true;
|
||||||
|
# };
|
||||||
|
|
||||||
formatter = pkgs.alejandra;
|
formatter = pkgs.alejandra;
|
||||||
};
|
};
|
||||||
flake = {
|
flake = {
|
||||||
lib = haumea.lib.load {
|
|
||||||
scripts = ./scripts;
|
|
||||||
inputs = {
|
|
||||||
inherit (nixpkgs) lib;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
# The usual flake attributes can be defined here, including system-
|
# The usual flake attributes can be defined here, including system-
|
||||||
# agnostic ones like nixosModule and system-enumerating ones, although
|
# agnostic ones like nixosModule and system-enumerating ones, although
|
||||||
# those are more easily expressed in perSystem.
|
# those are more easily expressed in perSystem.
|
||||||
@@ -77,7 +79,7 @@
|
|||||||
# inputs.nur.overlay
|
# inputs.nur.overlay
|
||||||
];
|
];
|
||||||
|
|
||||||
home.packages = with pkgs; [xrandr procps polybar bspwm sxhkd polybar-pulseaudio-control bluez];
|
# home.packages = with pkgs; [xrandr procps polybar bspwm sxhkd polybar-pulseaudio-control bluez];
|
||||||
};
|
};
|
||||||
specialArgs = {inherit inputs;};
|
specialArgs = {inherit inputs;};
|
||||||
# extraSpecialArgs = {inherit inputs;};
|
# extraSpecialArgs = {inherit inputs;};
|
||||||
@@ -87,6 +89,8 @@
|
|||||||
# agenix
|
# agenix
|
||||||
# agenix.nixosModules.default
|
# agenix.nixosModules.default
|
||||||
# home manager
|
# home manager
|
||||||
|
# inputs.haumea.nixosModules
|
||||||
|
# self.h-lib
|
||||||
inputs.home-manager.nixosModules.home-manager
|
inputs.home-manager.nixosModules.home-manager
|
||||||
{
|
{
|
||||||
home-manager.useGlobalPkgs = true;
|
home-manager.useGlobalPkgs = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user