mirror of
https://github.com/thiloho/nixos-config.git
synced 2025-11-22 03:21:35 +01:00
Remove unnecessary attributes
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
{ pkgs, config, ... }:
|
||||
{ config, ... }:
|
||||
|
||||
{
|
||||
imports = [
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ inputs, pkgs, config, ... }:
|
||||
{ inputs, pkgs, ... }:
|
||||
|
||||
{
|
||||
imports = [
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ pkgs, ... }:
|
||||
{ ... }:
|
||||
|
||||
{
|
||||
services = {
|
||||
@@ -31,15 +31,6 @@
|
||||
|
||||
home-manager.users.thiloho = { pkgs, lib, config, ... }: {
|
||||
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 = {
|
||||
enable = true;
|
||||
package = pkgs.firefox-devedition;
|
||||
@@ -53,6 +44,8 @@
|
||||
];
|
||||
userSettings = {
|
||||
"editor.tabSize" = 2;
|
||||
"nix.enableLanguageServer" = true;
|
||||
"nix.serverPath" = "nil";
|
||||
};
|
||||
};
|
||||
git = {
|
||||
@@ -74,6 +67,7 @@
|
||||
ventoy-full
|
||||
psensor
|
||||
spotify
|
||||
nil
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
@@ -26,6 +26,15 @@
|
||||
|
||||
home-manager.users.thiloho = { ... }: {
|
||||
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 = {
|
||||
enable = true;
|
||||
defaultEditor = true;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ lib, pkgs, config, modulesPath, ... }:
|
||||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
wsl = {
|
||||
|
||||
Reference in New Issue
Block a user