added stylix
This commit is contained in:
parent
3d77935764
commit
f87ffb375a
13
flake.nix
13
flake.nix
|
@ -8,6 +8,12 @@
|
|||
home-manager.url = "github:nix-community/home-manager/release-24.05";
|
||||
home-manager.inputs.nixpkgs.follows = "nixpkgs";
|
||||
|
||||
stylix.url = "github:bluskript/stylix/6bc871ab352c9f18d1179daab9e392a4d46393af";
|
||||
stylix.inputs.nixpkgs.follows = "nixpkgs";
|
||||
stylix.inputs.home-manager.follows = "home-manager";
|
||||
|
||||
|
||||
|
||||
ozai.url = "git+https://git.pvv.ntnu.no/Projects/ozai.git";
|
||||
ozai.inputs.nixpkgs.follows = "unstable";
|
||||
ozai-webui.url = "git+https://git.pvv.ntnu.no/adriangl/ozai-webui.git";
|
||||
|
@ -28,6 +34,7 @@
|
|||
outputs = {
|
||||
self
|
||||
, home-manager
|
||||
, stylix
|
||||
, matrix-synapse-next
|
||||
, ozai
|
||||
, ozai-webui
|
||||
|
@ -80,8 +87,10 @@
|
|||
home-manager.useGlobalPkgs = true;
|
||||
home-manager.useUserPackages = true;
|
||||
home-manager.users."gunalx" = import ./home/full.nix;
|
||||
}
|
||||
|
||||
}
|
||||
#need to choose one. The nixos one has bootloader and display manager in addition to the home manager one.
|
||||
inputs.stylix.nixosModules.stylix
|
||||
#inputs.stylix.homeManagerModules.stylix
|
||||
];
|
||||
};
|
||||
|
||||
|
|
Binary file not shown.
After Width: | Height: | Size: 3.3 MiB |
|
@ -6,27 +6,28 @@
|
|||
|
||||
programs.foot.enable = true;
|
||||
programs.foot.settings = {
|
||||
colors = {
|
||||
alpha="0.9";
|
||||
foreground="ffffff";
|
||||
background="000000";
|
||||
regular0="2e3436";
|
||||
regular1="cc0000";
|
||||
regular2="c4e9a0";
|
||||
regular3="cc4a00";
|
||||
regular4="c3465a";
|
||||
regular5="c75507";
|
||||
regular6="c06989";
|
||||
regular7="cd3d7c";
|
||||
bright0="555753";
|
||||
bright1="5ef292";
|
||||
bright2="58ae23";
|
||||
bright3="5fce94";
|
||||
bright4="5729fc";
|
||||
bright5="5ad7fa";
|
||||
bright6="534e2e";
|
||||
bright7="5eeeee";
|
||||
};
|
||||
##lets stylix handle this instead.
|
||||
#colors = {
|
||||
# alpha="0.9";
|
||||
# foreground="ffffff";
|
||||
# background="000000";
|
||||
# regular0="2e3436";
|
||||
# regular1="cc0000";
|
||||
# regular2="c4e9a0";
|
||||
# regular3="cc4a00";
|
||||
# regular4="c3465a";
|
||||
# regular5="c75507";
|
||||
# regular6="c06989";
|
||||
# regular7="cd3d7c";
|
||||
# bright0="555753";
|
||||
# bright1="5ef292";
|
||||
# bright2="58ae23";
|
||||
# bright3="5fce94";
|
||||
# bright4="5729fc";
|
||||
# bright5="5ad7fa";
|
||||
# bright6="534e2e";
|
||||
# bright7="5eeeee";
|
||||
#};
|
||||
main = {
|
||||
term = "xterm-256color";
|
||||
font = "0xproto:size=12";
|
||||
|
|
|
@ -4,11 +4,13 @@
|
|||
./base.nix
|
||||
./code.nix
|
||||
./sway.nix
|
||||
./stylix.nix
|
||||
|
||||
];
|
||||
home.packages = with pkgs; [
|
||||
firefox
|
||||
gimp
|
||||
dconf
|
||||
];
|
||||
}
|
||||
|
||||
|
|
|
@ -0,0 +1,47 @@
|
|||
{ pkgs, … }:
|
||||
|
||||
{
|
||||
|
||||
stylix.enable = true;
|
||||
|
||||
|
||||
stylix.image = pkgs.fetchurl {
|
||||
url = "https://www.pixelstalk.net/wp-content/uploads/2016/05/Epic-Anime-Awesome-Wallpapers.jpg";
|
||||
sha256 = "enQo3wqhgf0FEPHj2coOCvo7DuZv+x5rL/WIo4qPI50=";
|
||||
};
|
||||
|
||||
|
||||
stylix.base16Scheme = ”${pkgs.base16-schemes}/share/themes/apathy.yaml”;
|
||||
|
||||
# stylix.fonts = {
|
||||
# monospace = {
|
||||
# package = pkgs.nerdfonts.override {fonts = [“JetBrainsMono”];};
|
||||
# name = “JetBrainsMono Nerd Font Mono”;
|
||||
# };
|
||||
# sansSerif = {
|
||||
# package = pkgs.dejavu_fonts;
|
||||
# name = “DejaVu Sans”;
|
||||
# };
|
||||
# serif = {
|
||||
# package = pkgs.dejavu_fonts;
|
||||
# name = “DejaVu Serif”;
|
||||
# };
|
||||
# };
|
||||
|
||||
# stylix.fonts.sizes = {
|
||||
# applications = 16;
|
||||
# terminal = 12;
|
||||
# desktop = 12;
|
||||
# popups = 12;
|
||||
# };
|
||||
|
||||
stylix.opacity = {
|
||||
applications = 1.0;
|
||||
terminal = 0.8;
|
||||
desktop = 1.0;
|
||||
popups = 1.0;
|
||||
};
|
||||
|
||||
stylix.polarity = “dark” # “light” or “either”
|
||||
|
||||
}
|
Binary file not shown.
After Width: | Height: | Size: 3.3 MiB |
101
home/wofi.nix
101
home/wofi.nix
|
@ -13,57 +13,58 @@
|
|||
allow_markup = true;
|
||||
width = "80%";
|
||||
};
|
||||
style = ''
|
||||
* {
|
||||
font-family: monospace;
|
||||
}
|
||||
## let stylix handle this.
|
||||
# style = ''
|
||||
# * {
|
||||
# font-family: monospace;
|
||||
# }
|
||||
|
||||
window {
|
||||
margin: 0px;
|
||||
border: 1px solid #c0c0c0;
|
||||
background-color: #282a36;
|
||||
border-radius: 10%;
|
||||
}
|
||||
|
||||
#input {
|
||||
margin: 2 px;
|
||||
border: none;
|
||||
color: #222222;
|
||||
background-color: #eeeeee;
|
||||
}
|
||||
|
||||
#inner-box {
|
||||
margin: 2px;
|
||||
border: none;
|
||||
background-color: #282a36;
|
||||
}
|
||||
|
||||
#outer-box {
|
||||
margin: 2px;
|
||||
border: none;
|
||||
background-color: #282a36;
|
||||
}
|
||||
|
||||
#scroll {
|
||||
margin: 0px;
|
||||
border: none;
|
||||
}
|
||||
|
||||
#text {
|
||||
margin: 2px;
|
||||
border: none;
|
||||
color: #f8f8f2;
|
||||
}
|
||||
|
||||
#entry:selected {
|
||||
background-color: #44475a;
|
||||
}
|
||||
#entry {
|
||||
border-bottom-style: solid;
|
||||
border-width: 1px;
|
||||
border-color: #d4af37;
|
||||
}
|
||||
'';
|
||||
# window {
|
||||
# margin: 0px;
|
||||
# border: 1px solid #c0c0c0;
|
||||
# background-color: #282a36;
|
||||
# border-radius: 10%;
|
||||
# }
|
||||
#
|
||||
# #input {
|
||||
# margin: 2 px;
|
||||
# border: none;
|
||||
# color: #222222;
|
||||
# background-color: #eeeeee;
|
||||
# }
|
||||
#
|
||||
# #inner-box {
|
||||
# margin: 2px;
|
||||
# border: none;
|
||||
# background-color: #282a36;
|
||||
# }
|
||||
#
|
||||
# #outer-box {
|
||||
# margin: 2px;
|
||||
# border: none;
|
||||
# background-color: #282a36;
|
||||
# }
|
||||
#
|
||||
# #scroll {
|
||||
# margin: 0px;
|
||||
# border: none;
|
||||
# }
|
||||
#
|
||||
# #text {
|
||||
# margin: 2px;
|
||||
# border: none;
|
||||
# color: #f8f8f2;
|
||||
# }
|
||||
#
|
||||
# #entry:selected {
|
||||
# background-color: #44475a;
|
||||
# }
|
||||
# #entry {
|
||||
# border-bottom-style: solid;
|
||||
# border-width: 1px;
|
||||
# border-color: #d4af37;
|
||||
# }
|
||||
# '';
|
||||
};
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue