this repo has no description
4
fork

Configure Feed

Select the types of activity you want to include in your feed.

use stylix

+155 -344
+95 -45
flake.lock
··· 58 58 "type": "github" 59 59 } 60 60 }, 61 - "base16-schemes": { 62 - "flake": false, 61 + "base16": { 62 + "inputs": { 63 + "nixpkgs": [ 64 + "stylix", 65 + "nixpkgs" 66 + ] 67 + }, 63 68 "locked": { 64 - "lastModified": 1665690101, 65 - "narHash": "sha256-J2ZvNaVFkqaTXzYO5L+jyRORfIOavFPKvWItP6UTMKs=", 66 - "owner": "tinted-theming", 67 - "repo": "base16-schemes", 68 - "rev": "a3dc916cf90471a422c0bfe1bb4b1bdd12185ced", 69 + "lastModified": 1658847131, 70 + "narHash": "sha256-X6Mml7cT0YR3WCD5fkUhpRVV5ZPcwdcDsND8r8xMqTE=", 71 + "owner": "SenchoPens", 72 + "repo": "base16.nix", 73 + "rev": "6b404cda2e04ca3cf5ca7b877af9c469e1386acb", 69 74 "type": "github" 70 75 }, 71 76 "original": { 72 - "owner": "tinted-theming", 73 - "repo": "base16-schemes", 77 + "owner": "SenchoPens", 78 + "repo": "base16.nix", 74 79 "type": "github" 75 80 } 76 81 }, ··· 166 171 "type": "gitlab" 167 172 } 168 173 }, 174 + "coricamu": { 175 + "inputs": { 176 + "nixpkgs": [ 177 + "stylix", 178 + "nixpkgs" 179 + ], 180 + "utils": "utils_2" 181 + }, 182 + "locked": { 183 + "lastModified": 1677749800, 184 + "narHash": "sha256-xIqxDr4fkOA5R4OudbQoUMS8xvPJNCyGfqugENutSP4=", 185 + "owner": "danth", 186 + "repo": "coricamu", 187 + "rev": "40db414609dc6d72319987d3e9d7b56fe405c28f", 188 + "type": "github" 189 + }, 190 + "original": { 191 + "owner": "danth", 192 + "repo": "coricamu", 193 + "type": "github" 194 + } 195 + }, 169 196 "crane": { 170 197 "flake": false, 171 198 "locked": { ··· 472 499 "original": { 473 500 "owner": "nix-community", 474 501 "repo": "fenix", 502 + "type": "github" 503 + } 504 + }, 505 + "flake-compat": { 506 + "flake": false, 507 + "locked": { 508 + "lastModified": 1673956053, 509 + "narHash": "sha256-4gtG9iQuiKITOjNQQeQIpoIB6b16fm+504Ch3sNKLd8=", 510 + "owner": "edolstra", 511 + "repo": "flake-compat", 512 + "rev": "35bb57c0c8d8b62bbfd284272c928ceb64ddbde9", 513 + "type": "github" 514 + }, 515 + "original": { 516 + "owner": "edolstra", 517 + "repo": "flake-compat", 475 518 "type": "github" 476 519 } 477 520 }, ··· 814 857 "type": "github" 815 858 } 816 859 }, 817 - "nix-colors": { 818 - "inputs": { 819 - "base16-schemes": "base16-schemes", 820 - "nixpkgs-lib": "nixpkgs-lib_4" 821 - }, 822 - "locked": { 823 - "lastModified": 1672236234, 824 - "narHash": "sha256-dpBIuxcDEvJbLD8fTipE0A0JbQD1lZB94zYFPoh01PI=", 825 - "owner": "Misterio77", 826 - "repo": "nix-colors", 827 - "rev": "7e459f1d88ac54fc2f4b308adb5064863006e4b1", 828 - "type": "github" 829 - }, 830 - "original": { 831 - "owner": "Misterio77", 832 - "repo": "nix-colors", 833 - "type": "github" 834 - } 835 - }, 836 860 "nix-pypi-fetcher": { 837 861 "flake": false, 838 862 "locked": { ··· 969 993 "type": "github" 970 994 } 971 995 }, 972 - "nixpkgs-lib_4": { 973 - "locked": { 974 - "lastModified": 1655599917, 975 - "narHash": "sha256-kjZbt5WdTrnjMxL79okg9TCoRUdADG50x/TWozbyTsE=", 976 - "owner": "nix-community", 977 - "repo": "nixpkgs.lib", 978 - "rev": "5fb55578aa2f1a502d636a8ac71aece57cb730bb", 979 - "type": "github" 980 - }, 981 - "original": { 982 - "owner": "nix-community", 983 - "repo": "nixpkgs.lib", 984 - "type": "github" 985 - } 986 - }, 987 996 "nixpkgs-wayland": { 988 997 "flake": false, 989 998 "locked": { ··· 1174 1183 "helix": "helix", 1175 1184 "home": "home", 1176 1185 "nil": "nil", 1177 - "nix-colors": "nix-colors", 1178 1186 "nixinate": "nixinate", 1179 1187 "nixos-hardware": "nixos-hardware", 1180 1188 "nixos-persistence": "nixos-persistence", 1181 1189 "nixpkgs": "nixpkgs_4", 1182 1190 "nixpkgs-wayland": "nixpkgs-wayland", 1183 - "nur": "nur" 1191 + "nur": "nur", 1192 + "stylix": "stylix" 1184 1193 } 1185 1194 }, 1186 1195 "rust-analyzer-src": { ··· 1285 1294 "type": "github" 1286 1295 } 1287 1296 }, 1297 + "stylix": { 1298 + "inputs": { 1299 + "base16": "base16", 1300 + "coricamu": "coricamu", 1301 + "flake-compat": "flake-compat", 1302 + "home-manager": [ 1303 + "home" 1304 + ], 1305 + "nixpkgs": [ 1306 + "nixpkgs" 1307 + ] 1308 + }, 1309 + "locked": { 1310 + "lastModified": 1679594819, 1311 + "narHash": "sha256-DQ36Qh6mTr8qGS1F4SSzsI0VEmaNspEO5BTy723m2Lo=", 1312 + "owner": "danth", 1313 + "repo": "stylix", 1314 + "rev": "5887b5381626d27f40d0ca4813388ac619913b87", 1315 + "type": "github" 1316 + }, 1317 + "original": { 1318 + "owner": "danth", 1319 + "repo": "stylix", 1320 + "type": "github" 1321 + } 1322 + }, 1288 1323 "tailwind": { 1289 1324 "flake": false, 1290 1325 "locked": { ··· 1309 1344 "owner": "numtide", 1310 1345 "repo": "flake-utils", 1311 1346 "rev": "3db36a8b464d0c4532ba1c7dda728f4576d6d073", 1347 + "type": "github" 1348 + }, 1349 + "original": { 1350 + "owner": "numtide", 1351 + "repo": "flake-utils", 1352 + "type": "github" 1353 + } 1354 + }, 1355 + "utils_2": { 1356 + "locked": { 1357 + "lastModified": 1642700792, 1358 + "narHash": "sha256-XqHrk7hFb+zBvRg6Ghl+AZDq03ov6OshJLiSWOoX5es=", 1359 + "owner": "numtide", 1360 + "repo": "flake-utils", 1361 + "rev": "846b2ae0fc4cc943637d3d1def4454213e203cba", 1312 1362 "type": "github" 1313 1363 }, 1314 1364 "original": {
+4 -1
flake.nix
··· 34 34 nil.url = "github:oxalica/nil"; 35 35 nil.inputs.nixpkgs.follows = "nixpkgs"; 36 36 37 + stylix.url = "github:danth/stylix"; 38 + stylix.inputs.nixpkgs.follows = "nixpkgs"; 39 + stylix.inputs.home-manager.follows = "home"; 40 + 37 41 # needed for hyprland setup 38 42 # hyprland.url = "github:hyprwm/Hyprland"; 39 43 # hyprland.inputs.nixpkgs.follows = "nixpkgs"; ··· 42 46 # eww.url = "github:elkowar/eww"; 43 47 # eww.inputs.nixpkgs.follows = "nixpkgs"; 44 48 45 - nix-colors.url = "github:Misterio77/nix-colors"; 46 49 # catppuccin-discord.url = "https://catppuccin.github.io/discord/dist/catppuccin-mocha.theme.css"; 47 50 # catppuccin-discord.flake = false; 48 51 };
+1 -1
modules/de/greetd/default.nix
··· 4 4 settings = { 5 5 terminal.vt = 1; 6 6 default_session = { 7 - command = "${pkgs.greetd.tuigreet}/bin/tuigreet --issue --time --cmd 'apply-hm-env Hyprland'"; 7 + command = "${pkgs.greetd.tuigreet}/bin/tuigreet --issue --time --cmd 'apply-hm-env'"; 8 8 user = "greeter"; 9 9 }; 10 10 };
-27
users/modules/colors/default.nix
··· 1 - {lib, ...}: let 2 - l = lib // builtins; 3 - t = l.types; 4 - in { 5 - options = { 6 - colors = { 7 - theme = l.mkOption { 8 - type = t.str; 9 - }; 10 - base = l.mkOption { 11 - type = t.attrsOf t.str; 12 - }; 13 - x = l.mkOption { 14 - type = t.attrsOf t.str; 15 - }; 16 - xrgba = l.mkOption { 17 - type = t.attrsOf t.str; 18 - }; 19 - xargb = l.mkOption { 20 - type = t.attrsOf t.str; 21 - }; 22 - rgba = l.mkOption { 23 - type = t.attrsOf t.str; 24 - }; 25 - }; 26 - }; 27 - }
+1 -25
users/modules/dunst/default.nix
··· 1 - { 2 - config, 3 - pkgs, 4 - ... 5 - }: let 6 - x = config.colors.x; 7 - in { 1 + {config, ...}: { 8 2 # notification daemon 9 3 services.dunst = { 10 4 enable = true; ··· 14 8 alignment = "center"; 15 9 corner_radius = 16; 16 10 follow = "mouse"; 17 - font = config.settings.font.regular.fullName; 18 11 format = "<b>%s</b>\\n%b"; 19 12 frame_width = 1; 20 13 offset = "5x5"; ··· 28 21 mouse_right_click = "close_current"; 29 22 padding = 8; 30 23 plain_text = "no"; 31 - separator_color = "auto"; 32 24 separator_height = 1; 33 25 show_indicators = false; 34 26 shrink = "no"; ··· 36 28 }; 37 29 38 30 fullscreen_delay_everything = {fullscreen = "delay";}; 39 - 40 - urgency_critical = { 41 - background = x.base00; 42 - foreground = x.base06; 43 - frame_color = x.base08; 44 - }; 45 - urgency_low = { 46 - background = x.base00; 47 - foreground = x.base06; 48 - frame_color = x.base05; 49 - }; 50 - urgency_normal = { 51 - background = x.base00; 52 - foreground = x.base06; 53 - frame_color = x.base06; 54 - }; 55 31 }; 56 32 }; 57 33 }
+2 -27
users/modules/foot/default.nix
··· 1 1 { 2 - config, 2 + lib, 3 3 pkgs, 4 4 ... 5 5 }: { ··· 9 9 enable = true; 10 10 package = pkgs.foot; 11 11 server.enable = false; 12 - settings = { 13 - main = { 14 - font = "${config.settings.font.monospace.name}:size=${toString config.settings.font.monospace.size}"; 15 - dpi-aware = "yes"; 16 - }; 17 - colors = { 18 - foreground = "cdd6f4"; # Text 19 - background = "1e1e2e"; # Base 20 - regular0 = "45475a"; # Surface 1 21 - regular1 = "f38ba8"; # red 22 - regular2 = "a6e3a1"; # green 23 - regular3 = "f9e2af"; # yellow 24 - regular4 = "89b4fa"; # blue 25 - regular5 = "f5c2e7"; # pink 26 - regular6 = "94e2d5"; # teal 27 - regular7 = "bac2de"; # Subtext 1 28 - bright0 = "585b70"; # Surface 2 29 - bright1 = "f38ba8"; # red 30 - bright2 = "a6e3a1"; # green 31 - bright3 = "f9e2af"; # yellow 32 - bright4 = "89b4fa"; # blue 33 - bright5 = "f5c2e7"; # pink 34 - bright6 = "94e2d5"; # teal 35 - bright7 = "a6adc8"; # Subtext 0 36 - }; 37 - }; 12 + settings.main.dpi-aware = lib.mkForce "yes"; 38 13 }; 39 14 }
+3 -3
users/modules/fzf/default.nix
··· 1 1 {config, ...}: { 2 2 programs.fzf.enable = true; 3 - home.sessionVariables = { 4 - FZF_DEFAULT_OPTS = "--color=spinner:#F8BD96,hl:#F28FAD --color=fg:#D9E0EE,header:#F28FAD,info:#DDB6F2,pointer:#F8BD96 --color=marker:#F8BD96,fg+:#F2CDCD,prompt:#DDB6F2,hl+:#F28FAD"; 5 - }; 3 + # home.sessionVariables = { 4 + # FZF_DEFAULT_OPTS = "--color=spinner:#F8BD96,hl:#F28FAD --color=fg:#D9E0EE,header:#F28FAD,info:#DDB6F2,pointer:#F8BD96 --color=marker:#F8BD96,fg+:#F2CDCD,prompt:#DDB6F2,hl+:#F28FAD"; 5 + # }; 6 6 }
-1
users/modules/helix/default.nix
··· 21 21 } 22 22 ]; 23 23 settings = { 24 - theme = "catppuccin_mocha"; 25 24 editor = { 26 25 line-number = "relative"; 27 26 middle-click-paste = false;
+1 -12
users/modules/mako/default.nix
··· 1 - { 2 - pkgs, 3 - config, 4 - ... 5 - }: { 1 + {...}: { 6 2 programs.mako = { 7 3 enable = true; 8 4 anchor = "top-center"; 9 - font = config.settings.font.regular.fullName; 10 5 borderRadius = 16; 11 - extraConfig = builtins.readFile ( 12 - builtins.fetchurl { 13 - url = "https://raw.githubusercontent.com/catppuccin/mako/d077d9832e8f22777a4812eadbfb658e793cbdfc/config"; 14 - sha256 = "sha256:1c8j16ljbnynb5kplxvhg99rw536hbxxz1rl8qgaixdf2bg2awp0"; 15 - } 16 - ); 17 6 }; 18 7 }
+4 -118
users/modules/rofi/default.nix
··· 1 - { 2 - pkgs, 3 - config, 4 - ... 5 - }: { 6 - home.packages = [pkgs.rofi-wayland]; 7 - xdg.enable = true; 8 - xdg.dataFile = { 9 - "rofi/themes/catppuccin.rasi".source = builtins.fetchurl { 10 - url = "https://raw.githubusercontent.com/catppuccin/rofi/c7c242d6bfd4cabdc9a220cff71e3b0766811fbe/.local/share/rofi/themes/catppuccin.rasi"; 11 - sha256 = "sha256:17jssby0llsnabzfz3lp4wcc9vdzfz77i5wjcclfcyyvpswc53nx"; 12 - }; 13 - }; 14 - xdg.configFile = { 15 - "rofi/config.rasi".text = '' 16 - configuration{ 17 - modi: "drun"; 18 - lines: 5; 19 - font: "${config.settings.font.regular.fullName}"; 20 - show-icons: true; 21 - terminal: "st"; 22 - drun-display-format: "{icon} {name}"; 23 - location: 0; 24 - disable-history: false; 25 - hide-scrollbar: true; 26 - display-drun: "  Apps "; 27 - display-run: "  Run "; 28 - display-window: " 﩯 Window"; 29 - display-Network: " 󰤨 Network"; 30 - sidebar-mode: true; 31 - } 32 - 33 - @theme "catppuccin" 34 - 35 - element-text, element-icon , mode-switcher { 36 - background-color: inherit; 37 - text-color: inherit; 38 - } 39 - 40 - window { 41 - height: 40%; 42 - width: 40%; 43 - border: 3px; 44 - border-color: @border-col; 45 - background-color: @bg-col; 46 - } 47 - 48 - mainbox { 49 - background-color: @bg-col; 50 - } 51 - 52 - inputbar { 53 - children: [prompt,entry]; 54 - background-color: @bg-col; 55 - border-radius: 5px; 56 - padding: 2px; 57 - } 58 - 59 - prompt { 60 - background-color: @blue; 61 - padding: 6px; 62 - text-color: @bg-col; 63 - border-radius: 3px; 64 - margin: 20px 0px 0px 20px; 65 - } 66 - 67 - textbox-prompt-colon { 68 - expand: false; 69 - str: ":"; 70 - } 71 - 72 - entry { 73 - padding: 6px; 74 - margin: 20px 0px 0px 10px; 75 - text-color: @fg-col; 76 - background-color: @bg-col; 77 - } 78 - 79 - listview { 80 - border: 0px 0px 0px; 81 - padding: 6px 0px 0px; 82 - margin: 10px 0px 0px 20px; 83 - columns: 2; 84 - background-color: @bg-col; 85 - } 86 - 87 - element { 88 - padding: 5px; 89 - background-color: @bg-col; 90 - text-color: @fg-col ; 91 - } 92 - 93 - element-icon { 94 - size: 25px; 95 - } 96 - 97 - element selected { 98 - background-color: @selected-col ; 99 - text-color: @fg-col2 ; 100 - } 101 - 102 - mode-switcher { 103 - spacing: 0; 104 - } 105 - 106 - button { 107 - padding: 10px; 108 - background-color: @bg-col-light; 109 - text-color: @grey; 110 - vertical-align: 0.5; 111 - horizontal-align: 0.5; 112 - } 113 - 114 - button selected { 115 - background-color: @bg-col; 116 - text-color: @blue; 117 - } 118 - ''; 1 + {pkgs, ...}: { 2 + programs.rofi = { 3 + enable = true; 4 + package = pkgs.rofi-wayland; 119 5 }; 120 6 }
+1 -22
users/modules/settings/default.nix
··· 6 6 l = lib // builtins; 7 7 t = l.types; 8 8 cfg = config.settings; 9 - fontSettings = { 10 - name = l.mkOption { 11 - type = t.str; 12 - }; 13 - package = l.mkOption { 14 - type = t.package; 15 - }; 16 - size = l.mkOption { 17 - type = t.ints.unsigned; 18 - }; 19 - fullName = l.mkOption { 20 - type = t.str; 21 - readOnly = true; 22 - }; 23 - }; 24 9 in { 25 10 options = { 26 11 settings.iconTheme = { ··· 39 24 type = t.path; 40 25 }; 41 26 }; 42 - settings.font = { 43 - regular = fontSettings; 44 - monospace = fontSettings; 45 - }; 46 27 }; 47 28 48 29 config = { 49 - home.packages = [cfg.font.regular.package cfg.font.monospace.package]; 50 - settings.font.regular.fullName = "${cfg.font.regular.name} ${toString cfg.font.regular.size}"; 51 - settings.font.monospace.fullName = "${cfg.font.monospace.name} ${toString cfg.font.monospace.size}"; 30 + gtk.iconTheme = cfg.iconTheme; 52 31 }; 53 32 }
+1 -5
users/modules/sway/default.nix
··· 30 30 exec xprop -root -f _XWAYLAND_GLOBAL_OUTPUT_SCALE 32c -set _XWAYLAND_GLOBAL_OUTPUT_SCALE 2 31 31 ''; 32 32 config = { 33 - fonts = { 34 - names = [config.settings.font.regular.name]; 35 - size = config.settings.font.regular.size + 0.0; 36 - }; 37 33 bars = []; 38 34 gaps.smartBorders = "on"; 39 35 menu = mkRofiCmd ["-show" "drun"]; ··· 102 98 }; 103 99 output = { 104 100 "*" = { 105 - bg = "${config.home.homeDirectory}/.config/wallpaper fill"; 101 + bg = "${config.stylix.image} fill"; 106 102 # adaptive_sync = "on"; 107 103 }; 108 104 "eDP-1" = {
+1 -6
users/modules/swaylock/default.nix
··· 1 - { 2 - config, 3 - pkgs, 4 - ... 5 - }: { 1 + {pkgs, ...}: { 6 2 home.packages = [pkgs.swaylock-effects]; 7 3 8 4 programs.swaylock.settings = { ··· 12 8 effect-scale = "0.5"; 13 9 effect-greyscale = true; 14 10 effect-blur = "20x3"; 15 - font = config.settings.font.regular.name; 16 11 }; 17 12 }
-25
users/patriot/colors.nix
··· 1 - { 2 - lib, 3 - tlib, 4 - inputs, 5 - ... 6 - }: let 7 - l = lib; 8 - theme = "catppuccin"; 9 - colors = with tlib.colors; let 10 - baseColors = inputs.nix-colors.colorSchemes.${theme}.colors; 11 - in { 12 - base = baseColors; 13 - # #RRGGBB 14 - x = l.mapAttrs (_: x) baseColors; 15 - # #RRGGBBAA 16 - xrgba = l.mapAttrs (_: xrgba) baseColors; 17 - # #AARRGGBB 18 - xargb = l.mapAttrs (_: xargb) baseColors; 19 - # rgba(,,,) colors (css) 20 - rgba = l.mapAttrs (_: rgba) baseColors; 21 - }; 22 - in { 23 - imports = [../modules/colors]; 24 - config.colors = colors // {inherit theme;}; 25 - }
+13 -26
users/patriot/default.nix
··· 3 3 lib, 4 4 tlib, 5 5 config, 6 - inputs, 7 6 ... 8 7 } @ globalAttrs: let 9 8 l = lib // builtins; 10 9 11 10 nixosConfig = globalAttrs.config; 12 11 in { 13 - # imports = [../../modules/de/gnome]; 12 + imports = [./stylix.nix]; 13 + 14 14 users.users.patriot = { 15 15 isNormalUser = true; 16 16 createHome = true; ··· 114 114 ]; 115 115 in 116 116 l.flatten [ 117 - ./colors.nix 118 117 ../../modules/persist 119 118 inputs.nixos-persistence.nixosModules.home-manager.impermanence 120 119 (tlib.prefixStrings "${inputs.self}/users/modules/" modulesToEnable) ··· 159 158 }; 160 159 161 160 fonts.fontconfig.enable = l.mkForce true; 162 - settings.font.regular = { 163 - name = "Comic Relief"; 164 - size = 13; 165 - package = pkgs.comic-relief; 166 - }; 167 - settings.font.monospace = { 168 - name = "Comic Mono"; 169 - size = 13; 170 - package = pkgs.comic-mono; 171 - }; 172 161 173 162 settings.iconTheme = { 174 163 name = "Yaru-dark"; ··· 183 172 x11.enable = true; 184 173 }; 185 174 186 - gtk = { 187 - enable = true; 188 - 189 - font = { 190 - inherit (config.settings.font.regular) name package; 191 - }; 175 + # gtk = { 176 + # enable = true; 192 177 193 - gtk2.configLocation = "${config.xdg.configHome}/gtk-2.0/gtkrc"; 178 + # font = { 179 + # inherit (config.settings.font.regular) name package; 180 + # }; 194 181 195 - iconTheme = config.settings.iconTheme; 182 + # gtk2.configLocation = "${config.xdg.configHome}/gtk-2.0/gtkrc"; 196 183 197 - theme = { 198 - name = "Yaru-dark"; 199 - package = pkgs.yaru-theme; 200 - }; 201 - }; 184 + # theme = { 185 + # name = "Yaru-dark"; 186 + # package = pkgs.yaru-theme; 187 + # }; 188 + # }; 202 189 203 190 home = { 204 191 homeDirectory = nixosConfig.users.users.patriot.home;
+28
users/patriot/stylix.nix
··· 1 + { 2 + inputs, 3 + config, 4 + pkgs, 5 + ... 6 + }: { 7 + imports = [inputs.stylix.nixosModules.stylix]; 8 + 9 + stylix.image = ./wallpaper.png; 10 + stylix.polarity = "dark"; 11 + 12 + stylix.fonts = { 13 + serif = { 14 + name = "Comic Relief"; 15 + package = pkgs.comic-relief; 16 + }; 17 + sansSerif = config.stylix.fonts.serif; 18 + monospace = { 19 + name = "Comic Mono"; 20 + package = pkgs.comic-mono; 21 + }; 22 + }; 23 + 24 + stylix.fonts.sizes = { 25 + popups = 13; 26 + terminal = 13; 27 + }; 28 + }
users/patriot/wallpaper.png

This is a binary file and will not be displayed.