✨ Moved modules and hm dir to hosts dir. Moved some code to shared and extended lib with custom functions
BIN
shared/assets/Catppuccin.png
Normal file
After Width: | Height: | Size: 24 KiB |
BIN
shared/assets/catppuccin_high.png
Normal file
After Width: | Height: | Size: 33 KiB |
BIN
shared/assets/catppuccin_page_curl.png
Normal file
After Width: | Height: | Size: 808 KiB |
BIN
shared/assets/downtown.gif
Normal file
After Width: | Height: | Size: 2.1 MiB |
BIN
shared/assets/ekg_v2.png
Normal file
After Width: | Height: | Size: 50 KiB |
BIN
shared/assets/face.png
Normal file
After Width: | Height: | Size: 282 KiB |
BIN
shared/assets/nixos_waves.png
Normal file
After Width: | Height: | Size: 102 KiB |
41
shared/common.nix
Normal file
@ -0,0 +1,41 @@
|
||||
rec {
|
||||
default = {
|
||||
browser = "zen";
|
||||
calculator = "gnome-calculator";
|
||||
fileManager = "nautilus";
|
||||
imageViewer = "loupe";
|
||||
lockScreen = "hyprlock";
|
||||
terminal = "kitty";
|
||||
};
|
||||
|
||||
dir = {
|
||||
home = "/home/${username}";
|
||||
pictures = "${dir.home}/Pictures";
|
||||
};
|
||||
|
||||
hostname = "desktop";
|
||||
|
||||
keymaps = {
|
||||
layout = "gb,no";
|
||||
options = "grp:alt_shift_toggle"; # Toggle using ALT + SHIFT
|
||||
};
|
||||
|
||||
# Empty matches all
|
||||
monitor1 = "DP-1";
|
||||
monitor2 = "DP-3";
|
||||
|
||||
username = "martin";
|
||||
|
||||
# This value determines the NixOS release from which the default
|
||||
# settings for stateful data, like file locations and database versions
|
||||
# on your system were taken. It's perfectly fine and recommended to leave
|
||||
# this value at the release version of the first install of this system.
|
||||
# Before changing this value read the documentation for this option
|
||||
# (e.g. man configuration.nix or on https://nixos.org/nixos/options.html).
|
||||
system.version = "24.11";
|
||||
|
||||
secret.weatherApiKey = lib: loadSecret lib ./secrets/weather-api-key;
|
||||
|
||||
loadSecret =
|
||||
lib: filePath: lib.strings.trim (lib.strings.removeSuffix "\n" (builtins.readFile filePath));
|
||||
}
|
BIN
shared/secrets/weather-api-key
Normal file
51
shared/theme.nix
Normal file
@ -0,0 +1,51 @@
|
||||
rec {
|
||||
theme = "catppuccin";
|
||||
flavor = "mocha";
|
||||
mode = "dark";
|
||||
|
||||
nerdFont = "JetBrainsMono";
|
||||
|
||||
wallpaper = {
|
||||
lockscreen = ./assets/catppuccin_page_curl.png;
|
||||
monitor1 = ./assets/nixos_waves.png;
|
||||
monitor2 = ./assets/ekg_v2.png;
|
||||
};
|
||||
|
||||
avatar.image = ./assets/face.png;
|
||||
|
||||
# Colours
|
||||
rosewaterAlpha = "f5e0dc";
|
||||
flamingoAlpha = "f2cdcd";
|
||||
pinkAlpha = "f5c2e7";
|
||||
mauveAlpha = "cba6f7";
|
||||
mauveRgb = "rgb(${mauveAlpha})";
|
||||
redAlpha = "f38ba8";
|
||||
redRgb = "rgb(${redAlpha})";
|
||||
maroonAlpha = "eba0ac";
|
||||
peachAlpha = "fab387";
|
||||
yellowAlpha = "f9e2af";
|
||||
yellowRgb = "rgb(${yellowAlpha})";
|
||||
greenAlpha = "a6e3a1";
|
||||
tealAlpha = "94e2d5";
|
||||
tealRgb = "rgb(${tealAlpha})";
|
||||
skyAlpha = "89dceb";
|
||||
sapphireAlpha = "74c7ec";
|
||||
blueAlpha = "89b4fa";
|
||||
blueRgb = "rgb(${blueAlpha})";
|
||||
lavenderAlpha = "b4befe";
|
||||
textAlpha = "cdd6f4";
|
||||
textRgb = "rgb(${textAlpha})";
|
||||
subtext1Alpha = "bac2de";
|
||||
subtext0Alpha = "a6adc8";
|
||||
overlay2Alpha = "9399b2";
|
||||
overlay1Alpha = "7f849c";
|
||||
overlay0Alpha = "6c7086";
|
||||
surface2Alpha = "585b70";
|
||||
surface1Alpha = "45475a";
|
||||
surface0Alpha = "313244";
|
||||
surface0Rgb = "rgb(${surface0Alpha})";
|
||||
baseAlpha = "1e1e2e";
|
||||
baseRgb = "rgb(${baseAlpha})";
|
||||
mantleAlpha = "181825";
|
||||
crustAlpha = "11111b";
|
||||
}
|