From a9aa0f896b4056ce3cd3ce18978851b36a6cde34 Mon Sep 17 00:00:00 2001 From: Daniel Flanagan Date: Wed, 2 Aug 2023 15:06:18 -0500 Subject: [PATCH] Workable nixos system on laptop --- os/linux/nix/daniel.nix | 2 ++ os/linux/nix/machines/thinker.nix | 17 +++++++++++++++-- 2 files changed, 17 insertions(+), 2 deletions(-) diff --git a/os/linux/nix/daniel.nix b/os/linux/nix/daniel.nix index 4e537a2..ae5a025 100644 --- a/os/linux/nix/daniel.nix +++ b/os/linux/nix/daniel.nix @@ -5,6 +5,8 @@ programs.home-manager.enable = true; + # TODO: firefox with userchrome + # wayland.windowManager.sway = { # enable = true; # }; diff --git a/os/linux/nix/machines/thinker.nix b/os/linux/nix/machines/thinker.nix index 7267635..f9b1d59 100644 --- a/os/linux/nix/machines/thinker.nix +++ b/os/linux/nix/machines/thinker.nix @@ -38,6 +38,8 @@ in { ./thinker-hardware.nix ]; + nix.settings.experimental-features = [ "nix-command" "flakes" ]; + # Use the systemd-boot EFI boot loader. boot.loader.systemd-boot.enable = true; boot.loader.efi.canTouchEfiVariables = true; @@ -141,18 +143,18 @@ in { exa fd feh - firefox + (firefox.override { extraNativeMessagingHosts = [ passff-host ]; }) fwupd gimp git git-lfs - gnupg grim helix hexyl htop inkscape iputils + killall kitty krita libinput @@ -163,6 +165,7 @@ in { nnn noto-fonts pamixer + (pass.withExtensions (exts: [ exts.pass-otp ])) pavucontrol playerctl pulsemixer @@ -170,6 +173,7 @@ in { restic ripgrep rsync + rtx sd skim slurp @@ -188,8 +192,17 @@ in { wofi xh zathura + zstd ]; + services.pcscd.enable = true; + services.gnome.gnome-keyring.enable = true; + programs.gnupg.agent = { + enable = true; + pinentryFlavor = "gnome3"; + enableSSHSupport = true; + }; + programs.thunar.enable = true; services.tailscale = {