home-manager and just optimizations

This commit is contained in:
randogoth 2026-02-02 21:30:08 +02:00
parent d1713bdc99
commit 280f83488b
6 changed files with 102 additions and 39 deletions

18
templates/home-flake.nix Normal file
View file

@ -0,0 +1,18 @@
{
description = "Home Manager configuration of admin";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
home-manager = {
url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs = { nixpkgs, home-manager, ... }: {
homeConfigurations."admin" = home-manager.lib.homeManagerConfiguration {
pkgs = nixpkgs.legacyPackages.x86_64-linux;
modules = [ ./home.nix ];
};
};
}