add stylix
This commit is contained in:
parent
948184df65
commit
d7d6bb6a0a
6 changed files with 54 additions and 2 deletions
|
|
@ -1,5 +1,8 @@
|
|||
{ ... }: {
|
||||
flake.nixosModules.user = { pkgs, ... }: {
|
||||
{ inputs, ... }: {
|
||||
flake.nixosModules.user = {
|
||||
imports = [
|
||||
inputs.home-manager.nixosModules.home-manager
|
||||
];
|
||||
users.users."lucy" = {
|
||||
isNormalUser = true;
|
||||
description = "lucy";
|
||||
|
|
@ -8,5 +11,9 @@
|
|||
"wheel"
|
||||
];
|
||||
};
|
||||
home-manager.useGlobalPkgs = true;
|
||||
home-manager.useUserPackages = true;
|
||||
home-manager.extraSpecialArgs = { inherit inputs; };
|
||||
|
||||
};
|
||||
}
|
||||
|
|
|
|||
16
modules/system/services/easyroam.nix
Normal file
16
modules/system/services/easyroam.nix
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
{ inputs, ... }: {
|
||||
flake.nixosModules.easyroam = { config, ... }: {
|
||||
imports = [
|
||||
inputs.nix-easyroam.nixosModules.nix-easyroam
|
||||
];
|
||||
services.easyroam = {
|
||||
enable = true;
|
||||
pkcsFile = config.age.secrets.easyroam.path;
|
||||
networkmanager.enable = true;
|
||||
};
|
||||
systemd.services.wpa_supplicant = {
|
||||
wants = [ "easyroam-cert-setup.service" ];
|
||||
after = [ "easyroam-cert-setup.service" ];
|
||||
};
|
||||
};
|
||||
}
|
||||
10
modules/system/services/pipewire.nix
Normal file
10
modules/system/services/pipewire.nix
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
{ ... }: {
|
||||
flake.nixosModules.pipewire = {
|
||||
services.pipewire = {
|
||||
enable = true;
|
||||
alsa.enable = true;
|
||||
alsa.support32Bit = true;
|
||||
pulse.enable = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
8
modules/system/services/tlp.nix
Normal file
8
modules/system/services/tlp.nix
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
{ ... }: {
|
||||
flake.nixosModules.tlp = {
|
||||
services.tlp = {
|
||||
enable = true;
|
||||
pd.enable = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
1
modules/system/stylix/.#colors.nix
Symbolic link
1
modules/system/stylix/.#colors.nix
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
lucy@seele.112663:1792057388
|
||||
10
modules/system/stylix/default.nix
Normal file
10
modules/system/stylix/default.nix
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
{ inputs, ... }: {
|
||||
flake.nixosModules.myStylix = {
|
||||
imports = [ inputs.stylix.nixosModules.stylix ];
|
||||
stylix = {
|
||||
enable = true;
|
||||
|
||||
base16Scheme = "${pkgs.base16-schemes}/share/themes/gruvbox-dark-hard.yaml";
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Reference in a new issue