Compare commits

..

3 Commits

Author SHA1 Message Date
bd54abed0b Add zen 2025-03-15 01:05:15 +00:00
c13476e500 Goo 2025-03-15 00:01:02 +00:00
0e91761bf6 idk 2025-03-14 23:59:13 +00:00
9 changed files with 108 additions and 12 deletions

21
flake.lock generated
View File

@@ -504,6 +504,7 @@
"i3utils": "i3utils",
"nixgl": "nixgl",
"nixpkgs": "nixpkgs_3",
"zen-browser": "zen-browser",
"zig": "zig"
}
},
@@ -552,6 +553,26 @@
"type": "github"
}
},
"zen-browser": {
"inputs": {
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1741554872,
"narHash": "sha256-A/Iim9o0hHJjDJVynwtLzkox7NquvPc8CsJ/8OB4dDw=",
"owner": "0xc000022070",
"repo": "zen-browser-flake",
"rev": "a4408170c5a2168bb79abcf587c5072e2ee5fb90",
"type": "github"
},
"original": {
"owner": "0xc000022070",
"repo": "zen-browser-flake",
"type": "github"
}
},
"zig": {
"inputs": {
"flake-compat": "flake-compat_2",

View File

@@ -22,6 +22,9 @@
nixgl.url = "github:/guibou/nixGL";
nixgl.inputs.nixpkgs.follows = "nixpkgs";
zen-browser.url = "github:0xc000022070/zen-browser-flake";
zen-browser.inputs.nixpkgs.follows = "nixpkgs";
zig.url = "github:mitchellh/zig-overlay";
};
@@ -33,20 +36,26 @@
home-manager,
i3utils,
nixgl,
zen-browser,
zig,
...
} @ inputs: let
system = "x86_64-linux";
pkgs =
(import nixpkgs {
inherit system;
config.allowUnfree = true;
overlays = [
golink.overlays.default
nixgl.overlay
zig.overlays.default
(final: prev: {
zen-browser = zen-browser.packages.${prev.system}.default;
})
];
pkgs =
(import nixpkgs {
inherit system;
config.allowUnfree = true;
overlays = overlays;
config.permittedInsecurePackages = [
"electron-25.9.0"
];
@@ -77,6 +86,8 @@
inherit pkgs;
modules = [
{nixpkgs.overlays = overlays;}
./hosts/${hostname}/configuration.nix
agenix.nixosModules.default

View File

@@ -29,6 +29,10 @@ in {
# nix flakes compatibility
nix = {
settings.trusted-users = [
"root"
"daniel"
];
extraOptions = ''
experimental-features = nix-command flakes
warn-dirty = false
@@ -76,6 +80,7 @@ in {
nnn
ripgrep
wget
zen-browser
zsh
];

View File

@@ -1,6 +1,7 @@
{
config,
pkgs,
lib,
inputs,
...
}: {
@@ -45,6 +46,7 @@
noto-fonts-emoji
nerd-fonts.iosevka
monocraft
source-code-pro
ubuntu_font_family
];
@@ -69,6 +71,14 @@
};
};
displayManager.sddm = {
enable = true;
package = pkgs.kdePackages.sddm;
wayland.enable = true;
# extraPackages = with pkgs; [(catppuccin-sddm.override {flavor = "macchiato";})];
theme = "maldives";
};
pipewire = {
enable = true;
pulse.enable = true;
@@ -96,12 +106,6 @@
xserver = {
enable = true;
xkb.layout = "gb";
displayManager = {
gdm = {
enable = true;
};
};
};
};
}

View File

@@ -16,6 +16,11 @@ in {
};
};
};
services.swaync = {
enable = true;
};
wayland.windowManager.sway = {
enable = true;
config = {

View File

@@ -1,5 +1,6 @@
{
imports = [
./ghostty
./helix
./kitty
./nb

View File

@@ -0,0 +1,30 @@
font-family = Iosevka Nerd Font
font-size = 12
theme = catppuccin-macchiato
cursor-style = block
shell-integration-features = no-cursor
window-theme = ghostty
window-decoration = false
unfocused-split-opacity = 1
keybind = ctrl+shift+enter>ctrl+shift+h=new_split:left
keybind = ctrl+shift+enter>ctrl+shift+l=new_split:right
keybind = ctrl+shift+enter>ctrl+shift+k=new_split:up
keybind = ctrl+shift+enter>ctrl+shift+j=new_split:down
keybind = ctrl+shift+enter>h=new_split:left
keybind = ctrl+shift+enter>l=new_split:right
keybind = ctrl+shift+enter>k=new_split:up
keybind = ctrl+shift+enter>j=new_split:down
keybind = ctrl+shift+f=toggle_split_zoom
keybind = ctrl+shift+h=goto_split:left
keybind = ctrl+shift+l=goto_split:right
keybind = ctrl+shift+k=goto_split:top
keybind = ctrl+shift+j=goto_split:bottom
keybind = ctrl+shift+m=toggle_tab_overview

View File

@@ -0,0 +1,14 @@
{
pkgs,
lib,
hostname,
...
}: {
home.file.".config/ghostty/config" = {
source = ./config;
};
programs.ghostty = {
enable = true;
};
}

View File

@@ -37,7 +37,7 @@
rust-analyzer
unzip
zip
zigpkgs."0.13.0"
zigpkgs."0.14.0"
zls
];
@@ -60,6 +60,7 @@
pavucontrol
playerctl
slurp
source-code-pro
spotify
swaylock
udiskie
@@ -121,6 +122,10 @@ in {
# Let Home Manager install and manage itself.
home-manager.enable = true;
emacs = {
enable = true;
};
fzf = {
enable = true;
enableZshIntegration = true;