add outline
This commit is contained in:
parent
7871b2f1b4
commit
f23437064d
12
flake.lock
12
flake.lock
|
@ -365,11 +365,11 @@
|
||||||
"utils": "utils_2"
|
"utils": "utils_2"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1663619079,
|
"lastModified": 1663629861,
|
||||||
"narHash": "sha256-xdv2knlxIHIlOMqaSXhvJlMoruE13ZV5WpNfRmKUk1E=",
|
"narHash": "sha256-CjfQUyPfG/hkE4jnMcTvVJ0ubc84u8ySruZL+emXMjw=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "home-manager",
|
"repo": "home-manager",
|
||||||
"rev": "df79df8be10bc54d79118ac6167a92b779344228",
|
"rev": "41790ba656bafc023f48ccdbbe7816d30fd52d76",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -384,11 +384,11 @@
|
||||||
"wlroots": "wlroots"
|
"wlroots": "wlroots"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1663618128,
|
"lastModified": 1663665418,
|
||||||
"narHash": "sha256-E/TgcXiKhVynyc68bBKm1NuQYQ6sqwI9W7UBA3ohBwY=",
|
"narHash": "sha256-FfHLjo7Cz1U0GRKaGwmBOrbv25LhFfKXkLaJ/PCelHY=",
|
||||||
"owner": "hyprwm",
|
"owner": "hyprwm",
|
||||||
"repo": "Hyprland",
|
"repo": "Hyprland",
|
||||||
"rev": "a8943246a79faff415f2da7e210e80ae51b00d95",
|
"rev": "cde624ec6a98b751e67967cbaffd68b1215e8531",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
|
@ -16,6 +16,7 @@
|
||||||
hostname = "dhcp";
|
hostname = "dhcp";
|
||||||
ip = "10.42.42.3";
|
ip = "10.42.42.3";
|
||||||
mac = "3E:2D:E8:AA:E2:81";
|
mac = "3E:2D:E8:AA:E2:81";
|
||||||
|
tags = [ "networking" ];
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
hostname = "bastion";
|
hostname = "bastion";
|
||||||
|
@ -61,22 +62,24 @@
|
||||||
mac = "74:40:be:48:85:a4";
|
mac = "74:40:be:48:85:a4";
|
||||||
nix = false;
|
nix = false;
|
||||||
}
|
}
|
||||||
# {
|
{
|
||||||
# ip = "10.42.42.14";
|
hostname = "outline";
|
||||||
# }
|
mac = "52:13:EB:FD:87:F0";
|
||||||
|
ip = "10.42.42.14";
|
||||||
|
}
|
||||||
{
|
{
|
||||||
hostname = "dns-1";
|
hostname = "dns-1";
|
||||||
profile = "dns";
|
profile = "dns";
|
||||||
ip = "10.42.42.15";
|
ip = "10.42.42.15";
|
||||||
mac = "5E:F6:36:23:16:E3";
|
mac = "5E:F6:36:23:16:E3";
|
||||||
tags = [ "dns" ];
|
tags = [ "dns" "networking" ];
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
hostname = "dns-2";
|
hostname = "dns-2";
|
||||||
profile = "dns";
|
profile = "dns";
|
||||||
ip = "10.42.42.16";
|
ip = "10.42.42.16";
|
||||||
mac = "B6:04:0B:CD:0F:9F";
|
mac = "B6:04:0B:CD:0F:9F";
|
||||||
tags = [ "dns" ];
|
tags = [ "dns" "networking" ];
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
hostname = "minio";
|
hostname = "minio";
|
||||||
|
|
22
nixos/hosts/olympus/outline/configuration.nix
Normal file
22
nixos/hosts/olympus/outline/configuration.nix
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
# Edit this configuration file to define what should be installed on
|
||||||
|
# your system. Help is available in the configuration.nix(5) man page
|
||||||
|
# and in the NixOS manual (accessible by running ‘nixos-help’).
|
||||||
|
|
||||||
|
{ config, pkgs, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
imports = [ ];
|
||||||
|
|
||||||
|
# This value determines the NixOS release from which the default
|
||||||
|
# settings for stateful data, like file locations and database versions
|
||||||
|
# on your system were taken. It‘s perfectly fine and recommended to leave
|
||||||
|
# this value at the release version of the first install of this system.
|
||||||
|
# Before changing this value read the documentation for this option
|
||||||
|
# (e.g. man configuration.nix or on https://nixos.org/nixos/options.html).
|
||||||
|
system.stateVersion = "22.11"; # Did you read the comment?
|
||||||
|
|
||||||
|
# Additional packages
|
||||||
|
environment.systemPackages = with pkgs; [ ];
|
||||||
|
|
||||||
|
networking.firewall.allowedTCPPorts = [ ];
|
||||||
|
}
|
|
@ -32,6 +32,7 @@
|
||||||
kubectl
|
kubectl
|
||||||
libnotify
|
libnotify
|
||||||
neofetch
|
neofetch
|
||||||
|
networkmanagerapplet
|
||||||
nixpkgs-review
|
nixpkgs-review
|
||||||
pulseview
|
pulseview
|
||||||
python3
|
python3
|
||||||
|
|
|
@ -5,105 +5,122 @@
|
||||||
wallpaper = eDP-1,~/cloud/Pictures/Wallpapers-Laptop/wallpaper-nix-pink.png
|
wallpaper = eDP-1,~/cloud/Pictures/Wallpapers-Laptop/wallpaper-nix-pink.png
|
||||||
'';
|
'';
|
||||||
|
|
||||||
wayland.windowManager.hyprland = {
|
wayland.windowManager.hyprland =
|
||||||
enable = true;
|
let
|
||||||
extraConfig = ''
|
startup-script = pkgs.writeScriptBin "startup" ''
|
||||||
exec-once=${pkgs.hyprpaper}/bin/hyprpaper
|
#!${pkgs.stdenv.shell}
|
||||||
exec-once=hyprctl setcursor Catppuccin-Frappe-Pink-Cursors 32
|
hyprctl setcursor Catppuccin-Frappe-Pink-Cursors 32
|
||||||
exec-once=${pkgs.xsettingsd}/bin/xsettingsd &
|
${pkgs.hyprpaper}/bin/hyprpaper &
|
||||||
exec-once=foot --server &
|
${pkgs.xsettingsd}/bin/xsettingsd &
|
||||||
exec-once=eww daemon
|
foot --server &
|
||||||
exec-once=eww open bar
|
eww daemon &
|
||||||
|
eww open bar &
|
||||||
monitor=eDP-1,1920x1080@60,0x0,1
|
firefox-devedition &
|
||||||
monitor=eDP-1,addreserved,0,0,48,0
|
webcord &
|
||||||
monitor=,preferred,auto,1
|
element-desktop &
|
||||||
|
'';
|
||||||
|
in
|
||||||
|
{
|
||||||
|
enable = true;
|
||||||
|
extraConfig = ''
|
||||||
|
monitor=eDP-1,1920x1080@60,0x0,1
|
||||||
|
monitor=eDP-1,addreserved,0,0,48,0
|
||||||
|
monitor=,preferred,auto,1
|
||||||
|
|
||||||
general {
|
windowrulev2 = workspace 1,class:^(Electron)$,title:^(.*)(WebCord)(.*)$
|
||||||
layout = dwindle
|
windowrulev2 = workspace 1,title:^(Element)(.*)$
|
||||||
col.active_border = 0xfff4b8e4
|
windowrulev2 = workspace 2,class:^(firefox-aurora)$
|
||||||
}
|
|
||||||
|
|
||||||
input {
|
general {
|
||||||
kb_options=caps:escape
|
layout = dwindle
|
||||||
touchpad {
|
col.active_border = 0xfff4b8e4
|
||||||
natural_scroll= true
|
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
gestures {
|
input {
|
||||||
workspace_swipe = true
|
kb_options=caps:escape
|
||||||
}
|
touchpad {
|
||||||
|
natural_scroll= true
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
misc {
|
gestures {
|
||||||
no_vfr = false
|
workspace_swipe = true
|
||||||
disable_hyprland_logo = true
|
}
|
||||||
disable_splash_rendering = true
|
|
||||||
}
|
|
||||||
|
|
||||||
dwindle {
|
misc {
|
||||||
pseudotile=true
|
no_vfr = false
|
||||||
}
|
disable_hyprland_logo = true
|
||||||
|
disable_splash_rendering = true
|
||||||
|
}
|
||||||
|
|
||||||
bind=SUPER,RETURN,exec,footclient
|
dwindle {
|
||||||
bind=SUPER,f,exec,firefox-devedition
|
pseudotile=true
|
||||||
bind=SUPER,d,exec,wofi --show run,drun
|
}
|
||||||
|
|
||||||
bind=,Print,exec,grim -g "$(slurp)" - | wl-copy -t image/png
|
bind=SUPER,RETURN,exec,footclient
|
||||||
bind=SUPER,W,killactive,
|
bind=SUPER,f,exec,firefox-devedition
|
||||||
bind=SUPERSHIFT,Q,exit,
|
bind=SUPER,d,exec,wofi --show run,drun
|
||||||
bind=SUPER,S,togglefloating,
|
|
||||||
bind=SUPER,P,pseudo,
|
|
||||||
|
|
||||||
bind=SUPER,left,movefocus,l
|
bind=,Print,exec,grim -g "$(slurp)" - | wl-copy -t image/png
|
||||||
bind=SUPER,right,movefocus,r
|
bind=SUPER,W,killactive,
|
||||||
bind=SUPER,up,movefocus,u
|
bind=SUPERSHIFT,Q,exit,
|
||||||
bind=SUPER,down,movefocus,d
|
bind=SUPER,S,togglefloating,
|
||||||
|
bind=SUPER,P,pseudo,
|
||||||
|
|
||||||
bind=SUPER,1,workspace,1
|
bind=SUPER,left,movefocus,l
|
||||||
bind=SUPER,2,workspace,2
|
bind=SUPER,right,movefocus,r
|
||||||
bind=SUPER,3,workspace,3
|
bind=SUPER,up,movefocus,u
|
||||||
bind=SUPER,4,workspace,4
|
bind=SUPER,down,movefocus,d
|
||||||
bind=SUPER,5,workspace,5
|
|
||||||
bind=SUPER,6,workspace,6
|
|
||||||
bind=SUPER,7,workspace,7
|
|
||||||
bind=SUPER,8,workspace,8
|
|
||||||
bind=SUPER,9,workspace,9
|
|
||||||
bind=SUPER,0,workspace,10
|
|
||||||
|
|
||||||
bind=ALT,1,movetoworkspace,1
|
bind=SUPER,1,workspace,1
|
||||||
bind=ALT,2,movetoworkspace,2
|
bind=SUPER,2,workspace,2
|
||||||
bind=ALT,3,movetoworkspace,3
|
bind=SUPER,3,workspace,3
|
||||||
bind=ALT,4,movetoworkspace,4
|
bind=SUPER,4,workspace,4
|
||||||
bind=ALT,5,movetoworkspace,5
|
bind=SUPER,5,workspace,5
|
||||||
bind=ALT,6,movetoworkspace,6
|
bind=SUPER,6,workspace,6
|
||||||
bind=ALT,7,movetoworkspace,7
|
bind=SUPER,7,workspace,7
|
||||||
bind=ALT,8,movetoworkspace,8
|
bind=SUPER,8,workspace,8
|
||||||
bind=ALT,9,movetoworkspace,9
|
bind=SUPER,9,workspace,9
|
||||||
bind=ALT,0,movetoworkspace,10
|
bind=SUPER,0,workspace,10
|
||||||
|
bind=SUPER,grave,togglespecialworkspace
|
||||||
|
|
||||||
bind=SUPERSHIFT,1,movetoworkspacesilent,1
|
bind=ALT,1,movetoworkspace,1
|
||||||
bind=SUPERSHIFT,2,movetoworkspacesilent,2
|
bind=ALT,2,movetoworkspace,2
|
||||||
bind=SUPERSHIFT,3,movetoworkspacesilent,3
|
bind=ALT,3,movetoworkspace,3
|
||||||
bind=SUPERSHIFT,4,movetoworkspacesilent,4
|
bind=ALT,4,movetoworkspace,4
|
||||||
bind=SUPERSHIFT,5,movetoworkspacesilent,5
|
bind=ALT,5,movetoworkspace,5
|
||||||
bind=SUPERSHIFT,6,movetoworkspacesilent,6
|
bind=ALT,6,movetoworkspace,6
|
||||||
bind=SUPERSHIFT,7,movetoworkspacesilent,7
|
bind=ALT,7,movetoworkspace,7
|
||||||
bind=SUPERSHIFT,8,movetoworkspacesilent,8
|
bind=ALT,8,movetoworkspace,8
|
||||||
bind=SUPERSHIFT,9,movetoworkspacesilent,9
|
bind=ALT,9,movetoworkspace,9
|
||||||
bind=SUPERSHIFT,0,movetoworkspacesilent,10
|
bind=ALT,0,movetoworkspace,10
|
||||||
|
bind=ALT,grave,movetoworkspace,special
|
||||||
|
|
||||||
bind=SUPER,mouse_down,workspace,e+1
|
bind=SUPERSHIFT,1,movetoworkspacesilent,1
|
||||||
bind=SUPER,mouse_up,workspace,e-1
|
bind=SUPERSHIFT,2,movetoworkspacesilent,2
|
||||||
|
bind=SUPERSHIFT,3,movetoworkspacesilent,3
|
||||||
|
bind=SUPERSHIFT,4,movetoworkspacesilent,4
|
||||||
|
bind=SUPERSHIFT,5,movetoworkspacesilent,5
|
||||||
|
bind=SUPERSHIFT,6,movetoworkspacesilent,6
|
||||||
|
bind=SUPERSHIFT,7,movetoworkspacesilent,7
|
||||||
|
bind=SUPERSHIFT,8,movetoworkspacesilent,8
|
||||||
|
bind=SUPERSHIFT,9,movetoworkspacesilent,9
|
||||||
|
bind=SUPERSHIFT,0,movetoworkspacesilent,10
|
||||||
|
bind=SUPERSHIFT,grave,movetoworkspacesilent,special
|
||||||
|
|
||||||
bind=SUPER,g,togglegroup
|
bind=SUPER,mouse_down,workspace,e+1
|
||||||
bind=SUPER,tab,changegroupactive
|
bind=SUPER,mouse_up,workspace,e-1
|
||||||
|
|
||||||
bind=,XF86MonBrightnessUp,exec,brightnessctl -q s +5%
|
bind=SUPER,g,togglegroup
|
||||||
bind=,XF86MonBrightnessDown,exec,brightnessctl -q s 5%-
|
bind=SUPER,tab,changegroupactive
|
||||||
bind=,XF86MonRaiseVolume,exec,pamixer -i 5
|
|
||||||
bind=,XF86MonLowerVolume,exec,pamixer -d 5
|
bind=,XF86MonBrightnessUp,exec,brightnessctl -q s +5%
|
||||||
bind=,XF86AudioMute,exec,pamixer -t
|
bind=,XF86MonBrightnessDown,exec,brightnessctl -q s 5%-
|
||||||
'';
|
bind=,XF86MonRaiseVolume,exec,pamixer -i 5
|
||||||
};
|
bind=,XF86MonLowerVolume,exec,pamixer -d 5
|
||||||
|
bind=,XF86AudioMute,exec,pamixer -t
|
||||||
|
|
||||||
|
exec-once=${startup-script}/bin/startup
|
||||||
|
'';
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue