From 925fb31cefc390e23ef144384d3990612786c576 Mon Sep 17 00:00:00 2001 From: iFargle Date: Thu, 24 Aug 2023 19:14:42 +0900 Subject: [PATCH] Update swaylock and add vscodium --- home-manager/common/software/gui/thunderbird.nix | 2 +- home-manager/common/software/gui/vscodium.nix | 11 +++++++++++ home-manager/default.nix | 1 + .../nixos-laptop/desktops/hyprland/swaylock-conf.nix | 2 +- nixos/common/desktops/gnome/default.nix | 2 +- nixos/users/albert/desktop.nix | 1 + 6 files changed, 16 insertions(+), 3 deletions(-) create mode 100644 home-manager/common/software/gui/vscodium.nix diff --git a/home-manager/common/software/gui/thunderbird.nix b/home-manager/common/software/gui/thunderbird.nix index 1bf9cba0..e4ec6268 100644 --- a/home-manager/common/software/gui/thunderbird.nix +++ b/home-manager/common/software/gui/thunderbird.nix @@ -1,4 +1,4 @@ -{ ... }: { +{ config, pkgs, ... }: { programs.thunderbird = { enable = true; }; diff --git a/home-manager/common/software/gui/vscodium.nix b/home-manager/common/software/gui/vscodium.nix new file mode 100644 index 00000000..ae8db5bb --- /dev/null +++ b/home-manager/common/software/gui/vscodium.nix @@ -0,0 +1,11 @@ +{ config, pkgs, ... }: { + programs.vscode = { + enable = true; + package = pkgs.vscodium; + extensions = with pkgs.vscode-extensions; [ + waderyan.gitblame + vscodevim.vim + + ]; + }; +} \ No newline at end of file diff --git a/home-manager/default.nix b/home-manager/default.nix index 4db8d445..4eb9d5cf 100644 --- a/home-manager/default.nix +++ b/home-manager/default.nix @@ -21,6 +21,7 @@ ] ++ lib.optional (builtins.isString desktop) ./common/software/gui/firefox.nix # ++ lib.optional (builtins.isString desktop) ./common/software/gui/thunderbird.nix + ++ lib.optional (builtins.isString desktop) ./common/software/gui/vscodium.nix ++ lib.optional (builtins.isString desktop) ./hosts/${hostname}/desktops/${desktop}; # Machine-specific desktop configs nixpkgs = { diff --git a/home-manager/hosts/nixos-laptop/desktops/hyprland/swaylock-conf.nix b/home-manager/hosts/nixos-laptop/desktops/hyprland/swaylock-conf.nix index 0f8d02ca..d69b84e9 100644 --- a/home-manager/hosts/nixos-laptop/desktops/hyprland/swaylock-conf.nix +++ b/home-manager/hosts/nixos-laptop/desktops/hyprland/swaylock-conf.nix @@ -8,7 +8,7 @@ font-size = 96; show-failed-attempts = true; effect-blur = "80x4"; - effect-vignette = "0.9:0.9"; + # effect-vignette = "0.9:0.9"; screenshots = true; clock = true; diff --git a/nixos/common/desktops/gnome/default.nix b/nixos/common/desktops/gnome/default.nix index 4c52c87e..5243dbd1 100644 --- a/nixos/common/desktops/gnome/default.nix +++ b/nixos/common/desktops/gnome/default.nix @@ -36,7 +36,7 @@ }; # Set Gnome settings: - services.gnome = { + services.gnome = { games.enable = false; core-utilities.enable = true; gnome-remote-desktop.enable = true; diff --git a/nixos/users/albert/desktop.nix b/nixos/users/albert/desktop.nix index 08630f58..fc489b1d 100644 --- a/nixos/users/albert/desktop.nix +++ b/nixos/users/albert/desktop.nix @@ -6,6 +6,7 @@ steam lutris vlc + vscodium ]; imports = [