updates
Signed-off-by: gwg313 <gwg313@pm.me>
This commit is contained in:
parent
0d1d451171
commit
5f9fb27ebb
17 changed files with 201 additions and 120 deletions
|
|
@ -29,6 +29,7 @@
|
|||
attic-client
|
||||
ncdu
|
||||
minio-client
|
||||
kanata
|
||||
|
||||
# Editors
|
||||
# neovim # Improved version of vim, often used with overlays.
|
||||
|
|
|
|||
|
|
@ -1,12 +0,0 @@
|
|||
{
|
||||
services.gammastep = {
|
||||
enable = true;
|
||||
latitude = 45.4;
|
||||
longitude = -75.7;
|
||||
temperature = {
|
||||
day = 6500;
|
||||
night = 3500;
|
||||
};
|
||||
tray = true;
|
||||
};
|
||||
}
|
||||
|
|
@ -12,14 +12,15 @@
|
|||
# background-opacity = 0.8;
|
||||
background-opacity = 1;
|
||||
confirm-close-surface = false;
|
||||
font-family = lib.mkForce "Comic Code Ligatures";
|
||||
font-size = 16;
|
||||
# font-family = lib.mkForce "Comic Code Ligatures";
|
||||
font-family = lib.mkForce "Terminus";
|
||||
font-size = 9;
|
||||
gtk-titlebar = false;
|
||||
# theme = "Teerb";
|
||||
};
|
||||
|
||||
};
|
||||
home.packages = with pkgs; [
|
||||
ueberzugpp
|
||||
terminus_font_ttf
|
||||
];
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,25 +1,12 @@
|
|||
# Discord is a popular chat application.
|
||||
{ inputs, ... }:
|
||||
{
|
||||
# ...
|
||||
# imports = [inputs.nixcord.homeModules.nixcord];
|
||||
|
||||
programs.nixcord = {
|
||||
enable = true;
|
||||
# quickCss = "some CSS";
|
||||
config = {
|
||||
# useQuickCss = true;
|
||||
themeLinks = [
|
||||
];
|
||||
frameless = true; # set some Vencord options
|
||||
plugins = {
|
||||
hideAttachments.enable = true;
|
||||
ignoreActivities = {
|
||||
enable = true;
|
||||
ignorePlaying = true;
|
||||
ignoreWatching = true;
|
||||
# ignoredActivities = [ "someActivity" ];
|
||||
};
|
||||
};
|
||||
};
|
||||
extraConfig = {
|
||||
frameless = true;
|
||||
};
|
||||
};
|
||||
# ...
|
||||
}
|
||||
|
|
|
|||
|
|
@ -44,6 +44,13 @@
|
|||
bash.enable = true;
|
||||
nix.enable = true;
|
||||
tailwind.enable = true;
|
||||
typst = {
|
||||
enable = true;
|
||||
lsp.enable = true;
|
||||
lsp.server = "tinymist";
|
||||
format.enable = true;
|
||||
treesitter.enable = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,87 +1,27 @@
|
|||
# Zen is a minimalistic web browser.
|
||||
{ inputs, ... }:
|
||||
{
|
||||
pkgs,
|
||||
config,
|
||||
inputs,
|
||||
...
|
||||
}:
|
||||
let
|
||||
accent = "#${config.lib.stylix.colors.base0D}";
|
||||
background = "#${config.lib.stylix.colors.base00}";
|
||||
foreground = "#${config.lib.stylix.colors.base05}";
|
||||
muted = "#${config.lib.stylix.colors.base03}";
|
||||
imports = [
|
||||
inputs.zen-browser.homeModules.beta
|
||||
];
|
||||
|
||||
settings = ''
|
||||
{
|
||||
"config": {
|
||||
"title" : "Welcome Home",
|
||||
"openLinksInNewTab": false,
|
||||
"locale": "en-US",
|
||||
"colors": {
|
||||
"primary": "${accent}",
|
||||
"background": "${background}",
|
||||
"foreground": "${foreground}",
|
||||
"muted": "#${muted}"
|
||||
},
|
||||
"folders": [
|
||||
{
|
||||
"name": "Bookmarks",
|
||||
"links": [
|
||||
{"title": "MyNixOs", "url": "https://mynixos.com", "icon": ""},
|
||||
{"title": "Github", "url": "https://github.com", "icon": ""},
|
||||
{"title": "Proton", "url": "https://mail.proton.me/u/0/inbox", "icon": ""},
|
||||
{"title": "Chat GPT", "url": "https://chat.openai.com/", "icon": ""},
|
||||
{"title": "Nixvim", "url": "https://nix-community.github.io/nixvim/", "icon": ""},
|
||||
{"title": "Hyprland Wiki", "url": "https://wiki.hyprland.org/", "icon": ""},
|
||||
{"title": "Youtube", "url": "https://youtube.com", "icon": ""}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "Uni",
|
||||
"links": [
|
||||
{"title": "Outlook", "url": "https://outlook.office.com/mail/", "icon": ""},
|
||||
{"title": "Office", "url": "https://www.office.com/?auth=2", "icon": ""},
|
||||
{"title": "Teams", "url": "https://teams.microsoft.com/_", "icon": ""},
|
||||
{"title": "Brightspace", "url": "https://carleton.ca/brightspace/_", "icon": ""}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
'';
|
||||
programs.zen-browser = {
|
||||
enable = true;
|
||||
policies = {
|
||||
DisableAppUpdate = true;
|
||||
DisableTelemetry = true;
|
||||
|
||||
homepage = pkgs.buildNpmPackage {
|
||||
pname = "homepage";
|
||||
version = "0.0.0";
|
||||
|
||||
src = pkgs.fetchFromGitHub {
|
||||
owner = "gwg313";
|
||||
repo = "homepage";
|
||||
rev = "b77d35ed3596eb451bd2ec78063d7cc6e73c773d";
|
||||
hash = "sha256-j/40922kfAh6zqJ4IRYpr66YXNNYsxuXwZ0aiJFJea0=";
|
||||
};
|
||||
|
||||
# npmDepsHash = lib.fakeHash;
|
||||
npmDepsHash = "sha256-bG+CHTq2Rst3JMxsjAC81KhK+G7WwsTVD1eyP87g0z4=";
|
||||
|
||||
buildPhase = ''
|
||||
npm install
|
||||
cp ${pkgs.writeText "src/routes/config.json" settings} src/routes/config.json
|
||||
npm run build
|
||||
mkdir $out
|
||||
mv build $out
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "homepage";
|
||||
homepage = "https://github.com/gwg313/homepage";
|
||||
AutofillAddressesEnabled = false;
|
||||
AutoFillCreditCardEnabled = false;
|
||||
DisablePocket = true;
|
||||
DisableProfileImport = true;
|
||||
DisableSetDesktopBackground = true;
|
||||
DontCheckDefaultBrowser = true;
|
||||
HomepageURL = "https://duckduckgo.com";
|
||||
StartPage = "homepage";
|
||||
NewTabPage = true;
|
||||
OfferToSaveLogins = false;
|
||||
# find more options here: https://mozilla.github.io/policy-templates/
|
||||
};
|
||||
};
|
||||
in
|
||||
{
|
||||
home.file.".config/homepage" = {
|
||||
source = "${homepage}/build";
|
||||
recursive = true;
|
||||
};
|
||||
|
||||
home.packages = with pkgs; [ inputs.zen-browser.packages."${system}".default ];
|
||||
}
|
||||
|
|
|
|||
|
|
@ -76,4 +76,42 @@ in
|
|||
night-shift-status
|
||||
night-shift-status-icon
|
||||
];
|
||||
|
||||
systemd.user.services.night-shift-on = {
|
||||
Unit = {
|
||||
Description = "Enable Night Shift at 8:30PM";
|
||||
};
|
||||
Service = {
|
||||
ExecStart = "${night-shift-on}/bin/night-shift-on";
|
||||
};
|
||||
};
|
||||
|
||||
systemd.user.timers.night-shift-on = {
|
||||
Unit = {
|
||||
Description = "Timer for Night Shift ON";
|
||||
};
|
||||
Timer = {
|
||||
OnCalendar = "*-*-* 20:30:00";
|
||||
Persistent = true;
|
||||
};
|
||||
};
|
||||
|
||||
systemd.user.services.night-shift-off = {
|
||||
Unit = {
|
||||
Description = "Disable Night Shift at 6:35AM";
|
||||
};
|
||||
Service = {
|
||||
ExecStart = "${night-shift-off}/bin/night-shift-off";
|
||||
};
|
||||
};
|
||||
|
||||
systemd.user.timers.night-shift-off = {
|
||||
Unit = {
|
||||
Description = "Timer for Night Shift OFF";
|
||||
};
|
||||
Timer = {
|
||||
OnCalendar = "*-*-* 06:31:00";
|
||||
Persistent = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue