Remove unnecessary attributes

This commit is contained in:
thiloho
2023-08-06 00:09:03 +02:00
parent 204ae78ba3
commit 472abbc20b
5 changed files with 16 additions and 13 deletions

View File

@@ -1,4 +1,4 @@
{ pkgs, config, ... }: { config, ... }:
{ {
imports = [ imports = [

View File

@@ -1,4 +1,4 @@
{ inputs, pkgs, config, ... }: { inputs, pkgs, ... }:
{ {
imports = [ imports = [

View File

@@ -1,4 +1,4 @@
{ pkgs, ... }: { ... }:
{ {
services = { services = {
@@ -31,15 +31,6 @@
home-manager.users.thiloho = { pkgs, lib, config, ... }: { home-manager.users.thiloho = { pkgs, lib, config, ... }: {
programs = { programs = {
bash = {
enable = true;
shellAliases = {
rbs = "sudo nixos-rebuild switch --flake .";
off = "sudo systemctl poweroff";
cleanup = "nix store optimise && nix-collect-garbage -d && sudo nix store optimise && sudo nix-collect-garbage -d";
listboots = "nix profile history --profile /nix/var/nix/profiles/system";
};
};
firefox = { firefox = {
enable = true; enable = true;
package = pkgs.firefox-devedition; package = pkgs.firefox-devedition;
@@ -53,6 +44,8 @@
]; ];
userSettings = { userSettings = {
"editor.tabSize" = 2; "editor.tabSize" = 2;
"nix.enableLanguageServer" = true;
"nix.serverPath" = "nil";
}; };
}; };
git = { git = {
@@ -74,6 +67,7 @@
ventoy-full ventoy-full
psensor psensor
spotify spotify
nil
]; ];
}; };
}; };

View File

@@ -26,6 +26,15 @@
home-manager.users.thiloho = { ... }: { home-manager.users.thiloho = { ... }: {
programs = { programs = {
bash = {
enable = true;
shellAliases = {
rbs = "sudo nixos-rebuild switch --flake .";
off = "sudo systemctl poweroff";
cleanup = "nix store optimise && nix-collect-garbage -d && sudo nix store optimise && sudo nix-collect-garbage -d";
listboots = "nix profile history --profile /nix/var/nix/profiles/system";
};
};
helix = { helix = {
enable = true; enable = true;
defaultEditor = true; defaultEditor = true;

View File

@@ -1,4 +1,4 @@
{ lib, pkgs, config, modulesPath, ... }: { pkgs, ... }:
{ {
wsl = { wsl = {