From 7cca45862c06a8e3624c29de119246596bd9a4d6 Mon Sep 17 00:00:00 2001 From: Matt Nish-Lapidus Date: Sat, 7 Dec 2024 14:04:15 -0500 Subject: [PATCH] config --- dotfiles/dot_config/fish/functions/nix-check-store | 5 +++++ flake.nix | 12 ++++++------ home/home.nix | 14 +++++++++----- 3 files changed, 20 insertions(+), 11 deletions(-) create mode 100644 dotfiles/dot_config/fish/functions/nix-check-store diff --git a/dotfiles/dot_config/fish/functions/nix-check-store b/dotfiles/dot_config/fish/functions/nix-check-store new file mode 100644 index 0000000..fe72341 --- /dev/null +++ b/dotfiles/dot_config/fish/functions/nix-check-store @@ -0,0 +1,5 @@ +#!/usr/bin/env fish + +function nixgc --description 'update home manager' +gdu /nix/store +end diff --git a/flake.nix b/flake.nix index ff93891..c762400 100644 --- a/flake.nix +++ b/flake.nix @@ -36,13 +36,13 @@ outputs = {nixpkgs, nixpkgs-unstable, home-manager, audio, nix-flatpak, kmonad, musnix, nix-ld, self, ... } @ inputs: { - # packages.x86_64-linux.default = nixpkgs.legacyPackages.x86_64-linux; + # packages = nixpkgs.legacyPackages.x86_64-linux; nixosConfigurations = { eddie = nixpkgs.lib.nixosSystem { system = "x86_64-linux"; specialArgs = { inherit inputs; }; # Pass flake inputs to our config - modules = [ + modules = [ nix-flatpak.nixosModules.nix-flatpak kmonad.nixosModules.default musnix.nixosModules.musnix @@ -51,10 +51,10 @@ ]; }; }; - - + + homeConfigurations = { - emenel = home-manager.lib.homeManagerConfiguration { + "emenel" = home-manager.lib.homeManagerConfiguration { pkgs = nixpkgs.legacyPackages.x86_64-linux; extraSpecialArgs = { inherit inputs; @@ -66,6 +66,6 @@ ./home/home.nix ]; }; - }; + }; }; } diff --git a/home/home.nix b/home/home.nix index fda83ad..4267757 100644 --- a/home/home.nix +++ b/home/home.nix @@ -95,6 +95,7 @@ # sbclPackages.cl-egl ccl racket + gdu editorconfig-core-c clang-tools @@ -544,7 +545,7 @@ flatpak.enable = true; syncthing = { enable = true; - tray.enable = true; + # tray.enable = true; }; borgmatic = { enable = true; @@ -582,10 +583,13 @@ "nl.hjdskes.gcolor3" ]; - systemd.user.enable = true; - systemd.user.sessionVariables = { - GSK_RENDERER = "gl"; - MOZ_ENABLE_WAYLAND = 1; + systemd.user = { + enable = true; + startServices = "sd-switch"; + sessionVariables = { + GSK_RENDERER = "gl"; + MOZ_ENABLE_WAYLAND = 1; + }; };