cityseventeen: rename and make tokyo night

This commit is contained in:
Artur Manuel 2025-04-03 02:26:24 +01:00
commit 0d7aa6843b
Signed by: amadaluzia
SSH key fingerprint: SHA256:ubvwT66gNUKSsgSzEb2UQnX8pzTq5N+r8eRVYGJJm4Q
36 changed files with 394 additions and 438 deletions

64
flake.lock generated
View file

@ -5,11 +5,11 @@
"nixpkgs": ["nixpkgs"] "nixpkgs": ["nixpkgs"]
}, },
"locked": { "locked": {
"lastModified": 1742343598, "lastModified": 1743642601,
"narHash": "sha256-8m9VIVrX6T3C5iUgDMmfOl3MGI7pQ+OpF9NutaY/a2Q=", "narHash": "sha256-rEjKybbbO8XwKSPAG7WVKU/qw6ylglbj2+tATLfc2+Q=",
"ref": "refs/heads/master", "ref": "refs/heads/master",
"rev": "f9d95a8775db797a6aa4f754bd7357ce1281eaf6", "rev": "941c8803b3957c14523f2c40a8d189caedecb17c",
"revCount": 6, "revCount": 10,
"type": "git", "type": "git",
"url": "https://copeberg.org/amadaluzia/alqages.git" "url": "https://copeberg.org/amadaluzia/alqages.git"
}, },
@ -47,11 +47,11 @@
"nixpkgs": "nixpkgs" "nixpkgs": "nixpkgs"
}, },
"locked": { "locked": {
"lastModified": 1743000413, "lastModified": 1743630992,
"narHash": "sha256-3F9ap1452VmR8xDjUmeCf9h2nnRIODY4Fh5RnCr0d0s=", "narHash": "sha256-4QKnn7sHskureX2DvKcvxR4tbjauSoCPVQJ+I8PAAUg=",
"owner": "chaotic-cx", "owner": "chaotic-cx",
"repo": "nyx", "repo": "nyx",
"rev": "21c2b03a213775c88eb0738f9ceb2e02b8463981", "rev": "421cce2410fe9f0a71c717e1e28d37eb4ddd0283",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -66,11 +66,11 @@
"nixpkgs": ["nixpkgs"] "nixpkgs": ["nixpkgs"]
}, },
"locked": { "locked": {
"lastModified": 1741786315, "lastModified": 1743598667,
"narHash": "sha256-VT65AE2syHVj6v/DGB496bqBnu1PXrrzwlw07/Zpllc=", "narHash": "sha256-ViE7NoFWytYO2uJONTAX35eGsvTYXNHjWALeHAg8OQY=",
"owner": "nix-community", "owner": "nix-community",
"repo": "disko", "repo": "disko",
"rev": "0d8c6ad4a43906d14abd5c60e0ffe7b587b213de", "rev": "329d3d7e8bc63dd30c39e14e6076db590a6eabe6",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -154,11 +154,11 @@
"nixpkgs-lib": ["nixpkgs"] "nixpkgs-lib": ["nixpkgs"]
}, },
"locked": { "locked": {
"lastModified": 1741352980, "lastModified": 1743550720,
"narHash": "sha256-+u2UunDA4Cl5Fci3m7S643HzKmIDAe+fiXrLqYsR2fs=", "narHash": "sha256-hIshGgKZCgWh6AYJpJmRgFdR3WUbkY04o82X05xqQiY=",
"owner": "hercules-ci", "owner": "hercules-ci",
"repo": "flake-parts", "repo": "flake-parts",
"rev": "f4330d22f1c5d2ba72d3d22df5597d123fdb60a9", "rev": "c621e8422220273271f52058f618c94e405bb0f5",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -237,11 +237,11 @@
}, },
"gimp-nixpkgs": { "gimp-nixpkgs": {
"locked": { "locked": {
"lastModified": 1743096774, "lastModified": 1743550502,
"narHash": "sha256-tjCCBuGLSPOpIpazf6Wy5042pj0wmlDgdcRh3lRd7ew=", "narHash": "sha256-+n8Odooi32fHtpW0MbbP0sXH2UYYGl3C2QuOiuLps2c=",
"owner": "jtojnar", "owner": "jtojnar",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "265994a36baa8011f26b8f56dc691d25a84b6b23", "rev": "fa4992dd39f48279eb33db114c623abccae09384",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -314,11 +314,11 @@
"nixpkgs": ["chaotic", "nixpkgs"] "nixpkgs": ["chaotic", "nixpkgs"]
}, },
"locked": { "locked": {
"lastModified": 1742871411, "lastModified": 1743527271,
"narHash": "sha256-F3xBdOs5m0SE6Gq3jz+JxDOPvsLs22vbGfD05uF6xEc=", "narHash": "sha256-EuanEW1qqXZ2h0zJnq7uz8BoHbsgHgUrqWkCZHwZ9FA=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "869f2ec2add75ce2a70a6dbbf585b8399abec625", "rev": "f4d9d1e2ad19d544a0a0cf3f8f371c6139c762e9",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -333,11 +333,11 @@
"nixpkgs": ["chaotic", "nixpkgs"] "nixpkgs": ["chaotic", "nixpkgs"]
}, },
"locked": { "locked": {
"lastModified": 1742465245, "lastModified": 1743144043,
"narHash": "sha256-gpjtkoeq5Ye9J8GoR+rWg3NL4bbEtcLvvF4nN6MtxdU=", "narHash": "sha256-QlEk4Xm5KG0jW5Kus9teY3bhxdf0GUTexxTUCaJM5ms=",
"owner": "Jovian-Experiments", "owner": "Jovian-Experiments",
"repo": "Jovian-NixOS", "repo": "Jovian-NixOS",
"rev": "a95606cae5c9e1f5b84debe7865ef171d4deb287", "rev": "1c17514c8558886af0afc34b6c348c1f2ee9fd24",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -402,11 +402,11 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1742889210, "lastModified": 1743448293,
"narHash": "sha256-hw63HnwnqU3ZQfsMclLhMvOezpM7RSB0dMAtD5/sOiw=", "narHash": "sha256-bmEPmSjJakAp/JojZRrUvNcDX2R5/nuX6bm+seVaGhs=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "698214a32beb4f4c8e3942372c694f40848b360d", "rev": "77b584d61ff80b4cef9245829a6f1dfad5afdfa3",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -474,11 +474,11 @@
}, },
"nixpkgs_3": { "nixpkgs_3": {
"locked": { "locked": {
"lastModified": 1742889210, "lastModified": 1743583204,
"narHash": "sha256-hw63HnwnqU3ZQfsMclLhMvOezpM7RSB0dMAtD5/sOiw=", "narHash": "sha256-F7n4+KOIfWrwoQjXrL2wD9RhFYLs2/GGe/MQY1sSdlE=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "698214a32beb4f4c8e3942372c694f40848b360d", "rev": "2c8d3f48d33929642c1c12cd243df4cc7d2ce434",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -587,11 +587,11 @@
"nixpkgs": ["nixpkgs"] "nixpkgs": ["nixpkgs"]
}, },
"locked": { "locked": {
"lastModified": 1743106117, "lastModified": 1743532009,
"narHash": "sha256-SZVb+0hGZzwhYV3uKAZRrwBp+Knq5o+h7/1mWdLk32w=", "narHash": "sha256-yRZifkvaNiPuDguFRubAeUqVsfsEAaT1201Ck1P0p2w=",
"ref": "main", "ref": "main",
"rev": "eac76a6d9ea38f2875a62450f1696e2840a38e0f", "rev": "cd8e902b57b31dd78aa8fda1b40cde3862184aa1",
"revCount": 106, "revCount": 108,
"type": "git", "type": "git",
"url": "https://copeberg.org/amadaluzia/pankomacs.git" "url": "https://copeberg.org/amadaluzia/pankomacs.git"
}, },

View file

@ -1,19 +1,11 @@
{ {
inputs, inputs,
pkgs, pkgs,
lib,
... ...
}: }:
{ {
environment = { environment = {
systemPackages = builtins.attrValues { systemPackages = [ pkgs.amadaluzian-zsh ];
inherit (pkgs)
nil
statix
deadnix
alejandra
;
};
sessionVariables.EDITOR = "emacsclient -c"; sessionVariables.EDITOR = "emacsclient -c";
shellAliases = { shellAliases = {
"e" = "$EDITOR"; "e" = "$EDITOR";
@ -24,7 +16,7 @@
programs = { programs = {
swaybg = { swaybg = {
enable = true; enable = true;
wallpaper = inputs.wallpkgs.wallpapers.dracula.dracula-ship.path; wallpaper = inputs.wallpkgs.wallpapers.tokyo-night.tokyo_night-05.path;
}; };
waybar = { waybar = {
enable = true; enable = true;
@ -33,37 +25,18 @@
direnv.enable = true; direnv.enable = true;
openssh.enable = true; openssh.enable = true;
}; };
shells.nushell = {
enable = true;
package = pkgs.amadaluzian-nu;
};
system.pipewire.enable = true; system.pipewire.enable = true;
wms.niri.enable = true; wms.niri.enable = true;
}; };
programs = { programs = {
nh = {
enable = true;
clean.enable = true;
package = pkgs.symlinkJoin {
name = "nh";
paths = [
pkgs.nh
];
nativeBuildInputs = [
pkgs.makeWrapper
];
postBuild = ''
wrapProgram $out/bin/nh \
--set FLAKE "/home/artur/.config/nixos"
'';
meta = { inherit (pkgs.nh.meta) mainProgram; };
};
};
git = { git = {
enable = true; enable = true;
package = pkgs.gitFull; package = pkgs.gitFull;
}; };
zsh = {
enable = true;
};
}; };
services = { services = {
@ -71,23 +44,20 @@
enable = true; enable = true;
web.enable = false; web.enable = false;
}; };
rsyncd.enable = true;
emacs = { emacs = {
enable = true; enable = true;
package = inputs.pankomacs.packages.${pkgs.system}.pgtk; package = inputs.pankomacs.packages.${pkgs.system}.pgtk;
startWithGraphical = true; startWithGraphical = true;
install = true; install = true;
}; };
rsyncd.enable = true;
}; };
virtualisation.virtualbox.host = { nix.gc = {
enable = true; dates = "weekly";
enableKvm = true; automatic = true;
addNetworkInterface = false;
}; };
nix.gc.automatic = lib.mkForce false;
xdg.mime = { xdg.mime = {
enable = true; enable = true;
defaultApplications = { defaultApplications = {

View file

@ -5,9 +5,8 @@
}: }:
{ {
imports = [ imports = [
./users/artur ./users/arturm
./hardware.nix ./hardware.nix
./disks.nix
./theme.nix ./theme.nix
./apps.nix ./apps.nix
./fonts.nix ./fonts.nix
@ -17,7 +16,14 @@
config = { config = {
boot = { boot = {
initrd.systemd.additionalUpstreamUnits = [ "systemd-boot.service" ]; initrd = {
systemd.additionalUpstreamUnits = [ "systemd-boot.service" ];
luks.devices = {
"luks-c354eb7f-1e69-4054-afa2-8c4e81a761fa" = {
device = "/dev/disk/by-uuid/c354eb7f-1e69-4054-afa2-8c4e81a761fa";
};
};
};
loader = { loader = {
systemd-boot.enable = true; systemd-boot.enable = true;
efi.canTouchEfiVariables = true; efi.canTouchEfiVariables = true;
@ -28,22 +34,21 @@
inputs.alqages.overlays.default inputs.alqages.overlays.default
]; ];
nix.package = pkgs.lix;
console = { console = {
font = "Lat2-Terminus16"; font = "Lat2-Terminus16";
keyMap = "us"; keyMap = "us";
}; };
services = { services = {
xserver.xkb = { xserver = {
layout = "us"; xkb = {
options = "eurosign:e,ctrl:nocaps"; layout = "us";
}; options = "eurosign:e,ctrl:nocaps";
};
displayManager.sddm = { displayManager.gdm = {
enable = true; enable = true;
wayland.enable = true; wayland = true;
};
}; };
udev.packages = [ udev.packages = [
@ -61,7 +66,7 @@
networking.networkmanager.enable = true; networking.networkmanager.enable = true;
time.timeZone = "Europe/London"; time.timeZone = "Europe/London";
i18n.defaultLocale = "de_DE.UTF-8"; i18n.defaultLocale = "en_US.UTF-8";
system.stateVersion = "24.11"; system.stateVersion = "24.11";
}; };
} }

View file

@ -2,16 +2,16 @@
{ {
alqueva.system.fonts = { alqueva.system.fonts = {
names = { names = {
sansSerif = [ "Inter" ]; sansSerif = [ "Adwaita Sans" ];
monospace = [ "Maple Mono NL" ]; monospace = [ "Adwaita Mono" ];
serif = [ "Merriweather" ]; serif = [ "Merriweather" ];
emoji = [ "Twitter Color Emoji" ]; emoji = [ "Noto Fonts Color Emoji" ];
}; };
packages = { packages = {
sansSerif = [ pkgs.inter ]; sansSerif = [ pkgs.adwaita-fonts ];
monospace = [ pkgs.maple-mono.NL-TTF ]; monospace = [ pkgs.adwaita-fonts ];
serif = [ pkgs.merriweather ]; serif = [ pkgs.merriweather ];
emoji = [ pkgs.twitter-color-emoji ]; emoji = [ pkgs.noto-fonts-color-emoji ];
extra = [ extra = [
pkgs.noto-fonts pkgs.noto-fonts
pkgs.nerd-fonts.symbols-only pkgs.nerd-fonts.symbols-only

View file

@ -7,15 +7,17 @@
modulesPath, modulesPath,
... ...
}: }:
{ {
imports = [ imports = [
(modulesPath + "/installer/scan/not-detected.nix") (modulesPath + "/installer/scan/not-detected.nix")
]; ];
boot.initrd.availableKernelModules = [ boot.initrd.availableKernelModules = [
"nvme"
"xhci_pci" "xhci_pci"
"ahci" "ahci"
"nvme"
"usb_storage"
"usbhid" "usbhid"
"sd_mod" "sd_mod"
]; ];
@ -23,12 +25,33 @@
boot.kernelModules = [ "kvm-amd" ]; boot.kernelModules = [ "kvm-amd" ];
boot.extraModulePackages = [ ]; boot.extraModulePackages = [ ];
fileSystems."/" = {
device = "/dev/disk/by-uuid/1076cf01-0d74-44fa-b24f-a795191fad83";
fsType = "ext4";
};
boot.initrd.luks.devices."luks-16d833f7-9082-4bf0-b027-98102c786a01".device =
"/dev/disk/by-uuid/16d833f7-9082-4bf0-b027-98102c786a01";
fileSystems."/boot" = {
device = "/dev/disk/by-uuid/6143-FAFA";
fsType = "vfat";
options = [
"fmask=0077"
"dmask=0077"
];
};
swapDevices = [
{ device = "/dev/disk/by-uuid/203bcb2c-a264-4243-9518-d1f975aea05c"; }
];
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking # Enables DHCP on each ethernet and wireless interface. In case of scripted networking
# (the default) this is the recommended approach. When using systemd-networkd it's # (the default) this is the recommended approach. When using systemd-networkd it's
# still possible to use this option, but it's recommended to use it in conjunction # still possible to use this option, but it's recommended to use it in conjunction
# with explicit per-interface declarations with `networking.interfaces.<interface>.useDHCP`. # with explicit per-interface declarations with `networking.interfaces.<interface>.useDHCP`.
networking.useDHCP = lib.mkDefault true; networking.useDHCP = lib.mkDefault true;
# networking.interfaces.enp8s0.useDHCP = lib.mkDefault true; # networking.interfaces.eno1.useDHCP = lib.mkDefault true;
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;

View file

@ -0,0 +1,44 @@
{
pkgs,
...
}:
let
themes = {
gtk = {
name = "Tokyonight-Dark";
package = pkgs.tokyonight-gtk-theme;
};
icons = {
name = "Adwaita";
package = pkgs.adwaita-icon-theme;
};
cursor = {
name = "Simp1e-Tokyo-Night";
package = pkgs.simp1e-cursors;
};
};
in
{
alqueva.system.dconf = {
enable = true;
luminosity = "dark";
theme = themes.gtk.name;
icon.theme = themes.icons.name;
cursor = {
size = 24;
theme = themes.cursor.name;
};
};
qt = {
enable = true;
platformTheme = "qt5ct";
style = "kvantum";
};
systemd.user.tmpfiles.rules = [
"L+ %h/.config/gtk-4.0 - - - - ${themes.gtk.package}/share/themes/${themes.gtk.name}/gtk-4.0"
];
environment.systemPackages = builtins.attrValues (builtins.mapAttrs (_: v: v.package) themes);
}

View file

Before

Width:  |  Height:  |  Size: 46 KiB

After

Width:  |  Height:  |  Size: 46 KiB

Before After
Before After

View file

@ -0,0 +1,29 @@
[main]
pad=12x12
font=monospace:size=16.5
[colors]
foreground=a9b1d6
background=1a1b26
regular0=16161e # black
regular1=c0caf5 # red
regular2=9ece6a # green
regular3=0db9d7 # yellow
regular4=2ac3de # blue
regular5=bb9af7 # magenta
regular6=b4f9f8 # cyan
regular7=cbccd1 # white
bright0=2f3549 # bright black
bright1=c0caf5 # bright red
bright2=9ece6a # bright green
bright3=0db9d7 # bright yellow
bright4=2ac3de # bright blue
bright5=bb9af7 # bright magenta
bright6=b4f9f8 # bright cyan
bright7=d5d6db # bright white
16=a9b1d6
17=f7768e
18=16161e
19=2f3549
20=787c99
21=cbccd1

View file

@ -0,0 +1,113 @@
# output=<not set>
font=Monospace:size=16
# dpi-aware=auto
# use-bold=no
# prompt="> "
# placeholder=
# icon-theme=hicolor
# icons-enabled=yes
# hide-before-typing=no
# fields=filename,name,generic
# password-character=*
# filter-desktop=no
# match-mode=fzf
# sort-result=yes
# match-counter=no
# delayed-filter-ms=300
# delayed-filter-limit=20000
# show-actions=no
# terminal=$TERMINAL -e # Note: you cannot actually use environment variables here
# launch-prefix=<not set>
# list-executables-in-path=no
# anchor=center
# x-margin=0
# y-margin=0
# lines=15
# width=30
# tabs=8
# horizontal-pad=40
# vertical-pad=8
# inner-pad=0
# image-size-ratio=0.5
# line-height=<use font metrics>
# letter-spacing=0
# layer=overlay
# keyboard-focus=on-demand
# exit-on-keyboard-focus-loss=yes
# cache=<not set>
# render-workers=<number of logical CPUs>
# match-workers=<number of logical CPUs>
[colors]
background=1A1B26ff
text=A9B1D6ff
match=2AC3DEff
selection=444B6Aff
selection-text=CBCCD1ff
selection-match=2AC3DEff
border=A9B1D6ff
[border]
width=1
radius=0
[dmenu]
# mode=text # text|index
# exit-immediately-if-empty=no
[key-bindings]
# cancel=Escape Control+g Control+c Control+bracketleft
# execute=Return KP_Enter Control+y
# execute-or-next=Tab
# execute-input=Shift+Return Shift+KP_Enter
# cursor-left=Left Control+b
# cursor-left-word=Control+Left Mod1+b
# cursor-right=Right Control+f
# cursor-right-word=Control+Right Mod1+f
# cursor-home=Home Control+a
# cursor-end=End Control+e
# delete-prev=BackSpace Control+h
# delete-prev-word=Mod1+BackSpace Control+BackSpace Control+w
# delete-line-backward=Control+u
# delete-next=Delete KP_Delete Control+d
# delete-next-word=Mod1+d Control+Delete Control+KP_Delete
# delete-line-forward=Control+k
# prev=Up Control+p
# prev-with-wrap=ISO_Left_Tab
# prev-page=Page_Up KP_Page_Up
# next=Down Control+n
# next-with-wrap=none
# next-page=Page_Down KP_Page_Down
# expunge=Shift+Delete
# clipboard-paste=Control+v XF86Paste
# primary-paste=Shift+Insert Shift+KP_Insert
# custom-N: *dmenu mode only*. Like execute, but with a non-zero
# exit-code; custom-1 exits with code 10, custom-2 with 11, custom-3
# with 12, and so on.
# custom-1=Mod1+1
# custom-2=Mod1+2
# custom-3=Mod1+3
# custom-4=Mod1+4
# custom-5=Mod1+5
# custom-6=Mod1+6
# custom-7=Mod1+7
# custom-8=Mod1+8
# custom-9=Mod1+9
# custom-10=Mod1+0
# custom-11=Mod1+exclam
# custom-12=Mod1+at
# custom-13=Mod1+numbersign
# custom-14=Mod1+dollar
# custom-15=Mod1+percent
# custom-16=Mod1+dead_circumflex
# custom-17=Mod1+ampersand
# custom-18=Mod1+asterix
# custom-19=Mod1+parentleft

View file

@ -0,0 +1,7 @@
font=monospace 15
width=450
height=220
text-color=#A9B1D6ff
background-color=#16161Eff
border-color=#0DB9D7ff
border-size=1

View file

@ -190,8 +190,8 @@ layout {
// off // off
width 1 width 1
active-color "#bd93f9" active-color "#b4f9f8"
inactive-color "#6272a4" inactive-color "#16161e"
// active-gradient from="#ffbb66" to="#ffc880" angle=45 relative-to="workspace-view" // active-gradient from="#ffbb66" to="#ffc880" angle=45 relative-to="workspace-view"
// inactive-gradient from="#505050" to="#808080" angle=45 relative-to="workspace-view" // inactive-gradient from="#505050" to="#808080" angle=45 relative-to="workspace-view"
@ -302,7 +302,7 @@ binds {
// Suggested binds for running programs: terminal, app launcher, screen locker. // Suggested binds for running programs: terminal, app launcher, screen locker.
Mod+E { spawn "emacsclient" "-c"; } Mod+E { spawn "emacsclient" "-c"; }
Mod+T { spawn "foot"; } Mod+T { spawn "foot"; }
Mod+D { spawn "rofi" "-show" "drun"; } Mod+D { spawn "fuzzel"; }
// Super+Alt+L { spawn "swaylock"; } // Super+Alt+L { spawn "swaylock"; }
// You can also use a shell. Do this if you need pipes, multiple commands, etc. // You can also use a shell. Do this if you need pipes, multiple commands, etc.
@ -518,6 +518,6 @@ binds {
} }
cursor { cursor {
xcursor-theme "Dracula-cursors" xcursor-theme "Simp1e-Tokyo-Night"
xcursor-size 24 xcursor-size 24
} }

View file

@ -0,0 +1,37 @@
from theme import load_theme
config.load_autoconfig()
tokyo_night = {
"base00": "#1a1b26",
"base01": "#16161e",
"base02": "#2f3549",
"base03": "#444b6a",
"base04": "#787c99",
"base05": "#a9b1d6",
"base06": "#cbccd1",
"base07": "#d5d6db",
"base08": "#c0caf5",
"base09": "#a9b1d6",
"base0A": "#0db9d7",
"base0B": "#9ece6a",
"base0C": "#b4f9f8",
"base0D": "#2ac3de",
"base0E": "#bb9af7",
"base0F": "#f7768e",
}
load_theme(c, tokyo_night)
c.colors.webpage.preferred_color_scheme = "dark"
c.tabs.position = "top"
c.tabs.width = 32
c.fonts.default_size = "13pt"
c.fonts.default_family = "sans-serif"
c.tabs.padding = {
"bottom": 4,
"top": 4,
"left": 6,
"right": 6,
}
c.tabs.indicator.width = 0

View file

@ -0,0 +1,38 @@
@define-color base00 #1A1B26;
@define-color base01 #16161E;
@define-color base02 #2F3549;
@define-color base03 #444B6A;
@define-color base04 #787C99;
@define-color base05 #A9B1D6;
@define-color base06 #CBCCD1;
@define-color base07 #D5D6DB;
@define-color base08 #C0CAF5;
@define-color base09 #A9B1D6;
@define-color base0A #0DB9D7;
@define-color base0B #9ECE6A;
@define-color base0C #B4F9F8;
@define-color base0D #2AC3DE;
@define-color base0E #BB9AF7;
@define-color base0F #F7768E;
* {
color: @base05;
font-family: monospace;
font-size: 17px;
border-radius: 0px;
border: none;
}
window#waybar {
background: @base01;
}
.modules-right,
.modules-left {
padding: 0px 10px;
}
#custom-nixos {
color: @base0D;
font-size: 24px;
}

View file

@ -1,20 +1,19 @@
{ {
inputs, inputs,
pkgs, pkgs,
config,
... ...
}: }:
{ {
alqueva.users.artur = { alqueva.users.arturm = {
shell = config.alqueva.shells.nushell.package; shell = pkgs.zsh;
tmpfiles = [ tmpfiles = [
"L+ %h/.config/qutebrowser/config.py - - - - ${./configs/qutebrowser/config.py}" "L+ %h/.config/qutebrowser/config.py - - - - ${./configs/qutebrowser/config.py}"
"L+ %h/.config/qutebrowser/theme - - - - ${./configs/qutebrowser/theme}" "L+ %h/.config/qutebrowser/theme - - - - ${./configs/qutebrowser/theme}"
"L+ %h/.config/kanshi/ - - - - ${./configs/kanshi}" "L+ %h/.config/kanshi/ - - - - ${./configs/kanshi}"
"L+ %h/.config/mako/ - - - - ${./configs/mako}" "L+ %h/.config/mako/ - - - - ${./configs/mako}"
"L+ %h/.config/niri/ - - - - ${./configs/niri}" "L+ %h/.config/niri/ - - - - ${./configs/niri}"
"L+ %h/.config/rofi/ - - - - ${./configs/rofi}"
"L+ %h/.config/foot - - - - ${./configs/foot}" "L+ %h/.config/foot - - - - ${./configs/foot}"
"L+ %h/.config/fuzzel - - - - ${./configs/fuzzel}"
"L+ %h/.config/waybar - - - - ${./configs/waybar}" "L+ %h/.config/waybar - - - - ${./configs/waybar}"
"L+ %h/.face.icon - - - - ${./.face.icon}" "L+ %h/.face.icon - - - - ${./.face.icon}"
"L+ %h/.gitconfig - - - - ${./configs/git/gitconfig}" "L+ %h/.gitconfig - - - - ${./configs/git/gitconfig}"
@ -36,7 +35,7 @@
qutebrowser qutebrowser
mako mako
gh gh
rofi-wayland fuzzel
foot foot
signal-desktop signal-desktop
dino dino
@ -44,7 +43,6 @@
vesktop vesktop
; ;
inherit (inputs.hetch.packages.${pkgs.system}) hetch; inherit (inputs.hetch.packages.${pkgs.system}) hetch;
inherit (inputs.gimp-nixpkgs.legacyPackages.${pkgs.system}) gimp;
}; };
groups = [ groups = [
"wheel" "wheel"

View file

@ -9,7 +9,7 @@ in
{ {
flake = { flake = {
nixosConfigurations = mkHosts { nixosConfigurations = mkHosts {
solterra = { cityseventeen = {
system = "x86_64-linux"; system = "x86_64-linux";
extraModules = [ extraModules = [
inputs.disko.nixosModules.disko inputs.disko.nixosModules.disko

View file

@ -5,13 +5,22 @@
}: }:
let let
cfg = config.alqueva.system.dconf; cfg = config.alqueva.system.dconf;
inherit (lib) types; inherit (lib.options) mkEnableOption mkOption;
inherit (lib.types)
str
enum
attrs
listOf
ints
package
;
inherit (lib.modules) mkIf;
in in
{ {
options.alqueva.system.dconf = { options.alqueva.system.dconf = {
enable = lib.mkEnableOption "configuration with DConf"; enable = mkEnableOption "configuration with DConf";
luminosity = lib.mkOption { luminosity = mkOption {
type = types.enum [ type = enum [
"dark" "dark"
"light" "light"
"default" "default"
@ -20,36 +29,36 @@ in
description = "The luminosity you want to use for GTK."; description = "The luminosity you want to use for GTK.";
apply = lum: if lum == "default" then lum else "prefer-${lum}"; apply = lum: if lum == "default" then lum else "prefer-${lum}";
}; };
theme = lib.mkOption { theme = mkOption {
type = types.str; type = str;
description = "The theme you want to use for GTK."; description = "The theme you want to use for GTK.";
default = ""; default = "";
}; };
icon.theme = lib.mkOption { icon.theme = mkOption {
type = types.str; type = str;
description = "The icon theme you want to use for GTK."; description = "The icon theme you want to use for GTK.";
default = ""; default = "";
}; };
cursor = { cursor = {
theme = lib.mkOption { theme = mkOption {
type = types.str; type = str;
description = "The cursor theme you want to use for GTK."; description = "The cursor theme you want to use for GTK.";
default = ""; default = "";
}; };
size = lib.mkOption { size = mkOption {
type = types.ints.u32; type = ints.u32;
default = 24; default = 24;
description = "The cursor size you want to use for GTK."; description = "The cursor size you want to use for GTK.";
apply = size: lib.gvariant.mkUint32 size; apply = size: lib.gvariant.mkUint32 size;
}; };
}; };
extraDconfPackages = lib.mkOption { extraDconfPackages = mkOption {
type = types.listOf types.package; type = listOf package;
description = "Extra packages to install for DConf."; description = "Extra packages to install for DConf.";
default = [ ]; default = [ ];
}; };
extraDconfSettings = lib.mkOption { extraDconfSettings = mkOption {
type = types.attrsOf types.anything; type = attrs;
description = "Extra settings you want to apply to DConf."; description = "Extra settings you want to apply to DConf.";
default = { }; default = { };
}; };

View file

@ -1,67 +0,0 @@
{
disko.devices = {
disk = {
main = {
type = "disk";
device = "/dev/disk/by-id/nvme-WDC_PC_SN520_SDAPNUW-256G-1014_20270F804683";
content = {
type = "gpt";
partitions = {
ESP = {
size = "512M";
type = "EF00";
content = {
type = "filesystem";
format = "vfat";
mountpoint = "/boot";
mountOptions = [ "defaults" ];
};
};
luks = {
size = "100%";
content = {
type = "luks";
name = "utero";
passwordFile = "/tmp/secret.key"; # Interactive
settings = {
allowDiscards = true;
};
content = {
type = "btrfs";
extraArgs = [ "-f" ];
subvolumes = {
"/@root" = {
mountpoint = "/";
mountOptions = [
"compress=zstd"
"noatime"
];
};
"/@home" = {
mountpoint = "/home";
mountOptions = [
"compress=zstd"
"noatime"
];
};
"/@nix" = {
mountpoint = "/nix";
mountOptions = [
"compress=zstd"
"noatime"
];
};
"/@swap" = {
mountpoint = "/.swapvol";
swap.swapfile.size = "8G";
};
};
};
};
};
};
};
};
};
};
}

View file

@ -1,31 +0,0 @@
{
pkgs,
...
}:
let
themes = {
gtk-theme = pkgs.dracula-theme-git;
icon-theme = pkgs.dracula-icon-theme;
cursor-theme = themes.icon-theme;
};
in
{
alqueva.system.dconf = {
enable = true;
luminosity = "dark";
theme = "Dracula";
icon.theme = "Dracula";
cursor = {
size = 24;
theme = "Dracula-cursors";
};
};
qt = {
enable = true;
platformTheme = "gnome";
style = "adwaita-dark";
};
environment.systemPackages = builtins.attrValues themes;
}

View file

@ -1,29 +0,0 @@
[main]
pad=12x12
font=monospace:size=16.5
[colors]
foreground=f8f8f2
background=282a36
regular0=363447 # black
regular1=ff5555 # red
regular2=50fa7b # green
regular3=f1fa8c # yellow
regular4=80bfff # blue
regular5=ff79c6 # magenta
regular6=8be9fd # cyan
regular7=f0f1f4 # white
bright0=44475a # bright black
bright1=ff5555 # bright red
bright2=50fa7b # bright green
bright3=f1fa8c # bright yellow
bright4=80bfff # bright blue
bright5=ff79c6 # bright magenta
bright6=8be9fd # bright cyan
bright7=ffffff # bright white
16=ffb86c
17=bd93f9
18=363447
19=44475a
20=9ea8c7
21=f0f1f4

View file

@ -1,7 +0,0 @@
font=monospace 15
width=450
height=220
text-color=#f8f8f2ff
background-color=#282a36ff
border-color=#80bfffff
border-size=1

View file

@ -1,37 +0,0 @@
from theme import load_theme
config.load_autoconfig()
dracula = {
"base00": "#282a36",
"base01": "#363447",
"base02": "#44475a",
"base03": "#6272a4",
"base04": "#9ea8c7",
"base05": "#f8f8f2",
"base06": "#f0f1f4",
"base07": "#ffffff",
"base08": "#ff5555",
"base09": "#ffb86c",
"base0A": "#f1fa8c",
"base0B": "#50fa7b",
"base0C": "#8be9fd",
"base0D": "#80bfff",
"base0E": "#ff79c6",
"base0F": "#bd93f9",
}
load_theme(c, dracula)
c.colors.webpage.preferred_color_scheme = "dark"
c.tabs.position = "top"
c.tabs.width = 32
c.fonts.default_size = "13pt"
c.fonts.default_family = "sans-serif"
c.tabs.padding = {
"bottom": 4,
"top": 4,
"left": 6,
"right": 6,
}
c.tabs.indicator.width = 0

View file

@ -1,98 +0,0 @@
configuration{
modi: "run,drun,window";
lines: 5;
font: "Iosevka 12";
show-icons: true;
icon-theme: "Paper Mono";
terminal: "st";
drun-display-format: "{icon} {name}";
location: 0;
disable-history: false;
hide-scrollbar: true;
display-drun: "  Apps ";
}
@theme "base16"
element-text, element-icon , mode-switcher {
background-color: inherit;
text-color: inherit;
}
window {
height: 360px;
border: 3px;
border-color: @border-col;
background-color: @bg-col;
}
mainbox {
background-color: @bg-col;
}
inputbar {
children: [prompt,entry];
background-color: @bg-col;
border-radius: 5px;
padding: 2px;
}
prompt {
background-color: @blue;
padding: 6px;
text-color: @bg-col;
border-radius: 3px;
margin: 20px 0px 0px 20px;
}
textbox-prompt-colon {
expand: false;
str: ":";
}
entry {
padding: 6px;
margin: 20px 0px 0px 10px;
text-color: @fg-col;
background-color: @bg-col;
}
listview {
border: 0px 0px 0px;
padding: 6px 0px 0px;
margin: 10px 0px 0px 20px;
columns: 2;
background-color: @bg-col;
}
element {
padding: 5px;
background-color: @bg-col;
text-color: @fg-col ;
}
element-icon {
size: 25px;
}
element selected {
background-color: @selected-col ;
text-color: @fg-col2 ;
}
mode-switcher {
spacing: 0;
}
button {
padding: 10px;
background-color: @bg-col-light;
text-color: @grey;
vertical-align: 0.5;
horizontal-align: 0.5;
}
button selected {
background-color: @bg-col;
text-color: @blue;
}

View file

@ -1,11 +0,0 @@
* {
bg-col: #282a36;
bg-col-light: #44475a;
border-col: #44475a;
selected-col: #44475a;
blue: #bd93f9;
fg-col: #f8f8f2;
fg-col2: #f8f8f2;
grey: #6272a4;
width: 600;
}

View file

@ -1,37 +0,0 @@
@define-color base00 #282a36;
@define-color base01 #363447;
@define-color base02 #44475a;
@define-color base03 #6272a4;
@define-color base04 #9ea8c7;
@define-color base05 #f8f8f2;
@define-color base06 #f0f1f4;
@define-color base07 #ffffff;
@define-color base08 #ff5555;
@define-color base09 #ffb86c;
@define-color base0A #f1fa8c;
@define-color base0B #50fa7b;
@define-color base0C #8be9fd;
@define-color base0D #80bfff;
@define-color base0E #ff79c6;
@define-color base0F #bd93f9;
* {
font-family: monospace;
font-size: 17px;
border-radius: 0px;
border: none;
}
window#waybar {
background: @base00;
}
.modules-right,
.modules-left {
padding: 0px 10px;
}
#custom-nixos {
color: @base0D;
font-size: 24px;
}

View file

@ -61,6 +61,6 @@
}; };
}; };
}; };
formatter = pkgs.alejandra; formatter = pkgs.nixfmt-rfc-style;
}; };
} }