feat: update desktop apps configuration
LibreOffice: bump versiont to newest Firefox: change to firefox-devedition Programs: reorganise config into special programs dir
This commit is contained in:
parent
1747a5ad81
commit
3685cf5abe
4 changed files with 38 additions and 37 deletions
|
@ -1,5 +1,3 @@
|
||||||
# his is your home-manager configuration file
|
|
||||||
# Use this to configure your home environment (it replaces ~/.config/nixpkgs/home.nix)
|
|
||||||
{
|
{
|
||||||
inputs,
|
inputs,
|
||||||
lib,
|
lib,
|
||||||
|
@ -7,13 +5,7 @@
|
||||||
pkgs,
|
pkgs,
|
||||||
...
|
...
|
||||||
}: {
|
}: {
|
||||||
# You can import other home-manager modules here
|
|
||||||
imports = [
|
imports = [
|
||||||
# If you want to use home-manager modules from other flakes (such as nix-colors):
|
|
||||||
# inputs.nix-colors.homeManagerModule
|
|
||||||
|
|
||||||
# You can also split up your configuration and import pieces of it here:
|
|
||||||
#./swaywm.nix
|
|
||||||
./hypr
|
./hypr
|
||||||
./shells
|
./shells
|
||||||
../../common/variables.nix
|
../../common/variables.nix
|
||||||
|
@ -26,20 +18,12 @@
|
||||||
./stylix.nix
|
./stylix.nix
|
||||||
./spicetify.nix
|
./spicetify.nix
|
||||||
./scripts
|
./scripts
|
||||||
|
./programs
|
||||||
];
|
];
|
||||||
|
|
||||||
nixpkgs = {
|
nixpkgs = {
|
||||||
# You can add overlays here
|
# You can add overlays here
|
||||||
overlays = [
|
overlays = [
|
||||||
# If you want to use overlays exported from other flakes:
|
|
||||||
# neovim-nightly-overlay.overlays.default
|
|
||||||
|
|
||||||
# Or define it inline, for example:
|
|
||||||
# (final: prev: {
|
|
||||||
# hi = final.hello.overrideAttrs (oldAttrs: {
|
|
||||||
# patches = [ ./change-hello-to-hi.patch ];
|
|
||||||
# });
|
|
||||||
# })
|
|
||||||
(final: prev: {
|
(final: prev: {
|
||||||
ags = prev.ags.overrideAttrs (old: {
|
ags = prev.ags.overrideAttrs (old: {
|
||||||
buildInputs = old.buildInputs ++ [pkgs.libdbusmenu-gtk3];
|
buildInputs = old.buildInputs ++ [pkgs.libdbusmenu-gtk3];
|
||||||
|
@ -71,12 +55,10 @@
|
||||||
tree
|
tree
|
||||||
zed-editor
|
zed-editor
|
||||||
rhythmbox
|
rhythmbox
|
||||||
#clash-verge-rev
|
|
||||||
vesktop
|
vesktop
|
||||||
qq
|
qq
|
||||||
libreoffice
|
libreoffice-fresh
|
||||||
discord
|
discord
|
||||||
#zathura
|
|
||||||
kdePackages.okular
|
kdePackages.okular
|
||||||
shotwell
|
shotwell
|
||||||
mpv
|
mpv
|
||||||
|
@ -93,7 +75,7 @@
|
||||||
];
|
];
|
||||||
myAutostartCommands = [
|
myAutostartCommands = [
|
||||||
#"${pkgs.clash-verge-rev}/bin/clash-verge"
|
#"${pkgs.clash-verge-rev}/bin/clash-verge"
|
||||||
"${pkgs.firefox}/bin/firefox"
|
"${config.programs.firefox.package}/bin/firefox"
|
||||||
"${pkgs.thunderbird}/bin/thunderbird"
|
"${pkgs.thunderbird}/bin/thunderbird"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
@ -103,25 +85,14 @@
|
||||||
plugins = [pkgs.obs-studio-plugins.wlrobs];
|
plugins = [pkgs.obs-studio-plugins.wlrobs];
|
||||||
};
|
};
|
||||||
home-manager.enable = true;
|
home-manager.enable = true;
|
||||||
firefox.enable = true;
|
firefox = {
|
||||||
|
enable = true;
|
||||||
|
package = pkgs.firefox-devedition;
|
||||||
|
};
|
||||||
thunderbird = {
|
thunderbird = {
|
||||||
enable = true;
|
enable = true;
|
||||||
profiles.default = {isDefault = true;};
|
profiles.default = {isDefault = true;};
|
||||||
};
|
};
|
||||||
git = {
|
|
||||||
enable = true;
|
|
||||||
package = pkgs.gitFull;
|
|
||||||
userName = config.myDisplayName;
|
|
||||||
userEmail = config.myEmail;
|
|
||||||
extraConfig = {
|
|
||||||
push.autoSetupRemote = true;
|
|
||||||
commit.gpgsign = true;
|
|
||||||
gpg.format = "ssh";
|
|
||||||
gpg.ssh.allowedSignersFile = "/home/${config.myUserName}/.ssh/allowed_signers";
|
|
||||||
user.signingkey = "/home/${config.myUserName}/.ssh/id_ed25519.pub";
|
|
||||||
credential.helper = "libsecret";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
# Nicely reload system units when changing configs
|
# Nicely reload system units when changing configs
|
||||||
systemd.user.startServices = "sd-switch";
|
systemd.user.startServices = "sd-switch";
|
||||||
|
|
|
@ -74,7 +74,6 @@
|
||||||
# Example volume button that allows press and hold, volume limited to 150%
|
# Example volume button that allows press and hold, volume limited to 150%
|
||||||
"$mod, Q, killactive"
|
"$mod, Q, killactive"
|
||||||
"$mod, D, exec, ${pkgs.fuzzel}/bin/fuzzel"
|
"$mod, D, exec, ${pkgs.fuzzel}/bin/fuzzel"
|
||||||
# firefox quickstart
|
|
||||||
"$mod, F, fullscreen"
|
"$mod, F, fullscreen"
|
||||||
"$mod, E, exec, ${pkgs.pcmanfm}/bin/pcmanfm"
|
"$mod, E, exec, ${pkgs.pcmanfm}/bin/pcmanfm"
|
||||||
# foot terminal
|
# foot terminal
|
||||||
|
|
10
home-manager/stvnliu/programs/default.nix
Normal file
10
home-manager/stvnliu/programs/default.nix
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
{
|
||||||
|
pkgs,
|
||||||
|
config,
|
||||||
|
lib,
|
||||||
|
...
|
||||||
|
}: {
|
||||||
|
imports = [
|
||||||
|
./git.nix
|
||||||
|
];
|
||||||
|
}
|
21
home-manager/stvnliu/programs/git.nix
Normal file
21
home-manager/stvnliu/programs/git.nix
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
{
|
||||||
|
pkgs,
|
||||||
|
config,
|
||||||
|
lib,
|
||||||
|
...
|
||||||
|
}: {
|
||||||
|
programs.git = {
|
||||||
|
enable = true;
|
||||||
|
package = pkgs.gitFull;
|
||||||
|
userName = config.myDisplayName;
|
||||||
|
userEmail = config.myEmail;
|
||||||
|
extraConfig = {
|
||||||
|
push.autoSetupRemote = true;
|
||||||
|
commit.gpgsign = true;
|
||||||
|
gpg.format = "ssh";
|
||||||
|
gpg.ssh.allowedSignersFile = "/home/${config.myUserName}/.ssh/allowed_signers";
|
||||||
|
user.signingkey = "/home/${config.myUserName}/.ssh/id_ed25519.pub";
|
||||||
|
credential.helper = "libsecret";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue