Compare commits
3 Commits
c18090ec1f
...
bd54abed0b
| Author | SHA1 | Date | |
|---|---|---|---|
| bd54abed0b | |||
| c13476e500 | |||
| 0e91761bf6 |
21
flake.lock
generated
21
flake.lock
generated
@@ -504,6 +504,7 @@
|
|||||||
"i3utils": "i3utils",
|
"i3utils": "i3utils",
|
||||||
"nixgl": "nixgl",
|
"nixgl": "nixgl",
|
||||||
"nixpkgs": "nixpkgs_3",
|
"nixpkgs": "nixpkgs_3",
|
||||||
|
"zen-browser": "zen-browser",
|
||||||
"zig": "zig"
|
"zig": "zig"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -552,6 +553,26 @@
|
|||||||
"type": "github"
|
"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": {
|
"zig": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"flake-compat": "flake-compat_2",
|
"flake-compat": "flake-compat_2",
|
||||||
|
|||||||
19
flake.nix
19
flake.nix
@@ -22,6 +22,9 @@
|
|||||||
nixgl.url = "github:/guibou/nixGL";
|
nixgl.url = "github:/guibou/nixGL";
|
||||||
nixgl.inputs.nixpkgs.follows = "nixpkgs";
|
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";
|
zig.url = "github:mitchellh/zig-overlay";
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -33,20 +36,26 @@
|
|||||||
home-manager,
|
home-manager,
|
||||||
i3utils,
|
i3utils,
|
||||||
nixgl,
|
nixgl,
|
||||||
|
zen-browser,
|
||||||
zig,
|
zig,
|
||||||
...
|
...
|
||||||
} @ inputs: let
|
} @ inputs: let
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
|
|
||||||
pkgs =
|
|
||||||
(import nixpkgs {
|
|
||||||
inherit system;
|
|
||||||
config.allowUnfree = true;
|
|
||||||
overlays = [
|
overlays = [
|
||||||
golink.overlays.default
|
golink.overlays.default
|
||||||
nixgl.overlay
|
nixgl.overlay
|
||||||
zig.overlays.default
|
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 = [
|
config.permittedInsecurePackages = [
|
||||||
"electron-25.9.0"
|
"electron-25.9.0"
|
||||||
];
|
];
|
||||||
@@ -77,6 +86,8 @@
|
|||||||
inherit pkgs;
|
inherit pkgs;
|
||||||
|
|
||||||
modules = [
|
modules = [
|
||||||
|
{nixpkgs.overlays = overlays;}
|
||||||
|
|
||||||
./hosts/${hostname}/configuration.nix
|
./hosts/${hostname}/configuration.nix
|
||||||
|
|
||||||
agenix.nixosModules.default
|
agenix.nixosModules.default
|
||||||
|
|||||||
@@ -29,6 +29,10 @@ in {
|
|||||||
|
|
||||||
# nix flakes compatibility
|
# nix flakes compatibility
|
||||||
nix = {
|
nix = {
|
||||||
|
settings.trusted-users = [
|
||||||
|
"root"
|
||||||
|
"daniel"
|
||||||
|
];
|
||||||
extraOptions = ''
|
extraOptions = ''
|
||||||
experimental-features = nix-command flakes
|
experimental-features = nix-command flakes
|
||||||
warn-dirty = false
|
warn-dirty = false
|
||||||
@@ -76,6 +80,7 @@ in {
|
|||||||
nnn
|
nnn
|
||||||
ripgrep
|
ripgrep
|
||||||
wget
|
wget
|
||||||
|
zen-browser
|
||||||
zsh
|
zsh
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
{
|
{
|
||||||
config,
|
config,
|
||||||
pkgs,
|
pkgs,
|
||||||
|
lib,
|
||||||
inputs,
|
inputs,
|
||||||
...
|
...
|
||||||
}: {
|
}: {
|
||||||
@@ -45,6 +46,7 @@
|
|||||||
noto-fonts-emoji
|
noto-fonts-emoji
|
||||||
nerd-fonts.iosevka
|
nerd-fonts.iosevka
|
||||||
monocraft
|
monocraft
|
||||||
|
source-code-pro
|
||||||
ubuntu_font_family
|
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 = {
|
pipewire = {
|
||||||
enable = true;
|
enable = true;
|
||||||
pulse.enable = true;
|
pulse.enable = true;
|
||||||
@@ -96,12 +106,6 @@
|
|||||||
xserver = {
|
xserver = {
|
||||||
enable = true;
|
enable = true;
|
||||||
xkb.layout = "gb";
|
xkb.layout = "gb";
|
||||||
|
|
||||||
displayManager = {
|
|
||||||
gdm = {
|
|
||||||
enable = true;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -16,6 +16,11 @@ in {
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
services.swaync = {
|
||||||
|
enable = true;
|
||||||
|
};
|
||||||
|
|
||||||
wayland.windowManager.sway = {
|
wayland.windowManager.sway = {
|
||||||
enable = true;
|
enable = true;
|
||||||
config = {
|
config = {
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
|
./ghostty
|
||||||
./helix
|
./helix
|
||||||
./kitty
|
./kitty
|
||||||
./nb
|
./nb
|
||||||
|
|||||||
30
users/configs/system/ghostty/config
Normal file
30
users/configs/system/ghostty/config
Normal 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
|
||||||
14
users/configs/system/ghostty/default.nix
Normal file
14
users/configs/system/ghostty/default.nix
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
{
|
||||||
|
pkgs,
|
||||||
|
lib,
|
||||||
|
hostname,
|
||||||
|
...
|
||||||
|
}: {
|
||||||
|
home.file.".config/ghostty/config" = {
|
||||||
|
source = ./config;
|
||||||
|
};
|
||||||
|
|
||||||
|
programs.ghostty = {
|
||||||
|
enable = true;
|
||||||
|
};
|
||||||
|
}
|
||||||
@@ -37,7 +37,7 @@
|
|||||||
rust-analyzer
|
rust-analyzer
|
||||||
unzip
|
unzip
|
||||||
zip
|
zip
|
||||||
zigpkgs."0.13.0"
|
zigpkgs."0.14.0"
|
||||||
zls
|
zls
|
||||||
];
|
];
|
||||||
|
|
||||||
@@ -60,6 +60,7 @@
|
|||||||
pavucontrol
|
pavucontrol
|
||||||
playerctl
|
playerctl
|
||||||
slurp
|
slurp
|
||||||
|
source-code-pro
|
||||||
spotify
|
spotify
|
||||||
swaylock
|
swaylock
|
||||||
udiskie
|
udiskie
|
||||||
@@ -121,6 +122,10 @@ in {
|
|||||||
# Let Home Manager install and manage itself.
|
# Let Home Manager install and manage itself.
|
||||||
home-manager.enable = true;
|
home-manager.enable = true;
|
||||||
|
|
||||||
|
emacs = {
|
||||||
|
enable = true;
|
||||||
|
};
|
||||||
|
|
||||||
fzf = {
|
fzf = {
|
||||||
enable = true;
|
enable = true;
|
||||||
enableZshIntegration = true;
|
enableZshIntegration = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user