diff --git a/hosts/laptop/configuration.nix b/hosts/laptop/configuration.nix index 5ec17ba..1d25772 100644 --- a/hosts/laptop/configuration.nix +++ b/hosts/laptop/configuration.nix @@ -46,15 +46,23 @@ # Enable the GNOME Desktop Environment. services.xserver.displayManager.gdm.enable = true; services.xserver.desktopManager.gnome.enable = true; + hardware.sensor.iio.enable = true; + networking.hostName = "laptop"; # Define your hostname. + services.fwupd.enable = true; # Enable CUPS to print documents. services.printing.enable = true; services.fprintd.enable = true; - services.auto-cpufreq.enable = true; + services.tlp.enable = true; services.thermald.enable = true; powerManagement.powertop.enable = true; powerManagement.enable = true; + virtualisation.podman = { + enable = true; + dockerCompat = true; + }; + # Enable sound with pipewire. sound.enable = true; hardware.pulseaudio.enable = false; diff --git a/hosts/laptop/hardware-configuration.nix b/hosts/laptop/hardware-configuration.nix index 7ec1f98..682c013 100644 --- a/hosts/laptop/hardware-configuration.nix +++ b/hosts/laptop/hardware-configuration.nix @@ -14,7 +14,7 @@ boot.extraModulePackages = [ ]; hardware.opengl.driSupport32Bit = true; - services.fwupd.enable = true; + fileSystems."/" = { device = "/dev/disk/by-uuid/9c2b187e-a9db-48f1-adce-dd9311675223"; @@ -41,12 +41,10 @@ nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; - hardware.sensor.iio.enable = true; # Bootloader. boot.loader.systemd-boot.enable = true; boot.loader.efi.canTouchEfiVariables = true; - boot.initrd.luks.devices."luks-4d1ff260-d134-4b6c-80ef-5f5b74c87988".device = "/dev/disk/by-uuid/4d1ff260-d134-4b6c-80ef-5f5b74c87988"; - networking.hostName = "laptop"; # Define your hostname. + } diff --git a/hosts/laptop/home.nix b/hosts/laptop/home.nix index d5b55d3..b4139c9 100644 --- a/hosts/laptop/home.nix +++ b/hosts/laptop/home.nix @@ -9,27 +9,17 @@ home.stateVersion = "23.11"; home.packages = [ - pkgs.emacs pkgs.neovim pkgs.firefox pkgs.keepassxc - pkgs.plan9port pkgs.syncthing pkgs.thunderbird pkgs.blender - pkgs.steam pkgs.discord - pkgs.htop + pkgs.btop pkgs.zip pkgs.spotify - - pkgs.clang-tools - - pkgs.texlive.combined.scheme-full - pkgs.ispell - - pkgs.ollama - pkgs.logseq + pkgs.distrobox ]; programs.git = {