add outline
This commit is contained in:
parent
7871b2f1b4
commit
f23437064d
12
flake.lock
12
flake.lock
|
@ -365,11 +365,11 @@
|
|||
"utils": "utils_2"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1663619079,
|
||||
"narHash": "sha256-xdv2knlxIHIlOMqaSXhvJlMoruE13ZV5WpNfRmKUk1E=",
|
||||
"lastModified": 1663629861,
|
||||
"narHash": "sha256-CjfQUyPfG/hkE4jnMcTvVJ0ubc84u8ySruZL+emXMjw=",
|
||||
"owner": "nix-community",
|
||||
"repo": "home-manager",
|
||||
"rev": "df79df8be10bc54d79118ac6167a92b779344228",
|
||||
"rev": "41790ba656bafc023f48ccdbbe7816d30fd52d76",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
@ -384,11 +384,11 @@
|
|||
"wlroots": "wlroots"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1663618128,
|
||||
"narHash": "sha256-E/TgcXiKhVynyc68bBKm1NuQYQ6sqwI9W7UBA3ohBwY=",
|
||||
"lastModified": 1663665418,
|
||||
"narHash": "sha256-FfHLjo7Cz1U0GRKaGwmBOrbv25LhFfKXkLaJ/PCelHY=",
|
||||
"owner": "hyprwm",
|
||||
"repo": "Hyprland",
|
||||
"rev": "a8943246a79faff415f2da7e210e80ae51b00d95",
|
||||
"rev": "cde624ec6a98b751e67967cbaffd68b1215e8531",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
|
|
@ -16,6 +16,7 @@
|
|||
hostname = "dhcp";
|
||||
ip = "10.42.42.3";
|
||||
mac = "3E:2D:E8:AA:E2:81";
|
||||
tags = [ "networking" ];
|
||||
}
|
||||
{
|
||||
hostname = "bastion";
|
||||
|
@ -61,22 +62,24 @@
|
|||
mac = "74:40:be:48:85:a4";
|
||||
nix = false;
|
||||
}
|
||||
# {
|
||||
# ip = "10.42.42.14";
|
||||
# }
|
||||
{
|
||||
hostname = "outline";
|
||||
mac = "52:13:EB:FD:87:F0";
|
||||
ip = "10.42.42.14";
|
||||
}
|
||||
{
|
||||
hostname = "dns-1";
|
||||
profile = "dns";
|
||||
ip = "10.42.42.15";
|
||||
mac = "5E:F6:36:23:16:E3";
|
||||
tags = [ "dns" ];
|
||||
tags = [ "dns" "networking" ];
|
||||
}
|
||||
{
|
||||
hostname = "dns-2";
|
||||
profile = "dns";
|
||||
ip = "10.42.42.16";
|
||||
mac = "B6:04:0B:CD:0F:9F";
|
||||
tags = [ "dns" ];
|
||||
tags = [ "dns" "networking" ];
|
||||
}
|
||||
{
|
||||
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
|
||||
libnotify
|
||||
neofetch
|
||||
networkmanagerapplet
|
||||
nixpkgs-review
|
||||
pulseview
|
||||
python3
|
||||
|
|
|
@ -5,20 +5,32 @@
|
|||
wallpaper = eDP-1,~/cloud/Pictures/Wallpapers-Laptop/wallpaper-nix-pink.png
|
||||
'';
|
||||
|
||||
wayland.windowManager.hyprland = {
|
||||
wayland.windowManager.hyprland =
|
||||
let
|
||||
startup-script = pkgs.writeScriptBin "startup" ''
|
||||
#!${pkgs.stdenv.shell}
|
||||
hyprctl setcursor Catppuccin-Frappe-Pink-Cursors 32
|
||||
${pkgs.hyprpaper}/bin/hyprpaper &
|
||||
${pkgs.xsettingsd}/bin/xsettingsd &
|
||||
foot --server &
|
||||
eww daemon &
|
||||
eww open bar &
|
||||
firefox-devedition &
|
||||
webcord &
|
||||
element-desktop &
|
||||
'';
|
||||
in
|
||||
{
|
||||
enable = true;
|
||||
extraConfig = ''
|
||||
exec-once=${pkgs.hyprpaper}/bin/hyprpaper
|
||||
exec-once=hyprctl setcursor Catppuccin-Frappe-Pink-Cursors 32
|
||||
exec-once=${pkgs.xsettingsd}/bin/xsettingsd &
|
||||
exec-once=foot --server &
|
||||
exec-once=eww daemon
|
||||
exec-once=eww open bar
|
||||
|
||||
monitor=eDP-1,1920x1080@60,0x0,1
|
||||
monitor=eDP-1,addreserved,0,0,48,0
|
||||
monitor=,preferred,auto,1
|
||||
|
||||
windowrulev2 = workspace 1,class:^(Electron)$,title:^(.*)(WebCord)(.*)$
|
||||
windowrulev2 = workspace 1,title:^(Element)(.*)$
|
||||
windowrulev2 = workspace 2,class:^(firefox-aurora)$
|
||||
|
||||
general {
|
||||
layout = dwindle
|
||||
col.active_border = 0xfff4b8e4
|
||||
|
@ -70,6 +82,7 @@
|
|||
bind=SUPER,8,workspace,8
|
||||
bind=SUPER,9,workspace,9
|
||||
bind=SUPER,0,workspace,10
|
||||
bind=SUPER,grave,togglespecialworkspace
|
||||
|
||||
bind=ALT,1,movetoworkspace,1
|
||||
bind=ALT,2,movetoworkspace,2
|
||||
|
@ -81,6 +94,7 @@
|
|||
bind=ALT,8,movetoworkspace,8
|
||||
bind=ALT,9,movetoworkspace,9
|
||||
bind=ALT,0,movetoworkspace,10
|
||||
bind=ALT,grave,movetoworkspace,special
|
||||
|
||||
bind=SUPERSHIFT,1,movetoworkspacesilent,1
|
||||
bind=SUPERSHIFT,2,movetoworkspacesilent,2
|
||||
|
@ -92,6 +106,7 @@
|
|||
bind=SUPERSHIFT,8,movetoworkspacesilent,8
|
||||
bind=SUPERSHIFT,9,movetoworkspacesilent,9
|
||||
bind=SUPERSHIFT,0,movetoworkspacesilent,10
|
||||
bind=SUPERSHIFT,grave,movetoworkspacesilent,special
|
||||
|
||||
bind=SUPER,mouse_down,workspace,e+1
|
||||
bind=SUPER,mouse_up,workspace,e-1
|
||||
|
@ -104,6 +119,8 @@
|
|||
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