refactor!: massively overhaul configuration and bring it to the modern
age
This commit is contained in:
parent
1310dd7b7a
commit
9a081df74a
16 changed files with 492 additions and 251 deletions
16
flake.nix
16
flake.nix
|
@ -15,36 +15,30 @@
|
|||
|
||||
outputs =
|
||||
{
|
||||
self,
|
||||
nixpkgs,
|
||||
home-manager,
|
||||
...
|
||||
}@inputs:
|
||||
{
|
||||
formatter."x86_64-linux" = nixpkgs.legacyPackages.x86_64-linux.alejandra;
|
||||
nixosConfigurations.nixos = nixpkgs.lib.nixosSystem {
|
||||
formatter."x86_64-linux" = nixpkgs.legacyPackages.x86_64-linux.nixfmt-rfc-style;
|
||||
nixosConfigurations.shiroko = nixpkgs.lib.nixosSystem {
|
||||
specialArgs = {
|
||||
inherit inputs;
|
||||
};
|
||||
system = "x86_64-linux";
|
||||
modules = [
|
||||
./configuration.nix
|
||||
|
||||
./hosts/shiroko
|
||||
home-manager.nixosModules.home-manager
|
||||
{
|
||||
home-manager = {
|
||||
useGlobalPkgs = true;
|
||||
useUserPackages = true;
|
||||
backupFileExtension = "backup";
|
||||
extraSpecialArgs = {
|
||||
inherit inputs;
|
||||
};
|
||||
users.kaitotlex = {
|
||||
imports = [
|
||||
./home.nix
|
||||
./spicetify.nix
|
||||
# inputs.nixvim.homeManagerModules.nixvim
|
||||
#./nixvim.nix
|
||||
];
|
||||
imports = [ ./users/kaitotlex ];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue