Added a flake with no idea what I'm doing..
This commit is contained in:
11
flake.nix
Normal file
11
flake.nix
Normal 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;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
@@ -14,6 +14,8 @@
|
|||||||
"nixos-config=$HOME/dotfiles/system/configuration.nix"
|
"nixos-config=$HOME/dotfiles/system/configuration.nix"
|
||||||
"/nix/var/nix/profiles/per-user/root/channels"
|
"/nix/var/nix/profiles/per-user/root/channels"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
nix.settings.experimental-features = [ "nix-command" "flakes" ];
|
||||||
|
|
||||||
# Doas instead of sudo
|
# Doas instead of sudo
|
||||||
security.doas.enable = true;
|
security.doas.enable = true;
|
||||||
|
Reference in New Issue
Block a user