home-manager for scalizer laptop

This commit is contained in:
Julien Hémono 2025-08-24 11:07:05 +02:00
parent 3e9ab7a583
commit f8da94f524
3 changed files with 107 additions and 5 deletions

View file

@ -12,10 +12,10 @@
inputs.nixpkgs.follows = "nixpkgs";
};
# home-manager = {
# url = "github:nix-community/home-manager";
# inputs.nixpkgs.follows = "nixpkgs";
# };
home-manager = {
url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs";
};
mysecrets = {
url = "git+ssh://forgejo@git.hemono.fr/jhemono/nix-secrets.git?ref=main&shallow=1";
@ -28,8 +28,10 @@
};
};
outputs = { self, nixpkgs, ... }@inputs: let
outputs = { self, nixpkgs, home-manager, ... }@inputs: let
inherit (self) outputs;
system = "x86_64-linux";
pkgs = nixpkgs.legacyPackages.${system};
in {
# Custom packages and modifications, exported as overlays
@ -51,5 +53,16 @@
];
};
};
homeConfigurations."julien" = home-manager.lib.homeManagerConfiguration {
inherit pkgs;
# Specify your home configuration modules here, for example,
# the path to your home.nix.
modules = [ ./home.nix ];
# Optionally use extraSpecialArgs
# to pass through arguments to home.nix
};
};
}