move home.nix to home/regent, modify desktop modules a bit
This commit is contained in:
parent
2830771b17
commit
e701b607db
5 changed files with 81 additions and 6 deletions
20
flake.nix
20
flake.nix
|
@ -13,9 +13,15 @@
|
|||
url = "github:0xc000022070/zen-browser-flake";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
|
||||
catppuccin.url = "github:catppuccin/nix";
|
||||
home-manager = {
|
||||
url = "github:nix-community/home-manager";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
};
|
||||
|
||||
outputs = { self, nixpkgs, lix-module, vscode-server, agenix, zen-browser } @ inputs: {
|
||||
outputs = inputs@{ self, nixpkgs, lix-module, vscode-server, agenix, zen-browser, catppuccin, home-manager, ... }: {
|
||||
nixosConfigurations = {
|
||||
focalor = nixpkgs.lib.nixosSystem {
|
||||
system = "x86_64-linux";
|
||||
|
@ -32,6 +38,18 @@
|
|||
services.vscode-server.nodejsPackage = pkgs.nodejs_20;
|
||||
environment.systemPackages = [ agenix.packages.x86_64-linux.default ];
|
||||
})
|
||||
|
||||
catppuccin.nixosModules.catppuccin
|
||||
|
||||
home-manager.nixosModules.home-manager {
|
||||
home-manager.useGlobalPkgs = true;
|
||||
home-manager.backupFileExtension = "HMBackup";
|
||||
home-manager.users.regent.imports = [
|
||||
./home/regent/home.nix
|
||||
catppuccin.homeManagerModules.catppuccin
|
||||
];
|
||||
home-manager.extraSpecialArgs = { inherit inputs; system = "x86_64-linux";};
|
||||
}
|
||||
];
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue