add hideous green color oh god oh fuck o

This commit is contained in:
zoe 2023-02-21 21:58:09 +01:00
parent f5d5b561e3
commit 2bc0ad7338
9 changed files with 61 additions and 15 deletions

View File

@ -14,6 +14,8 @@
./services.nix
./programs.nix
./disks.nix
./defaults.nix
./variables.nix
];
# kernel
@ -53,7 +55,7 @@
xdg.portal.extraPortals = [pkgs.xdg-desktop-portal-gtk];
# hostname
networking.hostName = "cat"; # Define your hostname.
networking.hostName = "bat"; # Define your hostname.
# Enable networking
networking.networkmanager.enable = true;

17
defaults.nix Normal file
View File

@ -0,0 +1,17 @@
{ ... }:
let
# /etc/profiles/per-user/<username>/share/applications/
browser = "firefox.desktop";
image_viewer = "org.gnome.eog.desktop";
video_player = "mpv.desktop";
file_browser = "org.gnome.Nautilus.desktop";
pdf_viewer = "org.gnome.Evince.desktop";
in
{
xdg.mime.defaultApplications = {
"text/html" = browser;
"inode/directory" = file_browser;
"application/pdf" = pdf_viewer;
"image/*" = image_viewer;
};
}

View File

@ -10,7 +10,9 @@ let
helixCustom = import ./helix/settings.nix;
in
{
home-manager.users.zoe = { pkgs, ... }: {
imports = [ ./variables.nix ];
home-manager.users.zoe = { pkgs, config, ... }:
{
home.stateVersion = "22.11";
programs.kitty = kittyCustom pkgs;
programs.neovim = nvimCustom pkgs;
@ -33,6 +35,14 @@ in
save-position-on-quit = true;
};
services.picom = {
enable = true;
package = pkgs.picom-jonaburg;
fade = true;
fadeDelta = 2;
extraArgs = ["--experimental-backends"];
};
programs.ssh.enable = true;
programs.ssh.matchBlocks = {
"cookie" = {

View File

@ -120,8 +120,8 @@ in
border = 4;
};
gaps = {
inner = 0;
outer = 0;
inner = 4;
outer = 4;
};
bars = [
@ -160,7 +160,8 @@ in
];
startup = [
{ command = "--no-startup-id autotiling"; always = true; }
{ command = "--no-startup-id feh --bg-scale /etc/nixos/wallpaper.png"; always = true; }
{ command = "picom --experimental-backends"; always = true;}
{ command = "--no-startup-id autotiling"; always = true; }
];
}

View File

@ -1,5 +1,7 @@
{ ... }:
{ config, ... }:
{
imports = [ ../variables.nix ];
blocks = [
# music
{
@ -58,12 +60,13 @@
overrides = {
separator = "";
# background
good_bg = "#f9f5d7";
critical_bg = "#f9f5d7";
idle_bg = "#f9f5d7";
info_bg = "#f9f5d7";
seperator_bg = "#f9f5d7";
warning_bg = "#f9f5d7";
good_bg = config.color.zero;
critical_bg = config.color.zero;
idle_bg = config.color.zero;
info_bg = config.color.zero;
seperator_bg = config.color.zero;
warning_bg = config.color.zero;
# foreground
critical_fg = "#9d0006";
good_fg = "#79740e";

View File

@ -4,6 +4,8 @@
syncthing.enable = true;
mullvad-vpn.enable = true;
udisks2.enable = true;
gnome.sushi.enable = true;
getty.autologinUser = "zoe";
gvfs.enable = true;
};
}

View File

@ -7,7 +7,7 @@ git pull
# cp -r /etc/nixos/ ./backup
# copy over all the files to /etc/nixos/
sudo cp -ru ./configuration.nix ./wallpaper.png ./dunst ./helix ./rofi ./i3 ./fish ./kitty ./nvim/ ./disks.nix ./programs.nix ./packages.nix ./home.nix ./services.nix ./user.nix /etc/nixos/
sudo cp -ru ./configuration.nix ./wallpaper.png ./dunst ./helix ./rofi ./i3 ./fish ./kitty ./nvim/ ./disks.nix ./variables.nix ./programs.nix ./defaults.nix ./packages.nix ./home.nix ./services.nix ./user.nix /etc/nixos/
cp -u ./.xinitrc $HOME
cp -ur ./cursors $HOME/.local/share/icons

View File

@ -29,7 +29,7 @@ in
# files and partitions
gnome.gnome-disk-utility
pcmanfm
gnome.nautilus
p7zip
xarchiver
tree
@ -50,7 +50,7 @@ in
# images
feh
viewnior
gnome.eog
gimp
krita
gnome.cheese

11
variables.nix Normal file
View File

@ -0,0 +1,11 @@
{ config, pkgs, lib, ...}:
with lib;
{
options = {
color.zero = mkOption {
type = types.str;
description = "background";
default = "#00ff00";
};
};
}