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 ./services.nix
./programs.nix ./programs.nix
./disks.nix ./disks.nix
./defaults.nix
./variables.nix
]; ];
# kernel # kernel
@ -53,7 +55,7 @@
xdg.portal.extraPortals = [pkgs.xdg-desktop-portal-gtk]; xdg.portal.extraPortals = [pkgs.xdg-desktop-portal-gtk];
# hostname # hostname
networking.hostName = "cat"; # Define your hostname. networking.hostName = "bat"; # Define your hostname.
# Enable networking # Enable networking
networking.networkmanager.enable = true; 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; helixCustom = import ./helix/settings.nix;
in in
{ {
home-manager.users.zoe = { pkgs, ... }: { imports = [ ./variables.nix ];
home-manager.users.zoe = { pkgs, config, ... }:
{
home.stateVersion = "22.11"; home.stateVersion = "22.11";
programs.kitty = kittyCustom pkgs; programs.kitty = kittyCustom pkgs;
programs.neovim = nvimCustom pkgs; programs.neovim = nvimCustom pkgs;
@ -33,6 +35,14 @@ in
save-position-on-quit = true; 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.enable = true;
programs.ssh.matchBlocks = { programs.ssh.matchBlocks = {
"cookie" = { "cookie" = {

View File

@ -120,8 +120,8 @@ in
border = 4; border = 4;
}; };
gaps = { gaps = {
inner = 0; inner = 4;
outer = 0; outer = 4;
}; };
bars = [ bars = [
@ -160,7 +160,8 @@ in
]; ];
startup = [ startup = [
{ command = "--no-startup-id autotiling"; always = true; }
{ command = "--no-startup-id feh --bg-scale /etc/nixos/wallpaper.png"; 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 = [ blocks = [
# music # music
{ {
@ -58,12 +60,13 @@
overrides = { overrides = {
separator = ""; separator = "";
# background # background
good_bg = "#f9f5d7"; good_bg = config.color.zero;
critical_bg = "#f9f5d7"; critical_bg = config.color.zero;
idle_bg = "#f9f5d7"; idle_bg = config.color.zero;
info_bg = "#f9f5d7"; info_bg = config.color.zero;
seperator_bg = "#f9f5d7"; seperator_bg = config.color.zero;
warning_bg = "#f9f5d7"; warning_bg = config.color.zero;
# foreground # foreground
critical_fg = "#9d0006"; critical_fg = "#9d0006";
good_fg = "#79740e"; good_fg = "#79740e";

View File

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

View File

@ -7,7 +7,7 @@ git pull
# cp -r /etc/nixos/ ./backup # cp -r /etc/nixos/ ./backup
# copy over all the files to /etc/nixos/ # 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 -u ./.xinitrc $HOME
cp -ur ./cursors $HOME/.local/share/icons cp -ur ./cursors $HOME/.local/share/icons

View File

@ -29,7 +29,7 @@ in
# files and partitions # files and partitions
gnome.gnome-disk-utility gnome.gnome-disk-utility
pcmanfm gnome.nautilus
p7zip p7zip
xarchiver xarchiver
tree tree
@ -50,7 +50,7 @@ in
# images # images
feh feh
viewnior gnome.eog
gimp gimp
krita krita
gnome.cheese 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";
};
};
}