diff options
Diffstat (limited to 'flake.nix')
| -rw-r--r-- | flake.nix | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/flake.nix b/flake.nix new file mode 100644 index 0000000..79121d2 --- /dev/null +++ b/flake.nix @@ -0,0 +1,35 @@ +######################################################## +# __ __ __ _ _ _ # +# | \/ |_ _ / _| | __ _| | _____ _ __ (_)_ __ # +# | |\/| | | | | | |_| |/ _` | |/ / _ \ | '_ \| \ \/ / # +# | | | | |_| | | _| | (_| | < __/_| | | | |> < # +# |_| |_|\__, | |_| |_|\__,_|_|\_\___(_)_| |_|_/_/\_\ # +# |___/ # +######################################################## +{ + description = "My flake configuration"; + + inputs = { + nixpkgs.url = "github:NixOS/nixpkgs/release-23.05"; + + home-manager = { + url = "github:nix-community/home-manager/release-23.05"; + inputs.nixpkgs.follows = "nixpkgs"; + }; + }; + + outputs = { nixpkgs, home-manager, ... } @ inputs: { + homeConfigurations.ken = home-manager.lib.homeManagerConfiguration { + pkgs = import nixpkgs { + system = "x86_64-linux"; + config.allowUnfree = true; + }; + extraSpecialArgs = { + inherit inputs; + }; + modules = [ + ./home-manager/home.nix + ]; + }; + }; +} |
