Compare commits

..

2 commits

Author SHA1 Message Date
irl
f655c56b22 feat: use /Users/irl for home on darwin 2025-06-07 13:52:26 +01:00
irl
6e8d58e5ac feat: use new nur overlay
nur.overlay -> nur.overlays.default
2025-06-07 13:51:01 +01:00
2 changed files with 7 additions and 5 deletions

View file

@ -28,6 +28,9 @@
"aarch64-linux" "aarch64-linux"
]; ];
forAllSystems = nixpkgs.lib.genAttrs supportedSystems; forAllSystems = nixpkgs.lib.genAttrs supportedSystems;
overlays = [
nur.overlays.default
];
in in
{ {
nixosConfigurations = { nixosConfigurations = {
@ -46,15 +49,13 @@
// { // {
"irl-${system}" = home-manager.lib.homeManagerConfiguration { "irl-${system}" = home-manager.lib.homeManagerConfiguration {
pkgs = import nixpkgs { pkgs = import nixpkgs {
inherit system; inherit system overlays;
overlays = [ nur.overlay ];
}; };
modules = [ ./home/irl.nix ]; modules = [ ./home/irl.nix ];
}; };
"irl-gui-${system}" = home-manager.lib.homeManagerConfiguration { "irl-gui-${system}" = home-manager.lib.homeManagerConfiguration {
pkgs = import nixpkgs { pkgs = import nixpkgs {
inherit system; inherit system overlays;
overlays = [ nur.overlay ];
}; };
modules = [ modules = [
./home/irl.nix ./home/irl.nix

View file

@ -13,7 +13,8 @@ in
config = { config = {
home.username = "irl"; home.username = "irl";
home.homeDirectory = "/home/irl"; home.homeDirectory =
if lib.strings.hasSuffix "darwin" pkgs.system then "/Users/irl" else "/home/irl";
home.stateVersion = "25.05"; home.stateVersion = "25.05";
home.packages = with pkgs; [ home.packages = with pkgs; [
fish fish