mirror of
https://github.com/thiloho/nixos-config.git
synced 2025-11-22 11:31:36 +01:00
Remove unnecessary attributes
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
{ pkgs, config, ... }:
|
{ config, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
{ inputs, pkgs, config, ... }:
|
{ inputs, pkgs, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
|
|||||||
@@ -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
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -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;
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
{ lib, pkgs, config, modulesPath, ... }:
|
{ pkgs, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
wsl = {
|
wsl = {
|
||||||
|
|||||||
Reference in New Issue
Block a user