initial commit x2
This commit is contained in:
37
flake.nix
Normal file
37
flake.nix
Normal file
@@ -0,0 +1,37 @@
|
||||
{
|
||||
description = "furry flake";
|
||||
|
||||
inputs = {
|
||||
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
||||
home-manager = {
|
||||
url = "github:nix-community/home-manager";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
|
||||
disko = {
|
||||
url = "github:nix-community/disko";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
|
||||
zen-browser.url = "github:MarceColl/zen-browser-flake";
|
||||
};
|
||||
|
||||
outputs = { self, nixpkgs, home-manager, disko, ... }@inputs:
|
||||
let
|
||||
system = "x86_64-linux";
|
||||
host = "sophron";
|
||||
nick = "fox";
|
||||
in {
|
||||
nixosConfigurations.${host} = inputs.nixpkgs.lib.nixosSystem {
|
||||
specialArgs = { inherit inputs; };
|
||||
modules = [ ./system/default.nix disko.nixosModules.disko ];
|
||||
};
|
||||
|
||||
homeConfigurations.${nick} = inputs.home-manager.lib.homeManagerConfiguration {
|
||||
pkgs = inputs.nixpkgs.legacyPackages.${system};
|
||||
extraSpecialArgs = { inherit inputs; };
|
||||
modules = [ ./home-manager/default.nix ];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user