mirror of
https://github.com/callumio/nixfiles.git
synced 2026-08-06 20:49:17 +01:00
partial host migrations to flake parts
This commit is contained in:
parent
1f779fff49
commit
091cfbdf96
13 changed files with 209 additions and 165 deletions
|
|
@ -2,30 +2,33 @@
|
|||
config,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
}:
|
||||
{
|
||||
nixpkgs.hostPlatform = "x86_64-linux";
|
||||
c.services.mesh = {
|
||||
enable = true;
|
||||
exitNode = false;
|
||||
keyFile = config.age.secrets.mesh-conf-cleslie.path;
|
||||
};
|
||||
c.services.remote-deploy = {
|
||||
enable = false;
|
||||
keys = config.keys.c;
|
||||
};
|
||||
|
||||
time.timeZone = "Europe/London";
|
||||
i18n.defaultLocale = "en_GB.UTF-8";
|
||||
|
||||
users.users.c = {
|
||||
isNormalUser = true;
|
||||
extraGroups = ["wheel" "networkmanager" "libvirtd" "dialout" "wireshark"];
|
||||
extraGroups = [
|
||||
"wheel"
|
||||
"networkmanager"
|
||||
"libvirtd"
|
||||
"dialout"
|
||||
"wireshark"
|
||||
];
|
||||
openssh.authorizedKeys.keys = config.keys.c;
|
||||
shell = pkgs.fish;
|
||||
packages = with pkgs; [];
|
||||
packages = with pkgs; [ ];
|
||||
};
|
||||
|
||||
nix.settings.trusted-users = ["c"];
|
||||
nix.settings.trusted-users = [ "c" ];
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
vim
|
||||
|
|
@ -44,13 +47,19 @@
|
|||
];
|
||||
|
||||
environment = {
|
||||
variables = {EDITOR = "nvim";};
|
||||
sessionVariables = {NIXOS_OZONE_WL = "1";};
|
||||
variables = {
|
||||
EDITOR = "nvim";
|
||||
};
|
||||
sessionVariables = {
|
||||
NIXOS_OZONE_WL = "1";
|
||||
};
|
||||
|
||||
shells = with pkgs; [fish];
|
||||
shells = with pkgs; [ fish ];
|
||||
};
|
||||
|
||||
fonts.packages = with pkgs; [meslo-lgs-nf] ++ builtins.filter lib.attrsets.isDerivation (builtins.attrValues pkgs.nerd-fonts);
|
||||
fonts.packages =
|
||||
with pkgs;
|
||||
[ meslo-lgs-nf ] ++ builtins.filter lib.attrsets.isDerivation (builtins.attrValues pkgs.nerd-fonts);
|
||||
services.udev.packages = [
|
||||
pkgs.platformio-core.udev
|
||||
pkgs.openocd
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue