finally on flake parts

just need to remove fup now
This commit is contained in:
Callum Leslie 2024-09-05 09:50:37 +01:00
parent 3b4057b366
commit 3c48de49f6
Signed by: cleslie
GPG key ID: D382C4AFEECEAA90
20 changed files with 206 additions and 123 deletions

View file

@ -2,10 +2,12 @@
config,
pkgs,
inputs,
self,
...
}: let
inherit (inputs.self.nixosModules) keys;
#inherit (self.nixosModules) keys;
in {
nixpkgs.hostPlatform = "x86_64-linux";
c.services.mesh = {
enable = true;
exitNode = false;
@ -13,7 +15,7 @@ in {
};
c.services.remote-deploy = {
enable = false;
keys = keys.c;
keys = config.keys.c;
};
time.timeZone = "Europe/London";
@ -22,7 +24,7 @@ in {
users.users.c = {
isNormalUser = true;
extraGroups = ["wheel" "networkmanager" "libvirtd" "dialout"];
openssh.authorizedKeys.keys = keys.c;
openssh.authorizedKeys.keys = config.keys.c;
shell = pkgs.fish;
packages = with pkgs; [];
};

View file

@ -1,4 +1,4 @@
{
{...}: {
virtualisation = {
libvirtd.enable = true;
podman = {

View file

@ -1,5 +1,5 @@
{inputs}: {
modules = [
{inputs, ...}: {
imports = [
./hardware-configuration.nix
./configuration.nix
./containers.nix
@ -9,7 +9,4 @@
./home.nix
./styling.nix
];
extraArgs = {};
specialArgs = {};
system = "x86_64-linux";
}

View file

@ -1,4 +1,4 @@
{
{...}: {
services.openssh = {
enable = true;
settings = {