diff --git a/configuration.nix b/configuration.nix index 01c1ba90..d11eb3d8 100644 --- a/configuration.nix +++ b/configuration.nix @@ -1,12 +1,12 @@ # Edit this configuration file to define what should be installed on # your system. Help is available in the configuration.nix(5) man page and in the NixOS manual (accessible by running `nixos-help`). -{ config, pkgs, lib, ... }: +{ config, pkgs, lib, home-manager, ... }: { imports = [ # Include the results of the hardware scan. ./hardware-configuration.nix - + home-manager.nixosModules.default ./modules ]; diff --git a/flake.nix b/flake.nix new file mode 100644 index 00000000..acd38698 --- /dev/null +++ b/flake.nix @@ -0,0 +1,22 @@ +# load stuff + +{ + description = "horrible dotfiles for amazing distro"; + + inputs = { + nixpkgs.url = "github:NixOS/nixpkgs/nixos-23.05"; + home-manager.url = "github:nix-community/home-manager/release-23.05"; + }; + + outputs = { self, nixpkgs }: { + nixosConfigurations = { + # TODO(sako)::rename this + nixos = nixpkgs.lib.nixosSystem { + system = "x86_64-linux"; + modules = [ ./configuration.nix ]; + }; + + }; + + }; +}