first commit
This commit is contained in:
commit
37b1818720
12 changed files with 1054 additions and 0 deletions
38
flake.nix
Normal file
38
flake.nix
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
{
|
||||
description = "a shared collection of dots by cydiralis and beanigen";
|
||||
|
||||
inputs = {
|
||||
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
||||
home-manager.url = "github:nix-community/home-manager";
|
||||
home-manager.inputs.nixpkgs.follows = "nixpkgs";
|
||||
nix-index-database.url = "github:nix-community/nix-index-database";
|
||||
nix-index-database.inputs.nixpkgs.follows = "nixpkgs";
|
||||
jovian.url = "github:Jovian-Experiments/Jovian-NixOS";
|
||||
};
|
||||
|
||||
outputs = inputs@{ self, nixpkgs, home-manager, jovian, ...}:{
|
||||
nixosConfigurations."patio" = nixpkgs.lib.nixosSystem {
|
||||
system = "x86_64-linux";
|
||||
specialArgs = { inherit inputs; };
|
||||
modules = [
|
||||
./base/patio
|
||||
jovian.nixosModules.jovian
|
||||
home-manager.nixosModules.home-manager {
|
||||
home-manager.backupFileExtension = "hm-backup";
|
||||
#imports = [ inputs.nix-index-database.hmModules.nix-index ];
|
||||
home-manager.extraSpecialArgs = {
|
||||
inherit inputs;
|
||||
vars = {
|
||||
isNixOS = true;
|
||||
class = "handheld";
|
||||
user = "alyx"; #cursed way of setting username
|
||||
};
|
||||
};
|
||||
home-manager.useGlobalPkgs = true;
|
||||
home-manager.useUserPackages = true;
|
||||
home-manager.sharedModules = [{ imports = with inputs; [ nix-index-database.hmModules.nix-index ];}];
|
||||
home-manager.users.alyx = ./home;
|
||||
}
|
||||
];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue