merge default and configuration.nix

This commit is contained in:
Vinzenz Schroeter 2025-09-16 19:29:09 +02:00
parent bd00284332
commit edb4ffcd4a
2 changed files with 75 additions and 73 deletions

View file

@ -1,72 +0,0 @@
{ pkgs, ... }:
{
programs = {
home-manager.enable = true;
fzf.enable = true;
git-credential-oauth.enable = true;
direnv = {
enable = true;
nix-direnv.enable = true;
enableZshIntegration = true;
};
eza = {
enable = true;
git = true;
icons = "auto";
extraOptions = [
"--group-directories-first"
"--header"
];
};
thefuck = {
enable = true;
enableZshIntegration = true;
};
chromium.enable = true;
};
home.packages = with pkgs; [
keepassxc
telegram-desktop
element-desktop
wireguard-tools
wirelesstools
kdiff3
jetbrains-toolbox
blanket
vlc
ptyxis
arduino
arduino-ide
arduino-cli
servicepoint-cli
servicepoint-simulator
icu
nextcloud-client
lutris
foliate
];
home.file = {
"policy.json" = {
target = ".config/containers/policy.json";
text = builtins.readFile ./.config/containers/policy.json;
};
"idea.properties".text = "idea.filewatcher.executable.path = ${pkgs.fsnotifier}/bin/fsnotifier";
};
}

View file

@ -1,6 +1,6 @@
{ pkgs, ... }:
{ {
imports = [ imports = [
./configuration.nix
./editorconfig.nix ./editorconfig.nix
./fuzzel.nix ./fuzzel.nix
./git.nix ./git.nix
@ -12,4 +12,78 @@
./waybar.nix ./waybar.nix
./zsh.nix ./zsh.nix
]; ];
config = {
programs = {
home-manager.enable = true;
fzf.enable = true;
git-credential-oauth.enable = true;
direnv = {
enable = true;
nix-direnv.enable = true;
enableZshIntegration = true;
};
eza = {
enable = true;
git = true;
icons = "auto";
extraOptions = [
"--group-directories-first"
"--header"
];
};
thefuck = {
enable = true;
enableZshIntegration = true;
};
chromium.enable = true;
};
home.packages = with pkgs; [
keepassxc
telegram-desktop
element-desktop
wireguard-tools
wirelesstools
kdiff3
jetbrains-toolbox
blanket
vlc
ptyxis
arduino
arduino-ide
arduino-cli
servicepoint-cli
servicepoint-simulator
icu
nextcloud-client
lutris
foliate
dconf2nix
];
home.file = {
"policy.json" = {
target = ".config/containers/policy.json";
text = builtins.readFile ./.config/containers/policy.json;
};
"idea.properties".text = "idea.filewatcher.executable.path = ${pkgs.fsnotifier}/bin/fsnotifier";
};
};
} }