build: fresh install of nixos
This commit is contained in:
parent
5288417f6f
commit
050e497568
6 changed files with 100 additions and 159 deletions
37
flake.nix
37
flake.nix
|
@ -1,37 +0,0 @@
|
|||
{
|
||||
description = "a minimal NixOS config using flake and home-manager";
|
||||
|
||||
# Declare dependencies
|
||||
inputs = {
|
||||
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
||||
nixpkgs-stable.url = "github:nixos/nixpkgs/nixos-24.11";
|
||||
|
||||
home-manager = {
|
||||
url = "github:nix-community/home-manager";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
};
|
||||
|
||||
outputs = inputs @ {
|
||||
self,
|
||||
nixpkgs,
|
||||
home-manager,
|
||||
...
|
||||
}: {
|
||||
nixosConfigurations = {
|
||||
hekate = nixpkgs.lib.nixosSystem {
|
||||
modules = [
|
||||
./hosts/hekate
|
||||
|
||||
home-manager.nixosModules.home-manager
|
||||
{
|
||||
home-manager.useGlobalPkgs = true;
|
||||
home-manager.useUserPackages = true;
|
||||
|
||||
home-manager.users.rafiq = import ./users/rafiq/home.nix;
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue