fixes and improvements
This commit is contained in:
@@ -4,11 +4,23 @@
|
||||
inputs = {
|
||||
nixpkgs.url = "nixpkgs/nixos-25.05";
|
||||
nixpkgs-unstable.url = "github:nixos/nixpkgs/nixos-unstable";
|
||||
home-manager.url = "github:nix-community/home-manager/release-24.05";
|
||||
|
||||
home-manager.url = "github:nix-community/home-manager/release-25.05";
|
||||
home-manager.inputs.nixpkgs.follows = "nixpkgs";
|
||||
|
||||
nix-alien.url = "github:thiagokokada/nix-alien";
|
||||
|
||||
nix-ld.url = "github:Mic92/nix-ld";
|
||||
# this line assume that you also have nixpkgs as an input
|
||||
nix-ld.inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
|
||||
outputs = { self, nixpkgs, home-manager, ... }: {
|
||||
outputs = { self, nixpkgs, nixpkgs-unstable, home-manager, nix-ld, ... }:
|
||||
let
|
||||
system = "x86_64-linux"; # or aarch64-linux
|
||||
pkgs = import nixpkgs { inherit system; };
|
||||
in
|
||||
{
|
||||
nixosConfigurations = {
|
||||
dev-vm = nixpkgs.lib.nixosSystem {
|
||||
system = "x86_64-linux";
|
||||
@@ -20,6 +32,7 @@
|
||||
./hosts/dev-vm/default.nix
|
||||
];
|
||||
};
|
||||
|
||||
alex-laptop = nixpkgs.lib.nixosSystem {
|
||||
system = "x86_64-linux";
|
||||
specialArgs = {
|
||||
@@ -30,6 +43,21 @@
|
||||
./hosts/alex-laptop/default.nix
|
||||
];
|
||||
};
|
||||
|
||||
alex-desktop = nixpkgs.lib.nixosSystem {
|
||||
specialArgs = {
|
||||
inherit self system;
|
||||
};
|
||||
modules = [
|
||||
./system/common.nix
|
||||
./hosts/alex-desktop/default.nix
|
||||
home-manager.nixosModules.home-manager
|
||||
#nix-ld.nixosModules.nix-ld
|
||||
# The module in this repository defines a new module under (programs.nix-ld.dev) instead of (programs.nix-ld)
|
||||
# to not collide with the nixpkgs version.
|
||||
#{ programs.nix-ld.dev.enable = true; }
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user