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"; +}