From 3438f4392eb3ec57a1f26a6838e71d3c9569ec9b Mon Sep 17 00:00:00 2001 From: Gabriel Arazas Date: Thu, 9 Jun 2022 13:00:07 +0800 Subject: [PATCH] profiles: update various profiles --- modules/home-manager/profiles/dev.nix | 8 +++++++- modules/nixos/profiles/dev.nix | 5 ++++- modules/nixos/profiles/system.nix | 6 +++--- 3 files changed, 14 insertions(+), 5 deletions(-) diff --git a/modules/home-manager/profiles/dev.nix b/modules/home-manager/profiles/dev.nix index e6426cf5..5a2a2eba 100644 --- a/modules/home-manager/profiles/dev.nix +++ b/modules/home-manager/profiles/dev.nix @@ -42,7 +42,13 @@ in { # Enable Starship prompt. programs.starship = { enable = true; - settings = { add_newline = false; }; + settings = { + add_newline = false; + hostname = { + ssh_only = false; + trim_at = ""; + }; + }; }; }) diff --git a/modules/nixos/profiles/dev.nix b/modules/nixos/profiles/dev.nix index 39a3089f..ade1a40c 100644 --- a/modules/nixos/profiles/dev.nix +++ b/modules/nixos/profiles/dev.nix @@ -75,7 +75,10 @@ in { # !!! Please add your user to the "libvirtd" group. (lib.mkIf cfg.virtualization.enable { # virt-manager as my frontend. - environment.systemPackages = [ pkgs.virt-manager ]; + environment.systemPackages = with pkgs; [ + distrobox + virt-manager + ]; # Enable podman just as my main container runtime or something. virtualisation.podman = { diff --git a/modules/nixos/profiles/system.nix b/modules/nixos/profiles/system.nix index 4da058d8..d6f776bc 100644 --- a/modules/nixos/profiles/system.nix +++ b/modules/nixos/profiles/system.nix @@ -45,6 +45,9 @@ in { nix-index nix-index-update ]; + + # Enable running GNOME apps outside GNOME. + programs.dconf.enable = true; }) (lib.mkIf cfg.audio.enable { @@ -64,9 +67,6 @@ in { pulse.enable = true; jack.enable = true; }; - - # Enable running GNOME apps outside GNOME. - programs.dconf.enable = true; }) (lib.mkIf cfg.fonts.enable {