mirror of
https://github.com/willemml/dotfiles.nix.git
synced 2025-04-13 03:37:18 +00:00
Renames winbox to nixbox and sets hostname
This commit is contained in:
parent
ceeb569491
commit
8c2a147cd4
2 changed files with 3 additions and 9 deletions
|
@ -28,14 +28,6 @@
|
||||||
home-manager.users.willem = self.homeManagerModules.user-willem-linux;
|
home-manager.users.willem = self.homeManagerModules.user-willem-linux;
|
||||||
};
|
};
|
||||||
|
|
||||||
nixosModules.willem-hyprland = {...}: {
|
|
||||||
imports = [
|
|
||||||
inputs.home-manager.nixosModules.home-manager
|
|
||||||
self.nixosModules.homeManagerIntegration
|
|
||||||
];
|
|
||||||
home-manager.users.willem = self.homeManagerModules.user-willem-linux;
|
|
||||||
};
|
|
||||||
|
|
||||||
darwinModules.base = {...}: {
|
darwinModules.base = {...}: {
|
||||||
imports = [
|
imports = [
|
||||||
../../nixos/profiles/common.nix
|
../../nixos/profiles/common.nix
|
||||||
|
@ -52,7 +44,7 @@
|
||||||
modules = [
|
modules = [
|
||||||
self.nixosModules.base
|
self.nixosModules.base
|
||||||
self.nixosModules.willem-home
|
self.nixosModules.willem-home
|
||||||
../../nixos/hosts/winbox.nix
|
../../nixos/hosts/nixbox.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
specialArgs = {inherit inputs;};
|
specialArgs = {inherit inputs;};
|
||||||
|
|
|
@ -37,6 +37,8 @@
|
||||||
|
|
||||||
networking.useDHCP = lib.mkDefault true;
|
networking.useDHCP = lib.mkDefault true;
|
||||||
|
|
||||||
|
networking.hostName = "nixbox";
|
||||||
|
|
||||||
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
||||||
powerManagement.cpuFreqGovernor = lib.mkDefault "performance";
|
powerManagement.cpuFreqGovernor = lib.mkDefault "performance";
|
||||||
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
Loading…
Add table
Reference in a new issue