diff options
Diffstat (limited to 'hosts/wonderland')
| -rw-r--r-- | hosts/wonderland/default.nix | 67 | ||||
| -rw-r--r-- | hosts/wonderland/hardware.nix | 47 | ||||
| -rw-r--r-- | hosts/wonderland/home.nix | 36 |
3 files changed, 0 insertions, 150 deletions
diff --git a/hosts/wonderland/default.nix b/hosts/wonderland/default.nix deleted file mode 100644 index 3b024c0..0000000 --- a/hosts/wonderland/default.nix +++ /dev/null @@ -1,67 +0,0 @@ -{ - pkgs, - flakeRoot, - inputs, - ... -}: -{ - imports = [ - # Include the results of the hardware scan. - ./hardware.nix - ./home.nix - (flakeRoot + /share/system/client-common.nix) - { - _module.args = { - inherit inputs; - }; - } - ]; - - programs.fish.enable = true; - users.defaultUserShell = pkgs.fish; - - # Use the systemd-boot EFI boot loader. - boot = { - loader.systemd-boot.enable = true; - loader.efi.canTouchEfiVariables = true; - initrd.kernelModules = [ "amdgpu" ]; - }; - - networking = { - hostName = "wonderland"; - wireless.iwd.enable = true; - }; - - time.timeZone = "Europe/Zagreb"; - i18n.defaultLocale = "en_US.UTF-8"; - - services.upower.enable = true; - hardware.bluetooth.enable = true; - - environment.shellAliases = { - battery-status = '' - upower -i $(upower -e | grep BAT) | grep -E "state|to full|percentage" - ''; - }; - - users.users = { - alice = { - isNormalUser = true; - extraGroups = [ - "wheel" - "video" - "network" - "podman" - ]; - }; - }; - nix.settings.trusted-users = [ "alice" ]; - - # This value determines the NixOS release from which the default - # settings for stateful data, like file locations and database versions - # on your system were taken. It‘s perfectly fine and recommended to leave - # this value at the release version of the first install of this system. - # Before changing this value read the documentation for this option - # (e.g. man configuration.nix or on https://nixos.org/nixos/options.html). - system.stateVersion = "22.05"; # Did you read the comment? -} diff --git a/hosts/wonderland/hardware.nix b/hosts/wonderland/hardware.nix deleted file mode 100644 index 8c7246a..0000000 --- a/hosts/wonderland/hardware.nix +++ /dev/null @@ -1,47 +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 = [ - "nvme" - "xhci_pci" - "ahci" - "usb_storage" - "sd_mod" - ]; - boot.initrd.kernelModules = [ ]; - boot.kernelModules = [ "kvm-amd" ]; - boot.extraModulePackages = [ ]; - - fileSystems."/" = { - device = "/dev/disk/by-uuid/fc1a2a05-efb0-45e7-83f2-2b9dae515b0a"; - fsType = "ext4"; - }; - - fileSystems."/boot" = { - device = "/dev/disk/by-uuid/FEB7-A352"; - fsType = "vfat"; - }; - - swapDevices = [ { device = "/dev/disk/by-uuid/f16d9af0-4043-4d39-a8d6-e788451f8e9e"; } ]; - - # 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.enp1s0.useDHCP = lib.mkDefault true; - # networking.interfaces.wlp2s0.useDHCP = lib.mkDefault true; - - hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; -} diff --git a/hosts/wonderland/home.nix b/hosts/wonderland/home.nix deleted file mode 100644 index 2cd6dd2..0000000 --- a/hosts/wonderland/home.nix +++ /dev/null @@ -1,36 +0,0 @@ -{ - flakeRoot, - inputs, - ... -}: -{ - home-manager = { - useGlobalPkgs = true; - useUserPackages = true; - sharedModules = [ - { - imports = [ - (flakeRoot + /share/cfg) - (flakeRoot + /share/cfg/senpai.nix) - ]; - } - ]; - extraSpecialArgs = { - inherit inputs; - }; - }; - - home-manager.users.alice = { - custom.hyprdesktop = { - enable = true; - hasBluetooth = true; - hasBrightnessCtl = true; - hasBattery = true; - enableGitAnnex = true; - }; - - home.stateVersion = "22.05"; - }; # End of users.alice - - home-manager.users.root.home.stateVersion = "22.05"; -} |
