diff --git a/configuration.nix b/configuration.nix index 3ee9881..19926fe 100644 --- a/configuration.nix +++ b/configuration.nix @@ -7,28 +7,11 @@ { imports = [ # Include the results of the hardware scan. - ./hardware-configuration.nix inputs.home-manager.nixosModules.default ]; - # Bootloader. - boot.loader.systemd-boot.enable = true; - boot.loader.efi.canTouchEfiVariables = true; - nix.settings.experimental-features = ["nix-command" "flakes"]; - networking.hostName = "EVA-01"; # Define your hostname. - # networking.wireless.enable = true; # Enables wireless support via wpa_supplicant. - - # Configure network proxy if necessary - # networking.proxy.default = "http://user:password@proxy:port/"; - # networking.proxy.noProxy = "127.0.0.1,localhost,internal.domain"; - - # Enable networking - networking.networkmanager.enable = true; - - virtualisation.docker.enable = true; - # Set your time zone. time.timeZone = "America/Los_Angeles"; @@ -51,50 +34,16 @@ # You can disable this if you're only using the Wayland session. services.xserver.enable = false; - # Enable the KDE Plasma Desktop Environment. - services.displayManager.sddm.enable = true; - services.displayManager.sddm.wayland.enable = true; - services.desktopManager.plasma6.enable = true; - services.tailscale.enable = true; - services.fprintd.enable = true; - services.fprintd.tod.enable = true; - services.fprintd.tod.driver = pkgs.libfprint-2-tod1-goodix; - # Configure keymap in X11 services.xserver.xkb = { layout = "us"; variant = ""; }; - # Enable CUPS to print documents. services.printing.enable = false; - # Enable sound with pipewire. - hardware.pulseaudio.enable = false; - #hardware.pulseaudio = { - # enable = true; - # package = pkgs.pulseaudioFull; - #}; - hardware.bluetooth.enable = true; - security.rtkit.enable = true; - services.pipewire = { - enable = true; - alsa.enable = true; - alsa.support32Bit = true; - pulse.enable = true; - # If you want to use JACK applications, uncomment this - #jack.enable = true; - - # use the example session manager (no others are packaged yet so this is enabled by default, - # no need to redefine it in your config for now) - #media-session.enable = true; - }; - - # Enable touchpad support (enabled default in most desktopManager). - # services.xserver.libinput.enable = true; - # Define a user account. Don't forget to set a password with ‘passwd’. programs.zsh.enable = true; users.users.rogueking = { @@ -102,65 +51,28 @@ description = "rogueking"; extraGroups = [ "networkmanager" "wheel" "docker" ]; shell = pkgs.zsh; - #packages = [ inputs.home-manager.packages.${pkgs.system}.default ]; - packages = with pkgs; [ - bat - brave - btop - kdePackages.kate - localsend - neovim - tldr - vesktop - # thunderbird - ]; }; - # Install firefox. - programs.firefox.enable = true; - # Allow unfree packages nixpkgs.config.allowUnfree = true; - security.polkit.enable = true; - programs._1password.enable = true; - programs._1password-gui = { - enable = true; - # Certain features, including CLI integration and system authentication support, - # require enabling PolKit integration on some desktop environments (e.g. Plasma). - polkitPolicyOwners = [ "rogueking" ]; - }; - - # Enable OpenSSH daemon services.openssh.enable = true; # List packages installed in system profile. To search, run: # $ nix search wget environment.systemPackages = with pkgs; [ - #apps - fprintd - jellyfin-media-player - kdePackages.bluedevil - kdePackages.bluez-qt - kdePackages.kdeconnect-kde - kdePackages.oxygen-sounds - kdePackages.partitionmanager - moonlight-qt - obsidian - prismlauncher - qFlipper - remmina - vesktop - wireshark #cli tools android-tools + bat + btop metasploit nettools nmap oh-my-zsh openssh thefuck + tldr tlp unzip vim diff --git a/hardware-configuration.nix b/hardware-configuration.nix deleted file mode 100644 index f9bdbe6..0000000 --- a/hardware-configuration.nix +++ /dev/null @@ -1,38 +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" "thunderbolt" "nvme" "uas" "sd_mod" ]; - boot.initrd.kernelModules = [ ]; - boot.kernelModules = [ "kvm-intel" ]; - boot.extraModulePackages = [ ]; - - fileSystems."/" = - { device = "/dev/disk/by-uuid/0ec1b4fd-ca0f-4938-a038-37a69ec00b21"; - fsType = "ext4"; - }; - - fileSystems."/boot" = - { device = "/dev/disk/by-uuid/2066-E44D"; - fsType = "vfat"; - options = [ "fmask=0077" "dmask=0077" ]; - }; - - 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 - # 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.wlp0s20f3.useDHCP = lib.mkDefault true; - - nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; - hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; -}