From 23d37d413b459870b4cddded5c2b3b5b1e52f63f Mon Sep 17 00:00:00 2001 From: Peder Bergebakken Sundt Date: Sat, 14 Oct 2023 18:32:30 +0200 Subject: [PATCH] factor out lxterminal --- users/pbsds/home/profiles/desktop.nix | 4 ++++ users/pbsds/home/profiles/gnome/default.nix | 2 -- users/pbsds/home/profiles/lxterminal/default.nix | 5 +++++ .../home/{files => profiles/lxterminal}/lxterminal.conf | 0 4 files changed, 9 insertions(+), 2 deletions(-) create mode 100644 users/pbsds/home/profiles/lxterminal/default.nix rename users/pbsds/home/{files => profiles/lxterminal}/lxterminal.conf (100%) diff --git a/users/pbsds/home/profiles/desktop.nix b/users/pbsds/home/profiles/desktop.nix index 2641657..ce4d015 100644 --- a/users/pbsds/home/profiles/desktop.nix +++ b/users/pbsds/home/profiles/desktop.nix @@ -2,6 +2,10 @@ { + imports = [ + ./lxterminal + ]; + nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [ "discord" "telegra-desktop" diff --git a/users/pbsds/home/profiles/gnome/default.nix b/users/pbsds/home/profiles/gnome/default.nix index 2394c12..761bbb6 100644 --- a/users/pbsds/home/profiles/gnome/default.nix +++ b/users/pbsds/home/profiles/gnome/default.nix @@ -4,7 +4,6 @@ home.file.".local/opt/open-microsoft-url-files.py".source = ../../files/opt/open-microsoft-url-files.py; home.file.".local/opt/python-interactive-imports.py".source = ../../files/opt/python-interactive-imports.py; home.file.".local/opt/sympy-interactive-imports.py".source = ../../files/opt/sympy-interactive-imports.py; - home.file.".config/lxterminal/lxterminal.conf".source = ../../files/lxterminal.conf; imports = [ ./dconf-gnome-bindings.nix @@ -13,7 +12,6 @@ ]; home.packages = with pkgs; [ - lxterminal gnome.gnome-tweaks pkgs.vimix-gtk-themes # shell theme gnomeExtensions.big-avatar diff --git a/users/pbsds/home/profiles/lxterminal/default.nix b/users/pbsds/home/profiles/lxterminal/default.nix new file mode 100644 index 0000000..78676df --- /dev/null +++ b/users/pbsds/home/profiles/lxterminal/default.nix @@ -0,0 +1,5 @@ +{ pkgs, ... }: +{ + home.packages = with pkgs; [ lxterminal ]; + home.file.".config/lxterminal/lxterminal.conf".source = ./lxterminal.conf; +} diff --git a/users/pbsds/home/files/lxterminal.conf b/users/pbsds/home/profiles/lxterminal/lxterminal.conf similarity index 100% rename from users/pbsds/home/files/lxterminal.conf rename to users/pbsds/home/profiles/lxterminal/lxterminal.conf