base: add existing config

This commit is contained in:
lily 2024-07-24 19:51:43 -04:00
commit 0c2d3b2e78
Signed by: lily
GPG key ID: 601F3263FBCBC4B9
34 changed files with 437 additions and 0 deletions

28
flake.nix Normal file
View file

@ -0,0 +1,28 @@
{
description = "Luxzi's NixOS system configuration";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
home-manager.url = "github:nix-community/home-manager";
home-manager.inputs.nixpkgs.follows = "nixpkgs";
};
outputs = { self, nixpkgs, home-manager, ... }:
let
lib = nixpkgs.lib;
pkgs = nixpkgs.legacyPackages."x86_64-linux";
in {
nixosConfigurations = {
nixos = lib.nixosSystem {
specialArgs = { inherit self; };
modules = [ ./nixos/configuration.nix ];
};
};
homeConfigurations = {
luxzi = home-manager.lib.homeManagerConfiguration {
inherit pkgs;
modules = [ ./home-manager/home.nix ];
};
};
};
}