Generated
-37
@@ -436,42 +436,6 @@
|
|||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"nixlib": {
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1736643958,
|
|
||||||
"narHash": "sha256-tmpqTSWVRJVhpvfSN9KXBvKEXplrwKnSZNAoNPf/S/s=",
|
|
||||||
"owner": "nix-community",
|
|
||||||
"repo": "nixpkgs.lib",
|
|
||||||
"rev": "1418bc28a52126761c02dd3d89b2d8ca0f521181",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "nix-community",
|
|
||||||
"repo": "nixpkgs.lib",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"nixos-generators": {
|
|
||||||
"inputs": {
|
|
||||||
"nixlib": "nixlib",
|
|
||||||
"nixpkgs": [
|
|
||||||
"nixunstable"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1769813415,
|
|
||||||
"narHash": "sha256-nnVmNNKBi1YiBNPhKclNYDORoHkuKipoz7EtVnXO50A=",
|
|
||||||
"owner": "nix-community",
|
|
||||||
"repo": "nixos-generators",
|
|
||||||
"rev": "8946737ff703382fda7623b9fab071d037e897d5",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "nix-community",
|
|
||||||
"repo": "nixos-generators",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1767767207,
|
"lastModified": 1767767207,
|
||||||
@@ -737,7 +701,6 @@
|
|||||||
"flake-parts": "flake-parts_2",
|
"flake-parts": "flake-parts_2",
|
||||||
"hmunstable": "hmunstable",
|
"hmunstable": "hmunstable",
|
||||||
"nix-hardware": "nix-hardware",
|
"nix-hardware": "nix-hardware",
|
||||||
"nixos-generators": "nixos-generators",
|
|
||||||
"nixunstable": "nixunstable",
|
"nixunstable": "nixunstable",
|
||||||
"nixvimunstable": "nixvimunstable",
|
"nixvimunstable": "nixvimunstable",
|
||||||
"nurpkgs": "nurpkgs",
|
"nurpkgs": "nurpkgs",
|
||||||
|
|||||||
@@ -31,10 +31,6 @@
|
|||||||
# To enable backups: https://github.com/SaumonNet/proxmox-nixos/pull/45
|
# To enable backups: https://github.com/SaumonNet/proxmox-nixos/pull/45
|
||||||
#proxmox.url = "github:blecher-at/proxmox-nixos/fix-backup-pve-manager";
|
#proxmox.url = "github:blecher-at/proxmox-nixos/fix-backup-pve-manager";
|
||||||
nix-hardware.url = "github:nixos/nixos-hardware";
|
nix-hardware.url = "github:nixos/nixos-hardware";
|
||||||
nixos-generators = {
|
|
||||||
url = "github:nix-community/nixos-generators";
|
|
||||||
inputs.nixpkgs.follows = "nixunstable";
|
|
||||||
};
|
|
||||||
nixvimunstable = {
|
nixvimunstable = {
|
||||||
url = "github:nix-community/nixvim/main";
|
url = "github:nix-community/nixvim/main";
|
||||||
inputs.nixpkgs.follows = "nixunstable";
|
inputs.nixpkgs.follows = "nixunstable";
|
||||||
|
|||||||
+1
-2
@@ -5,7 +5,6 @@
|
|||||||
}:
|
}:
|
||||||
let
|
let
|
||||||
inherit (top.nixunstable) lib;
|
inherit (top.nixunstable) lib;
|
||||||
wsl = args: (unstable (args // { extraMods = [ top.wsl.nixosModules.wsl ]; }));
|
|
||||||
unstable =
|
unstable =
|
||||||
{
|
{
|
||||||
channel ? top.nixunstable,
|
channel ? top.nixunstable,
|
||||||
@@ -57,7 +56,7 @@ in
|
|||||||
)
|
)
|
||||||
// {
|
// {
|
||||||
# nix build '.#nixosConfigurations.wsl.config.system.build.installer'
|
# nix build '.#nixosConfigurations.wsl.config.system.build.installer'
|
||||||
nixos = wsl { name = "wsl"; };
|
#nixos = wsl { name = "wsl"; };
|
||||||
# nix build '.#nixosConfigurations.wsl-aarch.config.system.build.installer'
|
# nix build '.#nixosConfigurations.wsl-aarch.config.system.build.installer'
|
||||||
#nixos-arm = wsl {
|
#nixos-arm = wsl {
|
||||||
# name = "wsl";
|
# name = "wsl";
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
{ ... }:
|
{ ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
|
imports = [ top.wsl.nixosModules.default ];
|
||||||
wsl = {
|
wsl = {
|
||||||
enable = true;
|
enable = true;
|
||||||
wslConf.automount.root = "/mnt";
|
wslConf.automount.root = "/mnt";
|
||||||
|
|||||||
Reference in New Issue
Block a user