fix flake for non-nixos
This commit is contained in:
parent
980c6ab3f9
commit
bc00968e7b
|
@ -24,6 +24,7 @@
|
||||||
let
|
let
|
||||||
custom = import ./custom;
|
custom = import ./custom;
|
||||||
system = custom.system;
|
system = custom.system;
|
||||||
|
username = custom.username;
|
||||||
overlay-unstable = final: prev: {
|
overlay-unstable = final: prev: {
|
||||||
unstable = import nixpkgs-unstable {
|
unstable = import nixpkgs-unstable {
|
||||||
system = custom.system;
|
system = custom.system;
|
||||||
|
@ -237,7 +238,7 @@
|
||||||
homeConfigurations = {
|
homeConfigurations = {
|
||||||
"${custom.username}@co-ws-con4" = home-manager.lib.homeManagerConfiguration {
|
"${custom.username}@co-ws-con4" = home-manager.lib.homeManagerConfiguration {
|
||||||
configuration = import ./home-manager/work-wsl.nix;
|
configuration = import ./home-manager/work-wsl.nix;
|
||||||
inherit inputs;
|
inherit system username;
|
||||||
homeDirectory = "/home/${custom.username}";
|
homeDirectory = "/home/${custom.username}";
|
||||||
extraSpecialArgs = {
|
extraSpecialArgs = {
|
||||||
inherit custom inputs;
|
inherit custom inputs;
|
||||||
|
|
Loading…
Reference in New Issue