add stylix
This commit is contained in:
parent
42233599d5
commit
56028e3345
4 changed files with 392 additions and 347 deletions
10
flake.nix
10
flake.nix
|
|
@ -4,6 +4,7 @@
|
|||
inputs = {
|
||||
nixpkgs.url = "github:NixOS/nixpkgs/nixos-25.11";
|
||||
nixpkgs-unstable.url = "github:NixOS/nixpkgs/nixos-unstable";
|
||||
stylix.url = "github:danth/stylix";
|
||||
nur = {
|
||||
url = "github:nix-community/NUR";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
|
|
@ -18,7 +19,7 @@
|
|||
};
|
||||
};
|
||||
|
||||
outputs = { self, nixpkgs, nixpkgs-unstable, nur, nur-unstable, home-manager, ... }:
|
||||
outputs = { self, nixpkgs, nixpkgs-unstable, nur, nur-unstable, home-manager, stylix, ... }:
|
||||
let
|
||||
system = "x86_64-linux";
|
||||
pkgs = import nixpkgs {
|
||||
|
|
@ -38,6 +39,7 @@
|
|||
};
|
||||
sharedModules = [
|
||||
./hosts/common/base.nix
|
||||
stylix.nixosModules.stylix
|
||||
home-manager.nixosModules.home-manager
|
||||
({ config, ...}: {
|
||||
home-manager.useGlobalPkgs = true;
|
||||
|
|
@ -57,9 +59,10 @@
|
|||
inherit pkgs;
|
||||
specialArgs = sharedSpecialArgs // {};
|
||||
modules = sharedModules ++ [
|
||||
./hosts/common/workstation.nix
|
||||
./hosts/electra/configuration.nix
|
||||
./hosts/common/workstation.nix
|
||||
./hosts/common/wm/sway.nix
|
||||
./hosts/common/stylix.nix
|
||||
home-manager.nixosModules.home-manager
|
||||
({ config, ...}: {
|
||||
home-manager.users.alisceon.imports = [
|
||||
|
|
@ -75,9 +78,10 @@
|
|||
inherit pkgs;
|
||||
specialArgs = sharedSpecialArgs // {};
|
||||
modules = sharedModules ++ [
|
||||
./hosts/common/workstation.nix
|
||||
./hosts/tower/configuration.nix
|
||||
./hosts/common/workstation.nix
|
||||
./hosts/common/wm/sway.nix
|
||||
./hosts/common/stylix.nix
|
||||
home-manager.nixosModules.home-manager
|
||||
({ config, ...}: {
|
||||
home-manager.users.alisceon.imports = [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue