diff --git a/flake.nix b/flake.nix index e0e9f72..db13ee7 100644 --- a/flake.nix +++ b/flake.nix @@ -34,7 +34,6 @@ ./nixos/machines/tides/machine.nix ./home-manager/machines/wsl/home.nix ./home-manager/machines/crash/home.nix - ./home-manager/machines/tides/home.nix ./devshells/rust.nix ./devshells/idris2.nix ./devshells/raku.nix diff --git a/home-manager/machines/tides/home.nix b/home-manager/machines/tides/home.nix deleted file mode 100644 index b606199..0000000 --- a/home-manager/machines/tides/home.nix +++ /dev/null @@ -1,54 +0,0 @@ -{ - withSystem, - inputs, - ... -}: { - # perSystem = { ... }: { config.packages.hello = ...; }; - - flake.homeConfigurations.tides = withSystem "tides-linux" ( - ctx @ { - config, - inputs', - ... - }: - inputs.home-manager.lib.homeManagerConfiguration { - pkgs = inputs.nixpkgs.legacyPackages.${"x86_64-linux"}; - extraSpecialArgs = { - inherit inputs inputs'; - packages = config.packages; - }; - modules = [ - ( - { - config, - lib, - pkgs, - ... - }: { - imports = [ - ../../modules/programs/shell.nix - ../../modules/programs/neovim.nix - (import ../../modules/programs/git.nix {}) - ../../modules/programs/core.nix - ../../modules/programs/ssh.nix - ]; - home.username = "nathan"; - home.homeDirectory = "/home/nathan/"; - programs.command-not-found.enable = true; - home.stateVersion = "24.11"; - programs.home-manager.enable = true; - - # Allow unfree packages - nixpkgs.config.allowUnfree = true; - - # Machine specific configuration - services.emacs.defaultEditor = true; - - home.packages = with pkgs; [ - ]; - } - ) - ]; - } - ); -} diff --git a/nixos/machines/tides/hardware.nix b/nixos/machines/tides/hardware.nix index d5fb194..3d4f269 100644 --- a/nixos/machines/tides/hardware.nix +++ b/nixos/machines/tides/hardware.nix @@ -1,34 +1,30 @@ # 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, ... }: + { - config, - lib, - pkgs, - modulesPath, - ... -}: { - imports = [ - (modulesPath + "/profiles/qemu-guest.nix") - ]; + imports = + [ (modulesPath + "/profiles/qemu-guest.nix") + ]; - boot.initrd.availableKernelModules = ["xhci_pci" "virtio_scsi"]; - boot.initrd.kernelModules = []; - boot.kernelModules = []; - boot.extraModulePackages = []; + boot.initrd.availableKernelModules = [ "xhci_pci" "virtio_scsi" ]; + boot.initrd.kernelModules = [ ]; + boot.kernelModules = [ ]; + boot.extraModulePackages = [ ]; - fileSystems."/" = { - device = "/dev/disk/by-uuid/ebde67a3-7bb8-4453-953b-897440b1ced5"; - fsType = "ext4"; - }; + fileSystems."/" = + { device = "/dev/disk/by-uuid/ebde67a3-7bb8-4453-953b-897440b1ced5"; + fsType = "ext4"; + }; - fileSystems."/boot" = { - device = "/dev/disk/by-uuid/9119-BB6A"; - fsType = "vfat"; - options = ["fmask=0022" "dmask=0022"]; - }; + fileSystems."/boot" = + { device = "/dev/disk/by-uuid/9119-BB6A"; + fsType = "vfat"; + options = [ "fmask=0022" "dmask=0022" ]; + }; - swapDevices = []; + 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 diff --git a/nixos/machines/tides/machine.nix b/nixos/machines/tides/machine.nix index 3488064..ce39405 100644 --- a/nixos/machines/tides/machine.nix +++ b/nixos/machines/tides/machine.nix @@ -5,7 +5,7 @@ }: { # perSystem = { ... }: { config.packages.hello = ...; }; - flake.nixosConfigurations.tides = withSystem "aarch64-linux" ( + flake.nixosConfigurations.crash = withSystem "aarch64-linux" ( ctx @ { config, inputs', diff --git a/nixos/modules/base.nix b/nixos/modules/base.nix index dcd7a4f..ad927e1 100644 --- a/nixos/modules/base.nix +++ b/nixos/modules/base.nix @@ -21,7 +21,6 @@ nix-index curl wget - just ]; system.stateVersion = "24.11";