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;
initExtra = ''

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -1,5 +1,5 @@
{pkgs, ...}: {
config.programs.vscode = {
programs.vscode = {
enable = true;
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";
};
config.dconf.settings = {
dconf.settings = {
"org/gnome/settings-daemon/plugins/power" = {
sleep-inactive-ac-type = "suspend";
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";
};
config.dconf.settings = {
dconf.settings = {
"org/gnome/settings-daemon/plugins/power" = {
sleep-inactive-ac-type = "nothing"; # Automatic suspend/hibernation creates a suspend/hibernation loop
power-button-action = "suspend";