diff options
author | Freya Murphy <freya@freyacat.org> | 2025-01-03 09:21:31 -0500 |
---|---|---|
committer | Freya Murphy <freya@freyacat.org> | 2025-01-03 09:21:31 -0500 |
commit | 1c632d6245d2b84dd09aa483f8742840885ec87a (patch) | |
tree | 718ed33cc9e09ec8f7c45668893ce04a140d93b2 /home/nix/flake.nix | |
parent | refactor zprofile (diff) | |
download | dotfiles-guix-1c632d6245d2b84dd09aa483f8742840885ec87a.tar.gz dotfiles-guix-1c632d6245d2b84dd09aa483f8742840885ec87a.tar.bz2 dotfiles-guix-1c632d6245d2b84dd09aa483f8742840885ec87a.zip |
Diffstat (limited to '')
-rw-r--r-- | home/nix/flake.nix | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/home/nix/flake.nix b/home/nix/flake.nix index e1f3527..3e2afb1 100644 --- a/home/nix/flake.nix +++ b/home/nix/flake.nix @@ -15,31 +15,31 @@ }; outputs = { - self, nixpkgs, home-manager, nixgl, ... - } @ inputs: let - inherit (self) outputs; + }: + let system = "x86_64-linux"; - pkgs = nixpkgs.legacyPackages.${system}; - overlays = [ - nixgl.overlay - ]; + username = "freya"; in { - homeConfigurations."freya" = + homeConfigurations.${username} = home-manager.lib.homeManagerConfiguration { - inherit pkgs; - extraSpecialArgs = {inherit inputs outputs;}; + pkgs = nixpkgs.legacyPackages.${system}; modules = [ - {nixpkgs.overlays = overlays;} ./home.nix - { + ({ _module.args = { inherit nixgl; }; - } + nixpkgs.overlays = [ nixgl.overlay ]; + home = { + inherit username; + homeDirectory = "/home/${username}"; + stateVersion = "25.05"; + }; + }) ]; }; }; |