backup
This commit is contained in:
@@ -7,6 +7,10 @@
|
||||
|
||||
home-manager.url = "github:nix-community/home-manager";
|
||||
home-manager.inputs.nixpkgs.follows = "nixpkgs";
|
||||
nix4nvchad = {
|
||||
url = "github:nix-community/nix4nvchad";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
};
|
||||
|
||||
#outputs = { self, nixpkgs, nixpkgsveryold }:
|
||||
@@ -22,28 +26,23 @@
|
||||
# };
|
||||
#};
|
||||
|
||||
outputs = { self, nixpkgs, home-manager, ... } @ inputs:
|
||||
outputs = { nixpkgs, home-manager, ... } @ inputs:
|
||||
let
|
||||
system = "x86_64-linux";
|
||||
lib = nixpkgs.lib;
|
||||
extraSpecialArgs = { inherit system inputs; };
|
||||
specialArgs = { inherit system inputs; };
|
||||
in {
|
||||
nixosConfigurations = {
|
||||
biscuit = lib.nixosSystem {
|
||||
system = "x86_64-linux";
|
||||
specialArgs = extraSpecialArgs;
|
||||
modules = [
|
||||
./nixos/configuration.nix
|
||||
home-manager.nixosModules.home-manager {
|
||||
home-manager = {
|
||||
useGlobalPkgs = true;
|
||||
users.biscuit = import ./home-manager/home.nix;
|
||||
};
|
||||
}
|
||||
];
|
||||
system = "x86_64-linux";
|
||||
pkgs = import nixpkgs {
|
||||
inherit system;
|
||||
config = {
|
||||
allowUnfree = false;
|
||||
};
|
||||
|
||||
};
|
||||
};
|
||||
};
|
||||
in {
|
||||
nixosConfigurations = {
|
||||
biscuit = nixpkgs.lib.nixosSystem {
|
||||
specialArgs = { inherit inputs system; };
|
||||
modules = [
|
||||
./nixos/configuration.nix
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user