Moved dotfiles to new location for switch to nix

This commit is contained in:
Random936
2024-05-17 15:22:37 -07:00
parent 1bcf271251
commit ac9bc5772e
47 changed files with 76 additions and 0 deletions

27
flake.nix Normal file
View File

@@ -0,0 +1,27 @@
{
description = "Configuration flake for RandomCTF";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-23.11";
home-manager = {
url = "github:nix-community/home-manager/release-23.11";
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs = { self, nixpkgs, home-manager, ... } @ inputs:
let
system = "x86_64-linux";
in {
nixosConfigurations.randomctf = nixpkgs.lib.nixosSystem {
inherit system;
specialArgs = { inherit inputs; };
modules = [ ./nixos/configuration.nix ];
};
homeConfigurations.random = home-manager.lib.homeManagerConfiguration {
pkgs = nixpkgs.legacyPackages.${system};
modules = [ ./home-manager/home.nix ];
};
};
}