Added a flake with no idea what I'm doing..

This commit is contained in:
Emmet 2023-05-06 12:32:14 -05:00
parent 9ace96133e
commit 772a7cc7bb
2 changed files with 13 additions and 0 deletions

11
flake.nix Normal file
View file

@ -0,0 +1,11 @@
{
description = "A very basic flake";
outputs = { self, nixpkgs }: {
packages.x86_64-linux.hello = nixpkgs.legacyPackages.x86_64-linux.hello;
packages.x86_64-linux.default = self.packages.x86_64-linux.hello;
};
}

View file

@ -14,6 +14,8 @@
"nixos-config=$HOME/dotfiles/system/configuration.nix"
"/nix/var/nix/profiles/per-user/root/channels"
];
nix.settings.experimental-features = [ "nix-command" "flakes" ];
# Doas instead of sudo
security.doas.enable = true;