Add new host kuromi
and modularized hyprland
This commit is contained in:
@@ -6,6 +6,7 @@
|
||||
imports = [
|
||||
./hardware-configuration.nix
|
||||
../../nixos/desktop.nix
|
||||
../../nixos/hypr.nix
|
||||
];
|
||||
|
||||
hardware.graphics = {
|
||||
|
@@ -6,6 +6,7 @@
|
||||
imports = [
|
||||
./hardware-configuration.nix
|
||||
../../nixos/desktop.nix
|
||||
../../nixos/hypr.nix
|
||||
];
|
||||
|
||||
hardware.graphics = {
|
||||
|
17
hosts/kuromi/configuration.nix
Normal file
17
hosts/kuromi/configuration.nix
Normal file
@@ -0,0 +1,17 @@
|
||||
# Edit this configuration file to define what should be installed on
|
||||
# your system. Help is available in the configuration.nix(5) man page
|
||||
# and in the NixOS manual (accessible by running ‘nixos-help’).
|
||||
|
||||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
imports =
|
||||
[ # Include the results of the hardware scan.
|
||||
./hardware-configuration.nix
|
||||
../../nixos/desktop.nix
|
||||
];
|
||||
|
||||
networking.hostName = "kuromi";
|
||||
|
||||
system.stateVersion = "25.05";
|
||||
}
|
40
hosts/kuromi/hardware-configuration.nix
Normal file
40
hosts/kuromi/hardware-configuration.nix
Normal file
@@ -0,0 +1,40 @@
|
||||
# Do not modify this file! It was generated by ‘nixos-generate-config’
|
||||
# and may be overwritten by future invocations. Please make changes
|
||||
# to /etc/nixos/configuration.nix instead.
|
||||
{ config, lib, pkgs, modulesPath, ... }:
|
||||
|
||||
{
|
||||
imports =
|
||||
[ (modulesPath + "/installer/scan/not-detected.nix")
|
||||
];
|
||||
|
||||
boot.initrd.availableKernelModules = [ "xhci_pci" "nvme" "usbhid" "usb_storage" "sd_mod" "sdhci_pci" ];
|
||||
boot.initrd.kernelModules = [ ];
|
||||
boot.kernelModules = [ "kvm-intel" ];
|
||||
boot.extraModulePackages = [ ];
|
||||
|
||||
fileSystems."/" =
|
||||
{ device = "/dev/disk/by-uuid/612f8704-c020-4188-85a7-27127e9b9ff2";
|
||||
fsType = "btrfs";
|
||||
options = [ "subvol=@" ];
|
||||
};
|
||||
|
||||
fileSystems."/boot" =
|
||||
{ device = "/dev/disk/by-uuid/2211-57BE";
|
||||
fsType = "vfat";
|
||||
options = [ "fmask=0077" "dmask=0077" ];
|
||||
};
|
||||
|
||||
swapDevices = [ ];
|
||||
|
||||
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
|
||||
# (the default) this is the recommended approach. When using systemd-networkd it's
|
||||
# still possible to use this option, but it's recommended to use it in conjunction
|
||||
# with explicit per-interface declarations with `networking.interfaces.<interface>.useDHCP`.
|
||||
networking.useDHCP = lib.mkDefault true;
|
||||
# networking.interfaces.eno0.useDHCP = lib.mkDefault true;
|
||||
# networking.interfaces.wlp2s0.useDHCP = lib.mkDefault true;
|
||||
|
||||
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
||||
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
||||
}
|
12
hosts/kuromi/home.nix
Normal file
12
hosts/kuromi/home.nix
Normal file
@@ -0,0 +1,12 @@
|
||||
{
|
||||
config,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
imports = [
|
||||
../../home/desktop.nix
|
||||
../../home/plasma.nix
|
||||
];
|
||||
|
||||
home.stateVersion = "25.05";
|
||||
}
|
Reference in New Issue
Block a user