diff --git a/flake.nix b/flake.nix index b1139f1..39dcf58 100644 --- a/flake.nix +++ b/flake.nix @@ -6,7 +6,7 @@ # By: tomoron +#+ +:+ +#+ # # +#+#+#+#+#+ +#+ # # Created: 2024/10/17 18:15:24 by tomoron #+# #+# # -# Updated: 2024/10/17 18:15:26 by tomoron ### ########.fr # +# Updated: 2024/10/17 18:45:14 by tomoron ### ########.fr # # # # **************************************************************************** # @@ -100,7 +100,7 @@ }; modules = [ ./home.nix - ./homes/laptop/laptop.nix + ./homes/laptop.nix ]; }; }; diff --git a/hardware-configuration.nix b/hardware-configuration.nix deleted file mode 100644 index 7510088..0000000 --- a/hardware-configuration.nix +++ /dev/null @@ -1,40 +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" "usb_storage" "usbhid" "sd_mod" ]; - boot.initrd.kernelModules = [ ]; - boot.kernelModules = [ "kvm-amd" ]; - boot.extraModulePackages = [ ]; - - fileSystems."/" = - { device = "/dev/disk/by-uuid/af670eba-263f-4800-a8d5-e1134e89a5c5"; - fsType = "ext4"; - }; - - fileSystems."/boot" = - { device = "/dev/disk/by-uuid/7DE9-B826"; - fsType = "vfat"; - options = [ "fmask=0022" "dmask=0022" ]; - }; - - swapDevices = - [ { device = "/dev/disk/by-uuid/019d9cf2-92f7-404c-af75-0cbc0f985aa7"; } - ]; - - # 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..useDHCP`. - networking.useDHCP = lib.mkDefault true; - # networking.interfaces.wlp2s0.useDHCP = lib.mkDefault true; - - nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; - hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; -} diff --git a/hardware-configuration.nix b/hardware-configuration.nix new file mode 120000 index 0000000..4dde6be --- /dev/null +++ b/hardware-configuration.nix @@ -0,0 +1 @@ +/etc/nixos/hardware-configuration.nix \ No newline at end of file diff --git a/homes/laptop/laptop.nix b/homes/laptop.nix similarity index 69% rename from homes/laptop/laptop.nix rename to homes/laptop.nix index 4782b1a..c32eac1 100644 --- a/homes/laptop/laptop.nix +++ b/homes/laptop.nix @@ -1,7 +1,7 @@ { config, lib, pkgs, ... }: { - imports = [ ../modules/game.nix ]; + imports = [ modules/game.nix ]; programs.alacritty.settings.font.size = 8; } diff --git a/homes/laptop/dotfiles/config/alacritty/alacritty.toml b/homes/laptop/dotfiles/config/alacritty/alacritty.toml deleted file mode 100644 index ac99060..0000000 --- a/homes/laptop/dotfiles/config/alacritty/alacritty.toml +++ /dev/null @@ -1,8 +0,0 @@ -[window] -opacity = 0.90 - -[env] -XTERM = "xterm-256color" - -[font] -size = 8