add laptop2
nixos config pipeline / show-flake (push) Successful in 40s
nixos config pipeline / deploy (push) Successful in 1m13s

This commit is contained in:
smayzy
2026-04-04 10:26:03 +02:00
parent f929dd3e20
commit b73a6f488b
6 changed files with 71 additions and 1 deletions
+1
View File
@@ -10,6 +10,7 @@
laptop.enable = true;
hyprland.enable = true;
kde.enable = true;
grub-on-lap.enable = true;
};
home-manager = {
+29
View File
@@ -0,0 +1,29 @@
{ inputs, config, ... }:
{
imports = [
../common/common.nix
./hardware-configuration.nix
];
smayzy = {
laptop.enable = true;
hyprland.enable = true;
kde.enable = true;
};
home-manager = {
extraSpecialArgs = {
inherit inputs;
smayzy = config.smayzy;
};
users = {
smayzy = import ./home.nix;
};
backupFileExtension = "backup";
};
system.stateVersion = "24.11";
networking.hostName = "laptop2";
}
+33
View File
@@ -0,0 +1,33 @@
# 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" "usb_storage" "sd_mod" ];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-intel" ];
boot.extraModulePackages = [ ];
fileSystems."/" =
{ device = "/dev/disk/by-uuid/ceed0ac4-72b3-4050-b8a3-0b91aa845da0";
fsType = "ext4";
};
fileSystems."/boot" =
{ device = "/dev/disk/by-uuid/65F0-BF7E";
fsType = "vfat";
options = [ "fmask=0077" "dmask=0077" ];
};
swapDevices =
[ { device = "/dev/disk/by-uuid/3567a75d-12cc-4c3e-a37d-9b99708cbfea"; }
];
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
}
+7
View File
@@ -0,0 +1,7 @@
{ ... }:
{
imports = [
../common/home.nix
];
}