From c2d03922a5363fb0711c8c045710ce5f32231250 Mon Sep 17 00:00:00 2001 From: randomuser Date: Tue, 1 Aug 2023 15:39:35 -0500 Subject: [PATCH] minor changes, new machine --- desktop.nix | 9 ++++++--- mlg.nix | 20 ++++++++++++++++++++ 2 files changed, 26 insertions(+), 3 deletions(-) create mode 100644 mlg.nix diff --git a/desktop.nix b/desktop.nix index 948a0a4..859804a 100644 --- a/desktop.nix +++ b/desktop.nix @@ -31,7 +31,6 @@ in { environment.systemPackages = with pkgs; [ sx fzy - gnupg xclip xcape polybar @@ -52,6 +51,7 @@ in { ledger remind python3 + pinentry-curses ungoogled-chromium discord @@ -67,7 +67,7 @@ in { programs.gnupg.agent = { enable = true; - pinentryFlavor = "curses"; + pinentryFlavor = "gtk2"; enableSSHSupport = true; }; @@ -198,7 +198,10 @@ in { environment.etc = { "profile.local" = { - text = "source $HOME/.config/bash/profile"; + text = "source /home/usr/.config/bash/profile"; + }; + "bashrc.local" = { + text = "source /home/usr/.config/bash/bashrc"; }; }; diff --git a/mlg.nix b/mlg.nix new file mode 100644 index 0000000..1531ea7 --- /dev/null +++ b/mlg.nix @@ -0,0 +1,20 @@ +{ lib, config, pkgs, ...}: + +{ + imports = [ + ./desktop.nix + ]; + + boot.loader = { + efi = { + canTouchEfiVariables = true; + efiSysMountPoint = "/boot/efi"; + }; + grub = { + efiSupport = true; + device = "nodev"; + }; + }; + + networking.hostName = "mlg"; +}