removed unneeded 'config'

This commit is contained in:
Kristian Krsnik 2023-09-25 01:29:53 +02:00
parent 98730fbfee
commit 331c1b5d81
Signed by: Kristian
GPG Key ID: FD1330AC9F909E85
13 changed files with 120 additions and 123 deletions

View File

@ -1,5 +1,5 @@
{...}: { {...}: {
config.programs.bash = { programs.bash = {
enable = true; enable = true;
initExtra = '' initExtra = ''

View File

@ -1,5 +1,5 @@
{...}: { {...}: {
config.programs.direnv = { programs.direnv = {
enable = true; enable = true;
nix-direnv.enable = true; nix-direnv.enable = true;

View File

@ -1,5 +1,5 @@
{config, ...}: { {config, ...}: {
config.programs.firefox = { programs.firefox = {
enable = true; enable = true;
profiles.kristian = { profiles.kristian = {

View File

@ -1,9 +1,7 @@
{pkgs, ...}: { {pkgs, ...}: {
config = {
fonts.fontconfig.enable = true; fonts.fontconfig.enable = true;
home.packages = with pkgs; [ home.packages = with pkgs; [
nerdfonts nerdfonts
]; ];
};
} }

View File

@ -1,13 +1,15 @@
{...}: { {...}: {
config.programs.git = rec { programs.git = rec {
enable = true; enable = true;
userName = "Kristian Krsnik"; userName = "Kristian Krsnik";
userEmail = "git@krsnik.at"; userEmail = "git@krsnik.at";
signing = { signing = {
key = userEmail; key = userEmail;
signByDefault = true; signByDefault = true;
}; };
extraConfig = { extraConfig = {
init.defaultBranch = "main"; init.defaultBranch = "main";
}; };

View File

@ -3,7 +3,6 @@
wallpaper, wallpaper,
... ...
}: { }: {
config = {
home.packages = with pkgs.gnomeExtensions; [ home.packages = with pkgs.gnomeExtensions; [
quick-settings-audio-panel quick-settings-audio-panel
tray-icons-reloaded tray-icons-reloaded
@ -97,5 +96,4 @@
show-notifications = false; show-notifications = false;
}; };
}; };
};
} }

View File

@ -1,6 +1,6 @@
{...}: { {...}: {
config = {
programs.gpg.enable = true; programs.gpg.enable = true;
services.gpg-agent = { services.gpg-agent = {
enable = true; enable = true;
@ -25,5 +25,4 @@
Type=Application Type=Application
Hidden=true Hidden=true
''; '';
};
} }

View File

@ -1,5 +1,5 @@
{...}: { {...}: {
config.programs.mpv = { programs.mpv = {
enable = true; enable = true;
bindings = let bindings = let
volume-step = "5"; volume-step = "5";

View File

@ -3,7 +3,7 @@
lib, lib,
... ...
}: { }: {
config.nixpkgs.config = { nixpkgs.config = {
allowUnfree = false; allowUnfree = false;
allowUnfreePredicate = pkg: allowUnfreePredicate = pkg:
@ -15,7 +15,7 @@
]; ];
}; };
config.home.packages = with pkgs; [ home.packages = with pkgs; [
# Basic utils # Basic utils
unzip unzip
magic-wormhole magic-wormhole

View File

@ -1,5 +1,5 @@
{...}: { {...}: {
config.programs.thunderbird = { programs.thunderbird = {
enable = true; enable = true;
profiles.kristian = { profiles.kristian = {

View File

@ -1,5 +1,5 @@
{pkgs, ...}: { {pkgs, ...}: {
config.programs.vscode = { programs.vscode = {
enable = true; enable = true;
enableUpdateCheck = false; enableUpdateCheck = false;

View File

@ -1,11 +1,11 @@
{...}: { {...}: {
config.targets.genericLinux.enable = false; targets.genericLinux.enable = false;
config.programs.bash.shellAliases = { programs.bash.shellAliases = {
hms = "home-manager switch --flake $HOME/.config/home-manager#laptop"; hms = "home-manager switch --flake $HOME/.config/home-manager#laptop";
}; };
config.dconf.settings = { dconf.settings = {
"org/gnome/settings-daemon/plugins/power" = { "org/gnome/settings-daemon/plugins/power" = {
sleep-inactive-ac-type = "suspend"; sleep-inactive-ac-type = "suspend";
power-button-action = "hibernate"; power-button-action = "hibernate";

View File

@ -1,11 +1,11 @@
{...}: { {...}: {
config.targets.genericLinux.enable = false; targets.genericLinux.enable = false;
config.programs.bash.shellAliases = { programs.bash.shellAliases = {
hms = "home-manager switch --flake $HOME/.config/home-manager#pc"; hms = "home-manager switch --flake $HOME/.config/home-manager#pc";
}; };
config.dconf.settings = { dconf.settings = {
"org/gnome/settings-daemon/plugins/power" = { "org/gnome/settings-daemon/plugins/power" = {
sleep-inactive-ac-type = "nothing"; # Automatic suspend/hibernation creates a suspend/hibernation loop sleep-inactive-ac-type = "nothing"; # Automatic suspend/hibernation creates a suspend/hibernation loop
power-button-action = "suspend"; power-button-action = "suspend";