1st commit
This commit is contained in:
commit
74d15b4c6a
25 changed files with 1328 additions and 0 deletions
50
flake.nix
Executable file
50
flake.nix
Executable file
|
|
@ -0,0 +1,50 @@
|
|||
{
|
||||
description = "Nixos config flake";
|
||||
|
||||
inputs = {
|
||||
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
||||
home-manager.url = "github:nix-community/home-manager";
|
||||
home-manager.inputs.nixpkgs.follows = "nixpkgs";
|
||||
|
||||
nvf.url = "github:notashelf/nvf";
|
||||
stylix.url = "github:danth/stylix";
|
||||
|
||||
milk-grub-theme.url = "github:gemakfy/MilkGrub";
|
||||
};
|
||||
|
||||
outputs = inputs @ {
|
||||
self,
|
||||
nixpkgs,
|
||||
...
|
||||
}: {
|
||||
nixosConfigurations = {
|
||||
benag = nixpkgs.lib.nixosSystem {
|
||||
system = "x86_64-linux";
|
||||
specialArgs = {inherit inputs;};
|
||||
modules = [
|
||||
./configuration/configuration.nix
|
||||
inputs.stylix.nixosModules.stylix
|
||||
|
||||
{
|
||||
home-manager.sharedModules = [
|
||||
inputs.stylix.homeModules.stylix
|
||||
];
|
||||
}
|
||||
|
||||
inputs.home-manager.nixosModules.default
|
||||
|
||||
inputs.milk-grub-theme.nixosModule
|
||||
|
||||
{
|
||||
home-manager = {
|
||||
backupFileExtension = "backup_nix";
|
||||
useUserPackages = true;
|
||||
useGlobalPkgs = true;
|
||||
users.benag = ./home/home.nix;
|
||||
};
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue