Created
November 8, 2024 16:51
-
-
Save kuuote/4e971a7280770bcce8b1d754b42e00a2 to your computer and use it in GitHub Desktop.
home-managerでkuusayを導入するための最高の設定
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
description = "A very basic flake"; | |
inputs = { | |
home-manager.inputs.nixpkgs.follows = "nixpkgs"; | |
home-manager.url = "github:nix-community/home-manager"; | |
kuusay.inputs.nixpkgs.follows = "nixpkgs"; | |
kuusay.url = "github:times-yasunori/kuusay"; | |
nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable"; | |
}; | |
outputs = | |
{ | |
self, | |
nixpkgs, | |
home-manager, | |
kuusay, | |
... | |
}: | |
let | |
system = "x86_64-linux"; | |
pkgs = nixpkgs.legacyPackages.${system}; | |
in | |
{ | |
homeConfigurations = { | |
alice = home-manager.lib.homeManagerConfiguration { | |
inherit pkgs; | |
modules = [ | |
{ | |
home.username = "alice"; | |
home.homeDirectory = "/home/alice"; | |
home.stateVersion = "24.05"; | |
home.packages = [ kuusay.packages.${system}.kuusay ]; | |
} | |
]; | |
}; | |
}; | |
}; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment