This commit is contained in:
Jiří Štefka 2025-04-19 23:07:40 +02:00
parent 3792d15fd0
commit 134c4480b6
Signed by: jiriks74
GPG key ID: 1D5E30D3DB2264DE
9 changed files with 395 additions and 317 deletions

View file

@ -2,10 +2,13 @@
description = "jiriks74's ZSH configuration";
inputs = {
flake-utils.url = "github:numtide/flake-utils";
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
home-manager.url = "github:nix-community/home-manager";
home-manager.inputs.nixpkgs.follows = "nixpkgs";
};
outputs = {nixpkgs, ...}: let
outputs = {self, nixpkgs, ...}: let
# Supported systems for your flake packages, shell, etc.
systems = [
"aarch64-linux"
@ -19,26 +22,8 @@
forAllSystems = nixpkgs.lib.genAttrs systems;
in {
formatter = forAllSystems (system: nixpkgs.legacyPackages.${system}.alejandra);
homeManagerModules = {
default = {
config,
lib,
pkgs,
...
}: {
inport = ./zsh.nix;
};
withPackages = {
config,
lib,
pkgs,
...
}: {
imports = [
./zsh.nix
./packages.nix
];
};
homeManagerModules = { ... }: {
imports = [ ./modules ];
};
};
}