maybe flakes work now

This commit is contained in:
Sakooooo 2023-07-05 21:32:26 +03:00
parent 4de93d65a1
commit fc53a22506
Signed by: sako
GPG key ID: 3FD715D87D7725E0
2 changed files with 24 additions and 2 deletions

View file

@ -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/nixos>
home-manager.nixosModules.default
./modules
];

22
flake.nix Normal file
View file

@ -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 ];
};
};
};
}