(orexin) fixes

This commit is contained in:
ArgentumCation 2024-07-31 19:36:01 -04:00
parent 51c481f827
commit 6f2dbac7da
3 changed files with 26 additions and 7 deletions

View file

@ -83,7 +83,7 @@
./orexin/configuration.nix ./orexin/configuration.nix
./orexin/hardware-configuration.nix ./orexin/hardware-configuration.nix
]; ];
} };
gastrin = nixos-unstable.lib.nixosSystem { gastrin = nixos-unstable.lib.nixosSystem {
system = "x86_64-linux"; system = "x86_64-linux";
specialArgs = { specialArgs = {

View file

@ -24,7 +24,7 @@
interfaces.enp59s0.ipv4.addresses = [ interfaces.enp59s0.ipv4.addresses = [
{address = "192.168.1.77"; {address = "192.168.1.77";
prefixLength = 24; prefixLength = 24;
}; }
]; ];
}; };
@ -36,15 +36,36 @@
# wget # wget
# ]; # ];
users = {
users = {
dockremap = {
isSystemUser = true;
uid = 100000;
group = "dockremap";
subUidRanges = [
{
startUid = 100000;
count = 65536;
}
];
subGidRanges = [
{
startGid = 100000;
count = 65536;
}
];
};
};
};
# Some programs need SUID wrappers, can be configured further or are # Some programs need SUID wrappers, can be configured further or are
# started in user sessions. # started in user sessions.
# programs.mtr.enable = true; # programs.mtr.enable = true;
# programs. # programs.
programs = { programs = {
gnupg.agent = { gnupg.agent = {
# enable = true; enable = true;
# enableSSHSupport = true; enableSSHSupport = true;
# }; };
nh = { nh = {
enable = true; enable = true;
@ -92,4 +113,3 @@
system.stateVersion = "24.05"; # Did you read the comment? system.stateVersion = "24.05"; # Did you read the comment?
} }

View file

@ -52,7 +52,6 @@
networking.useDHCP = lib.mkDefault true; networking.useDHCP = lib.mkDefault true;
# networking.interfaces.enp59s0.useDHCP = lib.mkDefault true; # networking.interfaces.enp59s0.useDHCP = lib.mkDefault true;
services.btrfs.autoScrub.enable = true; services.btrfs.autoScrub.enable = true;
networking.useDHCP = true;
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
} }