Compare commits
No commits in common. "fe1186f960a5627e09c63bf91dae700695f1c218" and "59892a5981851caf15854c27e1f5e5f5e325d6e9" have entirely different histories.
fe1186f960
...
59892a5981
@ -6,11 +6,6 @@
|
|||||||
{
|
{
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
gst_all_1.gstreamer
|
|
||||||
gst_all_1.gst-plugins-base
|
|
||||||
gst_all_1.gst-plugins-good
|
|
||||||
gst_all_1.gst-plugins-bad
|
|
||||||
|
|
||||||
wireplumber
|
wireplumber
|
||||||
playerctl # Interaction with audioplayers and browsers
|
playerctl # Interaction with audioplayers and browsers
|
||||||
pavucontrol # GUI
|
pavucontrol # GUI
|
||||||
|
Binary file not shown.
Before Width: | Height: | Size: 33 KiB |
@ -9,7 +9,7 @@
|
|||||||
|
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
./gnome
|
# Include the results of the hardware scan.
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
./terminal
|
./terminal
|
||||||
./hyprland
|
./hyprland
|
||||||
@ -18,7 +18,6 @@
|
|||||||
./development.nix
|
./development.nix
|
||||||
./security.nix
|
./security.nix
|
||||||
./locale.nix
|
./locale.nix
|
||||||
./sddm.nix
|
|
||||||
];
|
];
|
||||||
|
|
||||||
# Bootloader.
|
# Bootloader.
|
||||||
@ -60,17 +59,20 @@
|
|||||||
kitty
|
kitty
|
||||||
xdg-utils
|
xdg-utils
|
||||||
xdg-desktop-portal-gtk
|
xdg-desktop-portal-gtk
|
||||||
|
kdePackages.dolphin
|
||||||
kdePackages.qtwayland
|
kdePackages.qtwayland
|
||||||
kdePackages.qtsvg
|
kdePackages.qtsvg
|
||||||
kdePackages.qt6ct
|
kdePackages.qt6ct
|
||||||
protonmail-desktop
|
protonmail-desktop
|
||||||
|
adw-gtk3
|
||||||
|
glib
|
||||||
|
adwaita-icon-theme
|
||||||
stremio
|
stremio
|
||||||
fastfetch
|
fastfetch
|
||||||
freetube
|
freetube
|
||||||
nextcloud-client
|
nextcloud-client
|
||||||
discord
|
discord
|
||||||
nix-prefetch-github # Cmd to get rev and hash from GitHub
|
nix-prefetch-github # Cmd to get rev and hash from GitHub
|
||||||
gimp
|
|
||||||
];
|
];
|
||||||
|
|
||||||
nix.settings.experimental-features = [
|
nix.settings.experimental-features = [
|
||||||
@ -83,6 +85,8 @@
|
|||||||
# programs.mtr.enable = true;
|
# programs.mtr.enable = true;
|
||||||
|
|
||||||
programs = {
|
programs = {
|
||||||
|
dconf.enable = true;
|
||||||
|
|
||||||
gnupg.agent.enable = true;
|
gnupg.agent.enable = true;
|
||||||
|
|
||||||
kdeconnect.enable = true;
|
kdeconnect.enable = true;
|
||||||
@ -101,8 +105,16 @@
|
|||||||
# services.openssh.enable = true;
|
# services.openssh.enable = true;
|
||||||
|
|
||||||
services = {
|
services = {
|
||||||
|
displayManager.sddm = {
|
||||||
|
enable = true;
|
||||||
|
autoNumlock = true; # Enable numlock at login # TODO doesn't work
|
||||||
|
wayland.enable = true;
|
||||||
|
};
|
||||||
|
|
||||||
flatpak.enable = true;
|
flatpak.enable = true;
|
||||||
|
|
||||||
|
gnome.gnome-keyring.enable = true;
|
||||||
|
|
||||||
xserver = {
|
xserver = {
|
||||||
enable = true;
|
enable = true;
|
||||||
# Load Nvidia driver for Xorg and Wayland
|
# Load Nvidia driver for Xorg and Wayland
|
||||||
@ -125,8 +137,8 @@
|
|||||||
|
|
||||||
qt.enable = true;
|
qt.enable = true;
|
||||||
|
|
||||||
|
# Enable OpenGL
|
||||||
hardware = {
|
hardware = {
|
||||||
# Enable OpenGL
|
|
||||||
graphics.enable = true;
|
graphics.enable = true;
|
||||||
nvidia = {
|
nvidia = {
|
||||||
# Required
|
# Required
|
||||||
@ -138,6 +150,14 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
xdg.mime.defaultApplications = {
|
||||||
|
"text/html" = "io.github.zen_browser.zen.desktop";
|
||||||
|
"x-scheme-handler/http" = "io.github.zen_browser.zen.desktop";
|
||||||
|
"x-scheme-handler/https" = "io.github.zen_browser.zen.desktop";
|
||||||
|
"x-scheme-handler/about" = "io.github.zen_browser.zen.desktop";
|
||||||
|
"x-scheme-handler/unknown" = "io.github.zen_browser.zen.desktop";
|
||||||
|
};
|
||||||
|
|
||||||
# This value determines the NixOS release from which the default
|
# This value determines the NixOS release from which the default
|
||||||
# settings for stateful data, like file locations and database versions
|
# settings for stateful data, like file locations and database versions
|
||||||
# on your system were taken. It‘s perfectly fine and recommended to leave
|
# on your system were taken. It‘s perfectly fine and recommended to leave
|
||||||
@ -145,4 +165,5 @@
|
|||||||
# Before changing this value read the documentation for this option
|
# Before changing this value read the documentation for this option
|
||||||
# (e.g. man configuration.nix or on https://nixos.org/nixos/options.html).
|
# (e.g. man configuration.nix or on https://nixos.org/nixos/options.html).
|
||||||
system.stateVersion = "24.11"; # Did you read the comment?
|
system.stateVersion = "24.11"; # Did you read the comment?
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -1,26 +0,0 @@
|
|||||||
{ pkgs, ... }:
|
|
||||||
|
|
||||||
{
|
|
||||||
imports = [
|
|
||||||
./nautilus.nix
|
|
||||||
];
|
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
|
||||||
adw-gtk3
|
|
||||||
glib
|
|
||||||
adwaita-icon-theme
|
|
||||||
gnomeExtensions.appindicator
|
|
||||||
gnome-extension-manager
|
|
||||||
loupe
|
|
||||||
];
|
|
||||||
|
|
||||||
programs = {
|
|
||||||
dconf.enable = true; # Required for some gnome applications
|
|
||||||
};
|
|
||||||
|
|
||||||
services = {
|
|
||||||
gnome.gnome-keyring.enable = true;
|
|
||||||
gvfs.enable = true; # Gnome Virtual File-system. Required for various things in nautilus
|
|
||||||
udev.packages = with pkgs; [ gnome-settings-daemon ];
|
|
||||||
};
|
|
||||||
}
|
|
@ -1,9 +0,0 @@
|
|||||||
{ pkgs, ... }:
|
|
||||||
# TODO file-preview for videos, svgs and other types
|
|
||||||
{
|
|
||||||
environment.systemPackages = with pkgs; [
|
|
||||||
nautilus
|
|
||||||
];
|
|
||||||
|
|
||||||
programs.nautilus-open-any-terminal.enable = true;
|
|
||||||
}
|
|
@ -1,23 +0,0 @@
|
|||||||
{ ... }:
|
|
||||||
|
|
||||||
{
|
|
||||||
xdg.mimeApps = {
|
|
||||||
enable = true;
|
|
||||||
defaultApplications =
|
|
||||||
let
|
|
||||||
browser = "io.github.zen_browser.zen.desktop";
|
|
||||||
imageViewer = "org.gnome.Loupe.desktop";
|
|
||||||
in
|
|
||||||
{
|
|
||||||
"text/html" = browser;
|
|
||||||
"x-scheme-handler/http" = browser;
|
|
||||||
"x-scheme-handler/https" = browser;
|
|
||||||
"x-scheme-handler/about" = browser;
|
|
||||||
"x-scheme-handler/unknown" = browser;
|
|
||||||
"image/jpg" = imageViewer;
|
|
||||||
"image/jpeg" = imageViewer;
|
|
||||||
"image/png" = imageViewer;
|
|
||||||
"image/gif" = imageViewer;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
@ -9,7 +9,6 @@ in
|
|||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
inputs.nixvim.homeManagerModules.nixvim
|
inputs.nixvim.homeManagerModules.nixvim
|
||||||
./default-applications.nix
|
|
||||||
./fish.nix
|
./fish.nix
|
||||||
./nixvim
|
./nixvim
|
||||||
./rofi
|
./rofi
|
||||||
|
@ -10,12 +10,9 @@
|
|||||||
];
|
];
|
||||||
|
|
||||||
home.file.".config/hypr/hyprland.conf".source = ./hyprland.conf;
|
home.file.".config/hypr/hyprland.conf".source = ./hyprland.conf;
|
||||||
programs = {
|
programs.kitty = {
|
||||||
btop.enable = true;
|
settings = {
|
||||||
kitty = {
|
window_padding_width = 10;
|
||||||
settings = {
|
|
||||||
window_padding_width = 10;
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -7,19 +7,19 @@
|
|||||||
general = {
|
general = {
|
||||||
after_sleep_cmd = "hyprctl dispatch dpms on";
|
after_sleep_cmd = "hyprctl dispatch dpms on";
|
||||||
ignore_dbus_inhibit = false;
|
ignore_dbus_inhibit = false;
|
||||||
lock_cmd = "pidof hyprlock || hyprlock"; # Avoid running multiple instances of hyprlock
|
lock_cmd = "hyprlock";
|
||||||
};
|
};
|
||||||
|
|
||||||
listener = [
|
listener = [
|
||||||
{
|
{
|
||||||
timeout = 900; # 15 min
|
timeout = 900; # Seconds
|
||||||
on-timeout = "hyprlock";
|
on-timeout = "hyprlock";
|
||||||
}
|
}
|
||||||
# {
|
{
|
||||||
# timeout = 1200;
|
timeout = 1200;
|
||||||
# on-timeout = "hyprctl dispatch dpms off";
|
on-timeout = "hyprctl dispatch dpms off";
|
||||||
# on-resume = "hyprctl dispatch dpms on";
|
on-resume = "hyprctl dispatch dpms on";
|
||||||
# }
|
}
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
@ -25,7 +25,7 @@ monitor = DP-3, 2560x1440@59.95, 1920x0, 1
|
|||||||
# Set programs that you use
|
# Set programs that you use
|
||||||
$browser = io.github.zen_browser.zen
|
$browser = io.github.zen_browser.zen
|
||||||
$terminal = kitty
|
$terminal = kitty
|
||||||
$fileManager = nautilus
|
$fileManager = dolphin
|
||||||
$menu = rofi -show drun
|
$menu = rofi -show drun
|
||||||
|
|
||||||
|
|
||||||
|
@ -1,6 +1,8 @@
|
|||||||
{ lib, ... }:
|
{ lib, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
|
home.file.".face.png".source = ./face.png;
|
||||||
|
# TODO style face and wallpaper
|
||||||
programs.hyprlock = {
|
programs.hyprlock = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = {
|
settings = {
|
||||||
@ -57,6 +59,16 @@
|
|||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
|
# USER AVATAR
|
||||||
|
image = {
|
||||||
|
path = "~/.face.png";
|
||||||
|
size = 100;
|
||||||
|
border_color = "$accent";
|
||||||
|
position = "0, 75";
|
||||||
|
halign = "center";
|
||||||
|
valign = "center";
|
||||||
|
};
|
||||||
|
|
||||||
# INPUT FIELD
|
# INPUT FIELD
|
||||||
input-field = {
|
input-field = {
|
||||||
size = "300, 60";
|
size = "300, 60";
|
||||||
@ -74,7 +86,7 @@
|
|||||||
fail_color = lib.mkDefault "$red";
|
fail_color = lib.mkDefault "$red";
|
||||||
fail_text = "<i>$FAIL <b>($ATTEMPTS)</b></i>";
|
fail_text = "<i>$FAIL <b>($ATTEMPTS)</b></i>";
|
||||||
capslock_color = lib.mkDefault "$yellow";
|
capslock_color = lib.mkDefault "$yellow";
|
||||||
position = "0, -20%";
|
position = "0, -47";
|
||||||
halign = "center";
|
halign = "center";
|
||||||
valign = "center";
|
valign = "center";
|
||||||
};
|
};
|
||||||
|
BIN
home/hyprland/hyprlock/face.png
Normal file
BIN
home/hyprland/hyprlock/face.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 243 KiB |
21
sddm.nix
21
sddm.nix
@ -1,21 +0,0 @@
|
|||||||
{ pkgs, ... }:
|
|
||||||
|
|
||||||
{
|
|
||||||
environment.systemPackages = with pkgs; [
|
|
||||||
(catppuccin-sddm.override {
|
|
||||||
flavor = "mocha";
|
|
||||||
font = "Noto Sans";
|
|
||||||
fontSize = "9";
|
|
||||||
background = "${./catppuccin_high.png}";
|
|
||||||
loginBackground = true;
|
|
||||||
})
|
|
||||||
];
|
|
||||||
|
|
||||||
services.displayManager.sddm = {
|
|
||||||
enable = true;
|
|
||||||
theme = "catppuccin-mocha";
|
|
||||||
autoNumlock = true; # Enable numlock at login # TODO doesn't work
|
|
||||||
wayland.enable = true;
|
|
||||||
package = pkgs.kdePackages.sddm;
|
|
||||||
};
|
|
||||||
}
|
|
27
terminal/mocha.toml
Normal file
27
terminal/mocha.toml
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
[palettes.catppuccin_mocha]
|
||||||
|
rosewater = "#f5e0dc"
|
||||||
|
flamingo = "#f2cdcd"
|
||||||
|
pink = "#f5c2e7"
|
||||||
|
mauve = "#cba6f7"
|
||||||
|
red = "#f38ba8"
|
||||||
|
maroon = "#eba0ac"
|
||||||
|
peach = "#fab387"
|
||||||
|
yellow = "#f9e2af"
|
||||||
|
green = "#a6e3a1"
|
||||||
|
teal = "#94e2d5"
|
||||||
|
sky = "#89dceb"
|
||||||
|
sapphire = "#74c7ec"
|
||||||
|
blue = "#89b4fa"
|
||||||
|
lavender = "#b4befe"
|
||||||
|
text = "#cdd6f4"
|
||||||
|
subtext1 = "#bac2de"
|
||||||
|
subtext0 = "#a6adc8"
|
||||||
|
overlay2 = "#9399b2"
|
||||||
|
overlay1 = "#7f849c"
|
||||||
|
overlay0 = "#6c7086"
|
||||||
|
surface2 = "#585b70"
|
||||||
|
surface1 = "#45475a"
|
||||||
|
surface0 = "#313244"
|
||||||
|
base = "#1e1e2e"
|
||||||
|
mantle = "#181825"
|
||||||
|
crust = "#11111b"
|
Loading…
x
Reference in New Issue
Block a user