wip
This commit is contained in:
parent
333ecafb68
commit
a9ff2c4855
5 changed files with 282 additions and 16 deletions
21
flake.nix
21
flake.nix
|
|
@ -4,31 +4,22 @@
|
|||
inputs = {
|
||||
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
||||
nixpkgs-stable.url = "github:NixOS/nixpkgs/nixos-24.05";
|
||||
nixpkgs.follows = "nixpkgs";
|
||||
flake-utils.url = "github:numtide/flake-utils";
|
||||
home-manager.url = "github:nix-community/home-manager";
|
||||
home-manager.inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
|
||||
outputs = { self, nixpkgs, flake-utils, home-manager, ... }:
|
||||
flake-utils.lib.eachDefaultSystem (system:
|
||||
let
|
||||
pkgs = import nixpkgs {
|
||||
inherit system;
|
||||
config.allowUnfree = true;
|
||||
};
|
||||
in {
|
||||
nixosConfigurations.laptop = nixpkgs.lib.nixosSystem {
|
||||
outputs = { self, nixpkgs, flake-utils, home-manager, ... }: {
|
||||
nixosConfigurations = {
|
||||
laptop = nixpkgs.lib.nixosSystem {
|
||||
system = "x86_64-linux";
|
||||
specialArgs = {
|
||||
inherit system pkgs;
|
||||
};
|
||||
modules = [
|
||||
./hosts/electra/configuration.nix
|
||||
./hosts/laptop/configuration.nix
|
||||
./modules/common.nix
|
||||
./modules/users/alisceon.nix
|
||||
home-manager.nixosModules.home-manager
|
||||
];
|
||||
};
|
||||
});
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue