From 56690260ef1e5f69ff69b82f9408e4e54d926371 Mon Sep 17 00:00:00 2001 From: Kyren223 Date: Thu, 26 Dec 2024 19:12:44 +0200 Subject: Removed formatters and self formmated some stuff, also nixd is broken idk why will try to fix it later --- hosts/laptop-nixos/configuration.nix | 16 +++++----------- hosts/laptop-nixos/home.nix | 12 ++++-------- 2 files changed, 9 insertions(+), 19 deletions(-) (limited to 'hosts/laptop-nixos') diff --git a/hosts/laptop-nixos/configuration.nix b/hosts/laptop-nixos/configuration.nix index 6e2be58..3047df5 100644 --- a/hosts/laptop-nixos/configuration.nix +++ b/hosts/laptop-nixos/configuration.nix @@ -1,14 +1,8 @@ -# Help is available in the configuration.nix(5) man page -# and in the NixOS manual (accessible by running ‘nixos-help’). - -{ config, pkgs, inputs, ... }: - -{ - imports = - [ - ./hardware-configuration.nix - inputs.home-manager.nixosModules.default - ]; +{ config, pkgs, inputs, ... }: { + imports = [ + ./hardware-configuration.nix + inputs.home-manager.nixosModules.default + ]; # Bootloader. boot.loader.systemd-boot.enable = true; diff --git a/hosts/laptop-nixos/home.nix b/hosts/laptop-nixos/home.nix index f4e9958..b502cf3 100644 --- a/hosts/laptop-nixos/home.nix +++ b/hosts/laptop-nixos/home.nix @@ -1,6 +1,4 @@ -{ config, pkgs, inputs, ... }: - -{ +{ config, pkgs, inputs, ... }: { home.username = "kyren"; home.homeDirectory = "/home/kyren"; @@ -70,7 +68,7 @@ tokei graphviz kdePackages.kmines # Minesweeper for fun lol - kdePackages.kpat # Solitaire + kdePackages.kpat # Solitaire # btw missing the card/brick thing with weird symbols, not sure what that game was called gimp kdePackages.korganizer @@ -78,12 +76,10 @@ gitleaks rar gomodifytags - nixfmt-rfc-style - alejandra - nixd ]; - nix.nixPath = ["nixpkgs=${inputs.nixpkgs}"]; + # For nixd LSP to recognize what nixpkgs version I use + nix.nixPath = [ "nixpkgs=${inputs.nixpkgs}" ]; # Home Manager is pretty good at managing dotfiles. The primary way to manage # plain files is through 'home.file'. -- cgit v1.3.1