Enable flakes by default
This commit is contained in:
parent
ce6ae659f5
commit
f31f871108
17
system/pearbutter/boot-config.nix
Normal file
17
system/pearbutter/boot-config.nix
Normal file
|
@ -0,0 +1,17 @@
|
|||
{ pkgs, ... }:
|
||||
{
|
||||
nixpkgs.hostPlatform = "x86_64-freebsd";
|
||||
nixpkgs.config.freebsdBranch = "releng/14.0";
|
||||
|
||||
networking.hostName = "pearbutter";
|
||||
|
||||
fileSystems."/" = {
|
||||
device = "/dev/gpt/pearbutter-root";
|
||||
fsType = "ufs";
|
||||
};
|
||||
|
||||
fileSystems."/boot" = {
|
||||
device = "/dev/gpt/pearbutter-esp";
|
||||
fsType = "msdosfs";
|
||||
};
|
||||
}
|
|
@ -1,9 +1,6 @@
|
|||
{ pkgs, ... }:
|
||||
{
|
||||
nixpkgs.hostPlatform = "x86_64-freebsd";
|
||||
nixpkgs.config.freebsdBranch = "releng/14.0";
|
||||
|
||||
networking.hostName = "pearbutter";
|
||||
imports = [ ./boot-config.nix ];
|
||||
|
||||
users.users.artemis = {
|
||||
isNormalUser = true;
|
||||
|
@ -15,6 +12,14 @@
|
|||
services.sshd.enable = true;
|
||||
boot.loader.stand.enable = true;
|
||||
|
||||
nix.settings = {
|
||||
trusted-users = [ "@wheel" ];
|
||||
experimental-features = [
|
||||
"nix-command"
|
||||
"flakes"
|
||||
];
|
||||
};
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
gitMinimal
|
||||
htop
|
||||
|
@ -24,14 +29,4 @@
|
|||
vim
|
||||
zip
|
||||
];
|
||||
|
||||
fileSystems."/" = {
|
||||
device = "/dev/gpt/pearbutter-root";
|
||||
fsType = "ufs";
|
||||
};
|
||||
|
||||
fileSystems."/boot" = {
|
||||
device = "/dev/gpt/pearbutter-esp";
|
||||
fsType = "msdosfs";
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue