From 63f075b6fc63d2b7b2eef9b321ad838fab668420 Mon Sep 17 00:00:00 2001 From: SindreKjelsrud Date: Wed, 2 Jul 2025 16:15:29 +0200 Subject: [PATCH] chore: Small cleanup Not important lol Signed-off-by: SindreKjelsrud --- flake.nix | 16 ++++++++-------- hosts/wano/configuration.nix | 9 ++++----- hosts/wano/home.nix | 11 +++++++++++ 3 files changed, 23 insertions(+), 13 deletions(-) diff --git a/flake.nix b/flake.nix index 401a625..aa3dbcc 100644 --- a/flake.nix +++ b/flake.nix @@ -12,13 +12,13 @@ outputs = { self, nixpkgs, ... }@inputs: { nixosConfigurations = { - wano = nixpkgs.lib.nixosSystem { - specialArgs = {inherit inputs;}; - modules = [ - ./hosts/wano/configuration.nix - inputs.home-manager.nixosModules.default - ]; - }; - }; + wano = nixpkgs.lib.nixosSystem { + specialArgs = {inherit inputs;}; + modules = [ + ./hosts/wano/configuration.nix + inputs.home-manager.nixosModules.default + ]; + }; + }; }; } diff --git a/hosts/wano/configuration.nix b/hosts/wano/configuration.nix index 449b009..6ad2ea0 100644 --- a/hosts/wano/configuration.nix +++ b/hosts/wano/configuration.nix @@ -5,11 +5,10 @@ { config, pkgs, inputs, ... }: { - imports = - [ - ./hardware-configuration.nix - inputs.home-manager.nixosModules.default - ]; + imports = [ + ./hardware-configuration.nix + inputs.home-manager.nixosModules.default + ]; nix.settings.experimental-features = [ "nix-command" "flakes" ]; diff --git a/hosts/wano/home.nix b/hosts/wano/home.nix index 1bf26ed..87c0b52 100644 --- a/hosts/wano/home.nix +++ b/hosts/wano/home.nix @@ -33,6 +33,17 @@ # shell provided by Home Manager. If you don't want to manage your shell # through Home Manager then you have to manually source 'hm-session-vars.sh' # located at either + # + # ~/.nix-profile/etc/profile.d/hm-session-vars.sh + # + # or + # + # ~/.local/state/nix/profiles/profile/etc/profile.d/hm-session-vars.sh + # + # or + # + # /etc/profiles/per-user/sid/etc/profile.d/hm-session-vars.sh + # home.sessionVariables = { # EDITOR = "emacs"; };