summaryrefslogtreecommitdiff
path: root/nixos
diff options
context:
space:
mode:
authortriethyl <triethylammonium@pm.me>2025-09-02 13:50:49 -0400
committertriethyl <triethylammonium@pm.me>2025-09-02 13:50:49 -0400
commitce6edbe1ce9eb9ac39a7072da8038831feb1f797 (patch)
tree0cd2fa232f81d05956711f2f45c9323258f322b1 /nixos
parent5f9ae590ed12d7d52385d5bc9767297ca77a6d88 (diff)
removed ideapad-laptop
Diffstat (limited to 'nixos')
-rw-r--r--nixos/systems/ideapad-laptop/hardware.nix39
-rw-r--r--nixos/systems/ideapad-laptop/system.nix66
2 files changed, 0 insertions, 105 deletions
diff --git a/nixos/systems/ideapad-laptop/hardware.nix b/nixos/systems/ideapad-laptop/hardware.nix
deleted file mode 100644
index 1065266..0000000
--- a/nixos/systems/ideapad-laptop/hardware.nix
+++ /dev/null
@@ -1,39 +0,0 @@
-# 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" "vmd" "ahci" "nvme" "usb_storage" "sd_mod" ];
- boot.initrd.kernelModules = [ ];
- boot.kernelModules = [ "kvm-intel" ];
- boot.extraModulePackages = [ ];
-
- fileSystems."/" =
- { device = "/dev/disk/by-uuid/dd1662e3-37b4-440b-b3b0-35b625474fb6";
- fsType = "ext4";
- };
-
- fileSystems."/boot" =
- { device = "/dev/disk/by-uuid/F073-F061";
- fsType = "vfat";
- };
-
- swapDevices =
- [ { device = "/dev/disk/by-uuid/9e96739b-9983-44fe-ab97-9b59e55aa942"; }
- ];
-
- # 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.wlp0s20f3.useDHCP = lib.mkDefault true;
-
- nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
- hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
-}
diff --git a/nixos/systems/ideapad-laptop/system.nix b/nixos/systems/ideapad-laptop/system.nix
deleted file mode 100644
index 9067924..0000000
--- a/nixos/systems/ideapad-laptop/system.nix
+++ /dev/null
@@ -1,66 +0,0 @@
-{config, ...}: {
- imports = [./hardware.nix];
-
- general-settings = {
- hostname = "ideapad-laptop";
- locale = "en_US.UTF-8";
- timezone = "America/New_York";
- stateVersion = "23.11";
- };
-
- age.secrets.lucas-user-password.file = ../../secrets/lucas-user-password.age;
-
- users.users."lucas" = {
- hashedPasswordFile = config.age.secrets.lucas-user-password.path;
- isNormalUser = true;
- description = "lucas";
- extraGroups = [
- "networkmanager"
- "wheel"
- "audio"
- "video"
- "libvirtd"
- ];
- };
-
- features = {
- gui = {
- apps = {
- steam.enable = true;
- # vmware.enable = true;
- };
- desktops = {
- niri.enable = true;
- };
- };
- cli = {
- shells.nushell.enable = true;
- utils = {
- nh = {
- enable = true;
- flake = "/home/lucas/Sync/setup";
- };
- };
- };
- services = {
- core.systemd-boot.enable = true;
- hardware = {
- bluetooth.enable = true;
- iwd.enable = true;
- pipewire.enable = true;
- };
- extra = {
- plymouth.enable = true;
- sddm.enable = true;
- syncthing-client = {
- enable = true;
- username = "lucas";
- };
- udisks2.enable = true;
- };
- bundles = {
- printing.enable = true;
- };
- };
- };
-}