This commit is contained in:
kenji
2025-07-07 16:25:40 -05:00
parent ec55ac55b2
commit c97a5887df
3 changed files with 11 additions and 10 deletions
+9 -2
View File
@@ -3,6 +3,7 @@
myConfig,
inputs,
lib,
specialArgs,
...
}: {
imports = [
@@ -27,8 +28,10 @@
};
};
home-manager = {
backupFileExtension = "backup";
useGlobalPkgs = true;
useUserPackages = true;
extraSpecialArgs = specialArgs;
users.${myConfig.essentials.Username} = import ../../home/hakase.nix;
};
@@ -44,18 +47,21 @@
boot.loader = {
systemd-boot = lib.mkIf (myConfig.nixos.Boot.mode == "systemd") {
enable = false;
enable = true;
};
grub = lib.mkIf (myConfig.nixos.Boot.mode == "grub") {
efiSupport = true;
enable = true;
device = "nodev";
useOSProber = true;
};
efi = {
canTouchEfiVariables = true;
efiSysMountPoint = "/boot";
};
};
programs.ssh.extraConfig = myConfig.general.ssh.extraConfig;
programs.ssh.extraConfig = myConfig.optionals.Ssh.extraConfig;
programs.bash = {
interactiveShellInit = ''
@@ -104,6 +110,7 @@
};
networking = {
networkmanager.enable = true;
firewall = {
enable = false;
allowedTCPPorts = [22 80];