Big update

This commit is contained in:
ant 2024-08-24 17:49:02 +02:00
parent 739f3d97f2
commit 62d4de0360
10 changed files with 328 additions and 103 deletions

View file

@ -2,24 +2,34 @@
description = "Home Manager configuration";
inputs = {
# Specify the source of Home Manager and Nixpkgs.
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
nixpkgs-24_05.url = "github:nixos/nixpkgs/nixos-24.05";
home-manager = {
url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs = { nixpkgs, home-manager, ... }:
outputs = { ... }@inputs:
let
system = "x86_64-linux";
pkgs = nixpkgs.legacyPackages.${system};
pkgs = inputs.nixpkgs.legacyPackages.${system};
pkgs-24_05 = inputs.nixpkgs-24_05.legacyPackages.${system};
username = "ant";
variant = "default";
in {
homeConfigurations."ant" = home-manager.lib.homeManagerConfiguration {
homeConfigurations.${username} = inputs.home-manager.lib.homeManagerConfiguration {
inherit pkgs;
# Specify your home configuration modules here, for example,
# the path to your home.nix.
extraSpecialArgs = {
# configure here
variant = variant;
username = username;
pkgs-24_05 = pkgs-24_05;
};
modules = [
./home.nix
];