mirror of
https://github.com/librephoenix/nixos-config
synced 2025-07-06 06:52:13 +05:30
Moved configuration.nix and home.nix to profiles
This commit is contained in:
parent
c4619cbe4f
commit
727b44b3a4
4 changed files with 45 additions and 32 deletions
|
@ -1,4 +1,4 @@
|
|||
{ config, pkgs, myTheme, myThemePolarity, myBackgroundUrl, myBackgroundSha256, ... }:
|
||||
{ config, pkgs, stylix, myTheme, myThemePolarity, myBackgroundUrl, myBackgroundSha256, ... }:
|
||||
|
||||
let
|
||||
myFont = "Inconsolata";
|
||||
|
@ -7,11 +7,13 @@ let
|
|||
myLightDMTheme = if myThemePolarity == "light" then "Adwaita" else "Adwaita-dark";
|
||||
in
|
||||
{
|
||||
imports = [ stylix.nixosModules.stylix ];
|
||||
|
||||
stylix.autoEnable = false;
|
||||
stylix.polarity = myThemePolarity;
|
||||
stylix.image = pkgs.fetchurl {
|
||||
url = myBackgroundUrl;
|
||||
sha256 = myBackgroundSha256;
|
||||
url = myBackgroundUrl;
|
||||
sha256 = myBackgroundSha256;
|
||||
};
|
||||
stylix.base16Scheme = ./. + myThemePath;
|
||||
stylix.fonts = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue