fixup! WIP: x13s: install to nvme, refactor into module

This commit is contained in:
steveej 2024-01-22 23:05:23 +01:00
parent ea13703ea0
commit 255ca68af5

View file

@ -11,7 +11,7 @@
{
imports = [
# repoFlake.inputs.sops-nix.nixosModules.sops
repoFlake.inputs.sops-nix.nixosModules.sops
nodeFlake.inputs.disko.nixosModules.disko
./disko.nix
@ -19,10 +19,7 @@
../../profiles/common/pkg.nix
{
# nixpkgs.config.allowUnsupportedSystem = true;
# flake registry
nix.registry.nixpkgs.flake = nodeFlake.inputs.nixpkgs;
@ -38,14 +35,13 @@
nix.settings.max-jobs = lib.mkDefault "auto";
}
# ../../profiles/common/user.nix
../../profiles/common/user.nix
{
services.openssh.enable = true;
services.openssh.settings.PermitRootLogin = "yes";
services.openssh.openFirewall = true;
# sops.defaultSopsFile = ../../../../secrets/${nodeName}/secrets.yaml;
# sops.defaultSopsFormat = "yaml";
@ -59,7 +55,7 @@
nodeFlake.inputs.home-manager.nixosModules.home-manager
# ../../snippets/sway-desktop.nix
../../snippets/sway-desktop.nix
# ../../snippets/radicale.nix
];
@ -78,7 +74,6 @@
# useNetworkd = true;
};
system.stateVersion = "23.11";
nixpkgs.config.allowUnfree = true;
@ -92,16 +87,17 @@
pkgs.git-crypt
];
# home-manager.users.steveej = _: {
# home.stateVersion = "23.11";
system.stateVersion = "23.11";
home-manager.users.steveej = _: {
home.stateVersion = "23.11";
# imports = [
# ../../../home-manager/configuration/graphical-fullblown.nix
# ];
imports = [
../../../home-manager/configuration/graphical-fullblown.nix
];
# home.sessionVariables = { };
home.sessionVariables = { };
# home.packages = with pkgs; [
# ];
# };
home.packages = with pkgs; [
];
};
}