Fixes to make it build.
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
inputs = {
|
||||
nixpkgs.url = "github:NixOS/nixpkgs/nixos-24.05";
|
||||
home-manager = {
|
||||
url = "github:nix-community/home-manager";
|
||||
url = "github:nix-community/home-manager/release-24.05";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
};
|
||||
@@ -12,7 +12,8 @@
|
||||
outputs = { self, nixpkgs, home-manager }:
|
||||
let
|
||||
username = "ppetru";
|
||||
system = "x64_64-linux";
|
||||
homeDirectory = "/home/${username}";
|
||||
system = "x86_64-linux";
|
||||
stateVersion = "24.05";
|
||||
|
||||
pkgs = import nixpkgs {
|
||||
@@ -23,9 +24,6 @@
|
||||
};
|
||||
};
|
||||
|
||||
homeDirPrefix = if pkgs.stdenv.hostPlatform.isDarwin then "/Users" else "/home";
|
||||
homeDirectory = "/${homeDirPrefix}/${username}";
|
||||
|
||||
home = (import ./home.nix {
|
||||
inherit homeDirectory pkgs stateVersion system username;
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user