treewide: alejandra formatting
This commit is contained in:
parent
6c78218c04
commit
6009bc78f5
42 changed files with 929 additions and 902 deletions
32
flake.nix
32
flake.nix
|
@ -9,8 +9,13 @@
|
|||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
};
|
||||
outputs = { self, nixpkgs, home-manager, hyprland, ... }@inputs:
|
||||
let
|
||||
outputs = {
|
||||
self,
|
||||
nixpkgs,
|
||||
home-manager,
|
||||
hyprland,
|
||||
...
|
||||
} @ inputs: let
|
||||
system = "x86_64-linux";
|
||||
lib = nixpkgs.lib;
|
||||
in {
|
||||
|
@ -19,12 +24,11 @@
|
|||
inherit system;
|
||||
modules = [
|
||||
./hosts/tsuki
|
||||
home-manager.nixosModules.home-manager {
|
||||
home-manager.nixosModules.home-manager
|
||||
{
|
||||
home-manager.useGlobalPkgs = true;
|
||||
home-manager.useUserPackages = true;
|
||||
home-manager.extraSpecialArgs = {
|
||||
inherit inputs;
|
||||
};
|
||||
home-manager.extraSpecialArgs = {inherit inputs;};
|
||||
home-manager.users.notoh = {
|
||||
imports = [
|
||||
hyprland.homeManagerModules.default
|
||||
|
@ -38,14 +42,11 @@
|
|||
inherit system;
|
||||
modules = [
|
||||
./hosts/hime
|
||||
home-manager.nixosModules.home-manager {
|
||||
home-manager.nixosModules.home-manager
|
||||
{
|
||||
home-manager.useGlobalPkgs = true;
|
||||
home-manager.useUserPackages = true;
|
||||
home-manager.users.oh = {
|
||||
imports = [
|
||||
./hosts/hime/home.nix
|
||||
];
|
||||
};
|
||||
home-manager.users.oh = {imports = [./hosts/hime/home.nix];};
|
||||
}
|
||||
];
|
||||
};
|
||||
|
@ -53,13 +54,12 @@
|
|||
inherit system;
|
||||
modules = [
|
||||
./hosts/sutakku
|
||||
home-manager.nixosModules.home-manager {
|
||||
home-manager.nixosModules.home-manager
|
||||
{
|
||||
home-manager.useGlobalPkgs = true;
|
||||
home-manager.useUserPackages = true;
|
||||
home-manager.users.oh = {
|
||||
imports = [
|
||||
./hosts/sutakku/home.nix
|
||||
];
|
||||
imports = [./hosts/sutakku/home.nix];
|
||||
};
|
||||
}
|
||||
];
|
||||
|
|
|
@ -1,7 +1,4 @@
|
|||
{
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
{pkgs, ...}: {
|
||||
imports = [
|
||||
./neofetch
|
||||
./nushell
|
||||
|
@ -16,5 +13,6 @@
|
|||
home.packages = with pkgs; [
|
||||
bat
|
||||
croc
|
||||
alejandra
|
||||
];
|
||||
}
|
|
@ -1,6 +1,4 @@
|
|||
{
|
||||
...
|
||||
}: {
|
||||
{...}: {
|
||||
programs.direnv = {
|
||||
enable = true;
|
||||
enableNushellIntegration = true;
|
||||
|
|
|
@ -1,6 +1,4 @@
|
|||
{
|
||||
...
|
||||
}: {
|
||||
{...}: {
|
||||
global = {
|
||||
frame_color = "#f5c2e7";
|
||||
frame_width = "4";
|
||||
|
@ -20,7 +18,7 @@
|
|||
background = "#1E1E2E";
|
||||
foreground = "#CDD6F4";
|
||||
};
|
||||
urgency_critical ={
|
||||
urgency_critical = {
|
||||
background = "#1E1E2E";
|
||||
foreground = "#CDD6F4";
|
||||
frame_color = "#FAB387";
|
||||
|
|
|
@ -1,6 +1,4 @@
|
|||
{
|
||||
...
|
||||
}: {
|
||||
{...}: {
|
||||
services.dunst = {
|
||||
enable = true;
|
||||
waylandDisplay = "DP-2";
|
||||
|
|
|
@ -1,8 +1,5 @@
|
|||
{
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
home.packages = with pkgs; [ gh ];
|
||||
{pkgs, ...}: {
|
||||
home.packages = with pkgs; [gh];
|
||||
|
||||
programs.git = {
|
||||
enable = true;
|
||||
|
|
|
@ -1,8 +1,4 @@
|
|||
{
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
|
||||
{pkgs, ...}: {
|
||||
home.pointerCursor = {
|
||||
package = pkgs.bibata-cursors;
|
||||
name = "Bibata-Modern-Classic";
|
||||
|
|
|
@ -1,6 +1,4 @@
|
|||
{
|
||||
...
|
||||
}: {
|
||||
{...}: {
|
||||
imports = [
|
||||
./themes/catppuccin_mocha.nix
|
||||
];
|
||||
|
|
|
@ -1,6 +1,4 @@
|
|||
{
|
||||
...
|
||||
}: {
|
||||
{...}: {
|
||||
programs.helix = {
|
||||
themes.catppuccin_mocha = let
|
||||
transparent = "none";
|
||||
|
@ -45,24 +43,39 @@
|
|||
"string" = green;
|
||||
"string.regexp" = peach;
|
||||
"string.special" = blue;
|
||||
"comment" = {fg = maroon; modifiers = ["italic"]; };
|
||||
"comment" = {
|
||||
fg = maroon;
|
||||
modifiers = ["italic"];
|
||||
};
|
||||
"variable" = "text";
|
||||
"variable.parameter" = {fg = maroon; modifiers = ["italic"]; };
|
||||
"variable.parameter" = {
|
||||
fg = maroon;
|
||||
modifiers = ["italic"];
|
||||
};
|
||||
"variable.builtin" = red;
|
||||
"variable.other.member" = teal;
|
||||
"label" = sapphire;
|
||||
"punctuation" = overlay2;
|
||||
"punctuation.special" = sky;
|
||||
"keyword" = mauve;
|
||||
"keyword.control.conditional" = {fg = mauve; modifiers = ["italic"]; };
|
||||
"keyword.control.conditional" = {
|
||||
fg = mauve;
|
||||
modifiers = ["italic"];
|
||||
};
|
||||
"operator" = sky;
|
||||
"function" = blue;
|
||||
"function.macro" = mauve;
|
||||
"tag" = mauve;
|
||||
"attribute" = blue;
|
||||
"namespace" = {fg = blue; modifiers = ["italic"]; };
|
||||
"namespace" = {
|
||||
fg = blue;
|
||||
modifiers = ["italic"];
|
||||
};
|
||||
"special" = blue;
|
||||
"markup.heading.marker" = {fg = peach; modifiers = ["bold"]; };
|
||||
"markup.heading.marker" = {
|
||||
fg = peach;
|
||||
modifiers = ["bold"];
|
||||
};
|
||||
"markup.heading.1" = lavender;
|
||||
"markup.heading.2" = mauve;
|
||||
"markup.heading.3" = green;
|
||||
|
@ -70,47 +83,130 @@
|
|||
"markup.heading.5" = pink;
|
||||
"markup.heading.6" = teal;
|
||||
"markup.list" = mauve;
|
||||
"markup.bold" = { modifiers = ["bold"]; };
|
||||
"markup.italic" = { modifiers = ["italic"]; };
|
||||
"markup.link.url" = {fg = rosewater; modifiers = ["italic" "underlined"]; };
|
||||
"markup.bold" = {modifiers = ["bold"];};
|
||||
"markup.italic" = {modifiers = ["italic"];};
|
||||
"markup.link.url" = {
|
||||
fg = rosewater;
|
||||
modifiers = ["italic" "underlined"];
|
||||
};
|
||||
"markup.link.text" = blue;
|
||||
"markup.raw" = flamingo;
|
||||
"diff.plus" = green;
|
||||
"diff.minus" = red;
|
||||
"diff.delta" = blue;
|
||||
"ui.background" = {fg = surface1; };
|
||||
"ui.linenr" = { fg = surface1; };
|
||||
"ui.linenr.selected" = { fg = lavender; };
|
||||
"ui.statusline" = { fg = subtext1; bg = mantle; };
|
||||
"ui.statusline.inactive" = { fg = surface2; bg = mantle; };
|
||||
"ui.statusline.normal" = { fg = base; bg = lavender; modifiers = ["bold"]; };
|
||||
"ui.statusline.insert" = { fg = base; bg = green; modifiers = ["bold"]; };
|
||||
"ui.statusline.select" = { fg = base; bg = flamingo; modifiers = ["bold"]; };
|
||||
"ui.popup" = { fg = text; bg = surface0; };
|
||||
"ui.window" = { fg = crust; };
|
||||
"ui.help" = { fg = overlay2; bg = surface0; };
|
||||
"ui.bufferline" = { fg = subtext0; bg = mantle; };
|
||||
"ui.bufferline.active" = { fg = mauve; bg = base; underline = {color = mauve; style = "line"; }; };
|
||||
"ui.bufferline.background" = { bg = crust; };
|
||||
"ui.background" = {fg = surface1;};
|
||||
"ui.linenr" = {fg = surface1;};
|
||||
"ui.linenr.selected" = {fg = lavender;};
|
||||
"ui.statusline" = {
|
||||
fg = subtext1;
|
||||
bg = mantle;
|
||||
};
|
||||
"ui.statusline.inactive" = {
|
||||
fg = surface2;
|
||||
bg = mantle;
|
||||
};
|
||||
"ui.statusline.normal" = {
|
||||
fg = base;
|
||||
bg = lavender;
|
||||
modifiers = ["bold"];
|
||||
};
|
||||
"ui.statusline.insert" = {
|
||||
fg = base;
|
||||
bg = green;
|
||||
modifiers = ["bold"];
|
||||
};
|
||||
"ui.statusline.select" = {
|
||||
fg = base;
|
||||
bg = flamingo;
|
||||
modifiers = ["bold"];
|
||||
};
|
||||
"ui.popup" = {
|
||||
fg = text;
|
||||
bg = surface0;
|
||||
};
|
||||
"ui.window" = {fg = crust;};
|
||||
"ui.help" = {
|
||||
fg = overlay2;
|
||||
bg = surface0;
|
||||
};
|
||||
"ui.bufferline" = {
|
||||
fg = subtext0;
|
||||
bg = mantle;
|
||||
};
|
||||
"ui.bufferline.active" = {
|
||||
fg = mauve;
|
||||
bg = base;
|
||||
underline = {
|
||||
color = mauve;
|
||||
style = "line";
|
||||
};
|
||||
};
|
||||
"ui.bufferline.background" = {bg = crust;};
|
||||
"ui.text" = text;
|
||||
"ui.text.focus" = { fg = text; bg = surface0; modifiers = ["bold"]; };
|
||||
"ui.text.inactive" = { fg = overlay1; };
|
||||
"ui.text.focus" = {
|
||||
fg = text;
|
||||
bg = surface0;
|
||||
modifiers = ["bold"];
|
||||
};
|
||||
"ui.text.inactive" = {fg = overlay1;};
|
||||
"ui.virtual" = overlay0;
|
||||
"ui.virtual.ruler" = { bg = surface0; };
|
||||
"ui.virtual.ruler" = {bg = surface0;};
|
||||
"ui.virtual.indent-guide" = surface0;
|
||||
"ui.virtual.inlay-hint" = { fg = surface1; bg = mantle; };
|
||||
"ui.selection" = { bg = surface1; };
|
||||
"ui.cursor" = { fg = base; bg = secondary_cursor; };
|
||||
"ui.cursor.primary" = { fg = base; bg = rosewater; };
|
||||
"ui.cursor.match" = { fg = peach; modifiers = ["bold"]; };
|
||||
"ui.cursorline.primary" = { bg = cursorline; };
|
||||
"ui.highlight" = { bg = surface1; modifiers = ["bold"]; };
|
||||
"ui.menu" = { fg = overlay2; bg = surface0; };
|
||||
"ui.menu.selected" = { fg = text; bg = surface1; modifiers = ["bold"]; };
|
||||
"diagnostic.error" = { underline = { color = red; style = "curl"; }; };
|
||||
"diagnostic.warning" = { underline = { color = yellow; style = "curl"; }; };
|
||||
"diagnostic.info" = { underline = { color = sky; style = "curl"; }; };
|
||||
"diagnostic.hint" = { underline = { color = teal; style = "curl"; }; };
|
||||
"ui.virtual.inlay-hint" = {
|
||||
fg = surface1;
|
||||
bg = mantle;
|
||||
};
|
||||
"ui.selection" = {bg = surface1;};
|
||||
"ui.cursor" = {
|
||||
fg = base;
|
||||
bg = secondary_cursor;
|
||||
};
|
||||
"ui.cursor.primary" = {
|
||||
fg = base;
|
||||
bg = rosewater;
|
||||
};
|
||||
"ui.cursor.match" = {
|
||||
fg = peach;
|
||||
modifiers = ["bold"];
|
||||
};
|
||||
"ui.cursorline.primary" = {bg = cursorline;};
|
||||
"ui.highlight" = {
|
||||
bg = surface1;
|
||||
modifiers = ["bold"];
|
||||
};
|
||||
"ui.menu" = {
|
||||
fg = overlay2;
|
||||
bg = surface0;
|
||||
};
|
||||
"ui.menu.selected" = {
|
||||
fg = text;
|
||||
bg = surface1;
|
||||
modifiers = ["bold"];
|
||||
};
|
||||
"diagnostic.error" = {
|
||||
underline = {
|
||||
color = red;
|
||||
style = "curl";
|
||||
};
|
||||
};
|
||||
"diagnostic.warning" = {
|
||||
underline = {
|
||||
color = yellow;
|
||||
style = "curl";
|
||||
};
|
||||
};
|
||||
"diagnostic.info" = {
|
||||
underline = {
|
||||
color = sky;
|
||||
style = "curl";
|
||||
};
|
||||
};
|
||||
"diagnostic.hint" = {
|
||||
underline = {
|
||||
color = teal;
|
||||
style = "curl";
|
||||
};
|
||||
};
|
||||
|
||||
"error" = red;
|
||||
"warning" = yellow;
|
||||
|
|
|
@ -1,20 +1,18 @@
|
|||
{
|
||||
...
|
||||
}: {
|
||||
{...}: {
|
||||
programs.lazygit = {
|
||||
enable = true;
|
||||
settings = {
|
||||
windowSize = "normal";
|
||||
gui.theme = {
|
||||
lightTheme = false;
|
||||
activeBorderColor = [ "#a6e3a1" "bold" ];
|
||||
inactiveBorderColor = [ "#cdd6f4" ];
|
||||
optionsTextColor = [ "#89b4fa" ];
|
||||
selectedLineBgColor = [ "#313244" ];
|
||||
selectedRangeByColor = [ "#313244" ];
|
||||
cherryPickedCommitBgColor = [ "#94e2d5" ];
|
||||
cherryPickedCommitFgColor = [ "#89b4fa" ];
|
||||
unstagedChangesColor = [ "red" ];
|
||||
activeBorderColor = ["#a6e3a1" "bold"];
|
||||
inactiveBorderColor = ["#cdd6f4"];
|
||||
optionsTextColor = ["#89b4fa"];
|
||||
selectedLineBgColor = ["#313244"];
|
||||
selectedRangeByColor = ["#313244"];
|
||||
cherryPickedCommitBgColor = ["#94e2d5"];
|
||||
cherryPickedCommitFgColor = ["#89b4fa"];
|
||||
unstagedChangesColor = ["red"];
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
@ -1,7 +1,4 @@
|
|||
{
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
{pkgs, ...}: {
|
||||
programs.lf = {
|
||||
enable = true;
|
||||
settings = {
|
||||
|
|
|
@ -1,6 +1,4 @@
|
|||
{
|
||||
...
|
||||
}: {
|
||||
{...}: {
|
||||
programs.librewolf = {
|
||||
enable = true;
|
||||
settings = {
|
||||
|
@ -40,4 +38,4 @@
|
|||
"application/x-extension-xht" = ["librewolf.desktop"];
|
||||
};
|
||||
};
|
||||
}
|
||||
}
|
||||
|
|
|
@ -6,5 +6,5 @@
|
|||
home.packages = with pkgs; [
|
||||
neofetch
|
||||
];
|
||||
xdg.configFile."neofetch/config.conf".source =./config.conf;
|
||||
xdg.configFile."neofetch/config.conf".source = ./config.conf;
|
||||
}
|
||||
|
|
|
@ -1,6 +1,4 @@
|
|||
{
|
||||
...
|
||||
}: {
|
||||
{...}: {
|
||||
programs.nushell = {
|
||||
enable = true;
|
||||
configFile.source = ./config.nu;
|
||||
|
|
|
@ -93,7 +93,6 @@
|
|||
style = "bg:#e05a75 fg:#11111b";
|
||||
format = "[ $time ]($style)";
|
||||
};
|
||||
|
||||
};
|
||||
};
|
||||
}
|
|
@ -3,13 +3,12 @@
|
|||
pkgs,
|
||||
lib,
|
||||
...
|
||||
}:
|
||||
let
|
||||
}: let
|
||||
compileSCSS = name: source: "${pkgs.runCommandLocal name {} ''
|
||||
mkdir -p $out
|
||||
${lib.getExe pkgs.sassc} -t expanded '${source}' > $out/${name}.css
|
||||
''}/${name}.css";
|
||||
in {
|
||||
in {
|
||||
programs.waybar = {
|
||||
enable = true;
|
||||
package = inputs.hyprland.packages.${pkgs.system}.waybar-hyprland;
|
||||
|
|
|
@ -1,9 +1,4 @@
|
|||
{
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
|
||||
let
|
||||
{pkgs, ...}: let
|
||||
dbus-hyprland-environment = pkgs.writeTextFile {
|
||||
name = "dbus-hyprland-environment";
|
||||
destination = "/bin/dbus-hyprland-environment";
|
||||
|
@ -14,9 +9,7 @@ let
|
|||
systemctl --user start pipewire wireplumber pipewire-media-session xdg-desktop-portal xdg-desktop-portal-hyprland
|
||||
'';
|
||||
};
|
||||
in
|
||||
{
|
||||
|
||||
in {
|
||||
imports = [
|
||||
../../modules/greetd.nix
|
||||
];
|
||||
|
@ -69,5 +62,4 @@ let
|
|||
environment.etc."greetd/environments".text = ''
|
||||
Hyprland
|
||||
'';
|
||||
|
||||
}
|
|
@ -1,13 +1,11 @@
|
|||
{
|
||||
...
|
||||
}: {
|
||||
{...}: {
|
||||
wayland.windowManager.hyprland.extraConfig = ''
|
||||
|
||||
monitor = HDMI-A-1,1920x1080,5760x0,1 #right
|
||||
monitor = DP-2,1920x1080,1920x0,1 #left
|
||||
monitor = DP-3,1920x1080@144,3840x0,1 #middle
|
||||
monitor = HDMI-A-1,1920x1080,5760x0,1 #right
|
||||
monitor = DP-2,1920x1080,1920x0,1 #left
|
||||
monitor = DP-3,1920x1080@144,3840x0,1 #middle
|
||||
|
||||
input {
|
||||
input {
|
||||
|
||||
kb_layout = us
|
||||
kb_variant =
|
||||
|
@ -19,9 +17,9 @@ input {
|
|||
|
||||
sensitivity = -0.5 # -1.0 - 1.0, 0 means no modification.
|
||||
force_no_accel = true
|
||||
}
|
||||
}
|
||||
|
||||
general {
|
||||
general {
|
||||
|
||||
gaps_in = 6
|
||||
gaps_out = 15
|
||||
|
@ -30,9 +28,9 @@ general {
|
|||
col.inactive_border = rgb(6c7086)
|
||||
|
||||
layout = dwindle
|
||||
}
|
||||
}
|
||||
|
||||
decoration {
|
||||
decoration {
|
||||
|
||||
rounding = 8
|
||||
|
||||
|
@ -54,9 +52,9 @@ decoration {
|
|||
shadow_offset = 0 5
|
||||
shadow_render_power = 4
|
||||
col.shadow = rgba(00000099)
|
||||
}
|
||||
}
|
||||
|
||||
animations {
|
||||
animations {
|
||||
|
||||
enabled = yes
|
||||
|
||||
|
@ -67,96 +65,96 @@ animations {
|
|||
animation = border, 1, 10, default
|
||||
animation = fade, 1, 7, default
|
||||
animation = workspaces, 1, 6, default
|
||||
}
|
||||
}
|
||||
|
||||
dwindle {
|
||||
dwindle {
|
||||
|
||||
pseudotile = yes
|
||||
preserve_split = yes
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
master {
|
||||
master {
|
||||
|
||||
new_is_master = true
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
gestures {
|
||||
gestures {
|
||||
|
||||
workspace_swipe = off
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
device:epic mouse V1 {
|
||||
device:epic mouse V1 {
|
||||
|
||||
sensitivity = -0.5
|
||||
}
|
||||
}
|
||||
|
||||
exec-once = waybar & dunst
|
||||
exec-once = waybar & dunst
|
||||
|
||||
exec-once = swww init
|
||||
exec-once = swww init
|
||||
|
||||
exec-once = dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
|
||||
exec-once = /nix/store/gjbi20m2wz9xhm18ifmcdl45cpgd7hpz-polkit-gnome-0.105/libexec/polkit-gnome-authentication-agent-1
|
||||
exec-once = dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
|
||||
exec-once = /nix/store/gjbi20m2wz9xhm18ifmcdl45cpgd7hpz-polkit-gnome-0.105/libexec/polkit-gnome-authentication-agent-1
|
||||
|
||||
# swayidle / lock
|
||||
exec-once = ~/.local/bin/lock
|
||||
# swayidle / lock
|
||||
exec-once = ~/.local/bin/lock
|
||||
|
||||
#windowrules
|
||||
windowrulev2 = noshadow, floating:0
|
||||
windowrulev2 = float, title:^(Volume Control)$
|
||||
windowrulev2 = float, title:^(Picture-in-Picture)$
|
||||
windowrulev2 = float, title:^(RuneLite)$
|
||||
windowrulev2 = move 500 300, title:^(RuneLite)$
|
||||
windowrulev2 = size 810 580, title:^(RuneLite)$
|
||||
windowrulev2 = float, title:^(Steam)$
|
||||
windowrulev2 = float, title:^(Cryptomator)$
|
||||
windowrulev2 = fullscreen, title:^(wlogout)$
|
||||
windowrulev2 = float, title:^(wlogout)$
|
||||
#windowrules
|
||||
windowrulev2 = noshadow, floating:0
|
||||
windowrulev2 = float, title:^(Volume Control)$
|
||||
windowrulev2 = float, title:^(Picture-in-Picture)$
|
||||
windowrulev2 = float, title:^(RuneLite)$
|
||||
windowrulev2 = move 500 300, title:^(RuneLite)$
|
||||
windowrulev2 = size 810 580, title:^(RuneLite)$
|
||||
windowrulev2 = float, title:^(Steam)$
|
||||
windowrulev2 = float, title:^(Cryptomator)$
|
||||
windowrulev2 = fullscreen, title:^(wlogout)$
|
||||
windowrulev2 = float, title:^(wlogout)$
|
||||
|
||||
#binds
|
||||
$mainMod = SUPER
|
||||
#binds
|
||||
$mainMod = SUPER
|
||||
|
||||
bind = $mainMod, Return, exec, wezterm
|
||||
bind = $mainMod, Q, killactive,
|
||||
bind = $mainMod, V, togglefloating,
|
||||
bind = $mainMod, R, exec, rofi -modi run -show drun
|
||||
bind = $mainMod, P, pseudo, # dwindle
|
||||
bind = $mainMod, J, togglesplit, # dwindle
|
||||
bind =, Print, exec, grim -g "$(slurp -d)"
|
||||
bind = $mainMod, left, movefocus, l
|
||||
bind = $mainMod, right, movefocus, r
|
||||
bind = $mainMod, up, movefocus, u
|
||||
bind = $mainMod, down, movefocus, d
|
||||
bind = $mainMod, Return, exec, wezterm
|
||||
bind = $mainMod, Q, killactive,
|
||||
bind = $mainMod, V, togglefloating,
|
||||
bind = $mainMod, R, exec, rofi -modi run -show drun
|
||||
bind = $mainMod, P, pseudo, # dwindle
|
||||
bind = $mainMod, J, togglesplit, # dwindle
|
||||
bind =, Print, exec, grim -g "$(slurp -d)"
|
||||
bind = $mainMod, left, movefocus, l
|
||||
bind = $mainMod, right, movefocus, r
|
||||
bind = $mainMod, up, movefocus, u
|
||||
bind = $mainMod, down, movefocus, d
|
||||
|
||||
bind = $mainMod, 1, workspace, 1
|
||||
bind = $mainMod, 2, workspace, 2
|
||||
bind = $mainMod, 3, workspace, 3
|
||||
bind = $mainMod, 4, workspace, 4
|
||||
bind = $mainMod, 5, workspace, 5
|
||||
bind = $mainMod, 6, workspace, 6
|
||||
bind = $mainMod, 7, workspace, 7
|
||||
bind = $mainMod, 8, workspace, 8
|
||||
bind = $mainMod, 9, workspace, 9
|
||||
bind = $mainMod, 0, workspace, 10
|
||||
bind = $mainMod, 1, workspace, 1
|
||||
bind = $mainMod, 2, workspace, 2
|
||||
bind = $mainMod, 3, workspace, 3
|
||||
bind = $mainMod, 4, workspace, 4
|
||||
bind = $mainMod, 5, workspace, 5
|
||||
bind = $mainMod, 6, workspace, 6
|
||||
bind = $mainMod, 7, workspace, 7
|
||||
bind = $mainMod, 8, workspace, 8
|
||||
bind = $mainMod, 9, workspace, 9
|
||||
bind = $mainMod, 0, workspace, 10
|
||||
|
||||
bind = $mainMod SHIFT, 1, movetoworkspace, 1
|
||||
bind = $mainMod SHIFT, 2, movetoworkspace, 2
|
||||
bind = $mainMod SHIFT, 3, movetoworkspace, 3
|
||||
bind = $mainMod SHIFT, 4, movetoworkspace, 4
|
||||
bind = $mainMod SHIFT, 5, movetoworkspace, 5
|
||||
bind = $mainMod SHIFT, 6, movetoworkspace, 6
|
||||
bind = $mainMod SHIFT, 7, movetoworkspace, 7
|
||||
bind = $mainMod SHIFT, 8, movetoworkspace, 8
|
||||
bind = $mainMod SHIFT, 9, movetoworkspace, 9
|
||||
bind = $mainMod SHIFT, 0, movetoworkspace, 10
|
||||
bind = $mainMod SHIFT, 1, movetoworkspace, 1
|
||||
bind = $mainMod SHIFT, 2, movetoworkspace, 2
|
||||
bind = $mainMod SHIFT, 3, movetoworkspace, 3
|
||||
bind = $mainMod SHIFT, 4, movetoworkspace, 4
|
||||
bind = $mainMod SHIFT, 5, movetoworkspace, 5
|
||||
bind = $mainMod SHIFT, 6, movetoworkspace, 6
|
||||
bind = $mainMod SHIFT, 7, movetoworkspace, 7
|
||||
bind = $mainMod SHIFT, 8, movetoworkspace, 8
|
||||
bind = $mainMod SHIFT, 9, movetoworkspace, 9
|
||||
bind = $mainMod SHIFT, 0, movetoworkspace, 10
|
||||
|
||||
bind = $mainMod, mouse_down, workspace, e+1
|
||||
bind = $mainMod, mouse_up, workspace, e-1
|
||||
bind = $mainMod, mouse_down, workspace, e+1
|
||||
bind = $mainMod, mouse_up, workspace, e-1
|
||||
|
||||
bindm = $mainMod, mouse:272, movewindow
|
||||
bindm = $mainMod, mouse:273, resizewindow
|
||||
bindm = $mainMod, mouse:272, movewindow
|
||||
bindm = $mainMod, mouse:273, resizewindow
|
||||
|
||||
'';
|
||||
}
|
||||
|
|
|
@ -1,6 +1,4 @@
|
|||
{
|
||||
...
|
||||
}: {
|
||||
{...}: {
|
||||
imports = [./config.nix];
|
||||
|
||||
wayland.windowManager.hyprland = {
|
||||
|
|
|
@ -1,6 +1,4 @@
|
|||
{
|
||||
...
|
||||
}: {
|
||||
{...}: {
|
||||
programs.wezterm = {
|
||||
enable = true;
|
||||
extraConfig = ''
|
||||
|
@ -27,7 +25,7 @@
|
|||
left = 0,
|
||||
right = 0,
|
||||
}
|
||||
}
|
||||
'';
|
||||
}
|
||||
'';
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,6 +1,4 @@
|
|||
{
|
||||
...
|
||||
}: {
|
||||
{...}: {
|
||||
programs.zathura = {
|
||||
enable = true;
|
||||
extraConfig = ''
|
||||
|
|
|
@ -1,6 +1,4 @@
|
|||
{
|
||||
...
|
||||
}: {
|
||||
{...}: {
|
||||
imports = [
|
||||
./layouts.nix
|
||||
];
|
||||
|
|
|
@ -1,6 +1,4 @@
|
|||
{
|
||||
...
|
||||
}: {
|
||||
{...}: {
|
||||
home.file.".config/zellij/snowflake.kdl".text = ''
|
||||
layout {
|
||||
tab name="main" {
|
||||
|
@ -36,7 +34,7 @@
|
|||
plugin location="zellij:status-bar"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
'';
|
||||
|
||||
|
@ -61,7 +59,7 @@
|
|||
plugin location="zellij:status-bar"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
'';
|
||||
}
|
||||
|
|
|
@ -1,6 +1,4 @@
|
|||
{
|
||||
...
|
||||
}: {
|
||||
{...}: {
|
||||
programs.zoxide = {
|
||||
enable = true;
|
||||
enableNushellIntegration = true;
|
||||
|
|
|
@ -1,9 +1,5 @@
|
|||
{
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
imports =
|
||||
[
|
||||
{pkgs, ...}: {
|
||||
imports = [
|
||||
./hardware-configuration.nix
|
||||
../../modules
|
||||
];
|
||||
|
@ -31,22 +27,21 @@
|
|||
settings = {
|
||||
PasswordAuthentication = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
virtualisation.docker.enable = true;
|
||||
users ={
|
||||
users = {
|
||||
defaultUserShell = pkgs.nushell;
|
||||
users.oh = {
|
||||
isNormalUser = true;
|
||||
description = "oh";
|
||||
extraGroups = [ "networkmanager" "wheel" ];
|
||||
extraGroups = ["networkmanager" "wheel"];
|
||||
packages = with pkgs; [
|
||||
hugo
|
||||
yt-dlp
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
docker-compose
|
||||
|
@ -54,5 +49,4 @@
|
|||
python3Full
|
||||
nfs-utils
|
||||
];
|
||||
|
||||
}
|
||||
|
|
|
@ -1,34 +1,38 @@
|
|||
{ config, lib, pkgs, modulesPath, ... }:
|
||||
|
||||
{
|
||||
imports =
|
||||
[ (modulesPath + "/profiles/qemu-guest.nix")
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
modulesPath,
|
||||
...
|
||||
}: {
|
||||
imports = [
|
||||
(modulesPath + "/profiles/qemu-guest.nix")
|
||||
];
|
||||
|
||||
boot.initrd.availableKernelModules = [ "ata_piix" "uhci_hcd" "virtio_pci" "virtio_scsi" "sd_mod" "sr_mod" ];
|
||||
boot.initrd.kernelModules = [ ];
|
||||
boot.kernelModules = [ ];
|
||||
boot.extraModulePackages = [ ];
|
||||
boot.initrd.availableKernelModules = ["ata_piix" "uhci_hcd" "virtio_pci" "virtio_scsi" "sd_mod" "sr_mod"];
|
||||
boot.initrd.kernelModules = [];
|
||||
boot.kernelModules = [];
|
||||
boot.extraModulePackages = [];
|
||||
|
||||
fileSystems."/" =
|
||||
{ device = "/dev/disk/by-uuid/154e6059-35f9-49bb-b049-085b325ac997";
|
||||
fileSystems."/" = {
|
||||
device = "/dev/disk/by-uuid/154e6059-35f9-49bb-b049-085b325ac997";
|
||||
fsType = "ext4";
|
||||
};
|
||||
fileSystems."/home/oh/nas" =
|
||||
{ device = "192.168.1.71:/volume1/hime";
|
||||
fileSystems."/home/oh/nas" = {
|
||||
device = "192.168.1.71:/volume1/hime";
|
||||
fsType = "nfs";
|
||||
};
|
||||
fileSystems."/home/oh/docker/nextcloud" =
|
||||
{ device = "192.168.1.71:/volume1/nextcloud";
|
||||
fileSystems."/home/oh/docker/nextcloud" = {
|
||||
device = "192.168.1.71:/volume1/nextcloud";
|
||||
fsType = "nfs";
|
||||
};
|
||||
fileSystems."/home/oh/docker/stash/data" =
|
||||
{ device = "192.168.1.71:/volume1/stash";
|
||||
fileSystems."/home/oh/docker/stash/data" = {
|
||||
device = "192.168.1.71:/volume1/stash";
|
||||
fsType = "nfs";
|
||||
};
|
||||
|
||||
swapDevices =
|
||||
[ { device = "/dev/disk/by-uuid/15978bb3-da9b-4ec2-bd35-1716dd97812b"; }
|
||||
swapDevices = [
|
||||
{device = "/dev/disk/by-uuid/15978bb3-da9b-4ec2-bd35-1716dd97812b";}
|
||||
];
|
||||
|
||||
networking.useDHCP = lib.mkDefault true;
|
||||
|
|
|
@ -1,10 +1,11 @@
|
|||
{config, pkgs, ...}:
|
||||
|
||||
{
|
||||
|
||||
imports = [
|
||||
config,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
imports = [
|
||||
../../home
|
||||
];
|
||||
];
|
||||
systemd.user.startServices = "sd-switch";
|
||||
programs.home-manager.enable = true;
|
||||
|
||||
|
|
|
@ -1,8 +1,9 @@
|
|||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
imports =
|
||||
[
|
||||
config,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
imports = [
|
||||
./hardware-configuration.nix
|
||||
../../modules
|
||||
];
|
||||
|
@ -31,9 +32,9 @@
|
|||
users.oh = {
|
||||
isNormalUser = true;
|
||||
description = "oh";
|
||||
extraGroups = [ "networkmanager" "wheel" ];
|
||||
extraGroups = ["networkmanager" "wheel"];
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
wget
|
||||
|
|
|
@ -1,30 +1,33 @@
|
|||
# Do not modify this file! It was generated by ‘nixos-generate-config’
|
||||
# and may be overwritten by future invocations. Please make changes
|
||||
# to /etc/nixos/configuration.nix instead.
|
||||
{ config, lib, pkgs, modulesPath, ... }:
|
||||
|
||||
{
|
||||
imports =
|
||||
[ (modulesPath + "/profiles/qemu-guest.nix")
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
modulesPath,
|
||||
...
|
||||
}: {
|
||||
imports = [
|
||||
(modulesPath + "/profiles/qemu-guest.nix")
|
||||
];
|
||||
|
||||
boot.initrd.availableKernelModules = [ "ata_piix" "uhci_hcd" "virtio_pci" "virtio_scsi" "sd_mod" "sr_mod" ];
|
||||
boot.initrd.kernelModules = [ ];
|
||||
boot.kernelModules = [ ];
|
||||
boot.extraModulePackages = [ ];
|
||||
boot.initrd.availableKernelModules = ["ata_piix" "uhci_hcd" "virtio_pci" "virtio_scsi" "sd_mod" "sr_mod"];
|
||||
boot.initrd.kernelModules = [];
|
||||
boot.kernelModules = [];
|
||||
boot.extraModulePackages = [];
|
||||
|
||||
fileSystems."/" =
|
||||
{ device = "/dev/disk/by-uuid/dae21f73-2c6b-4959-90cc-07fb77c2a880";
|
||||
fileSystems."/" = {
|
||||
device = "/dev/disk/by-uuid/dae21f73-2c6b-4959-90cc-07fb77c2a880";
|
||||
fsType = "ext4";
|
||||
};
|
||||
fileSystems."/media" =
|
||||
{
|
||||
fileSystems."/media" = {
|
||||
device = "192.168.1.71:/volume1/media";
|
||||
fsType = "nfs";
|
||||
};
|
||||
|
||||
swapDevices =
|
||||
[ { device = "/dev/disk/by-uuid/990dd47b-fa78-4636-844e-83cc638052dc"; }
|
||||
swapDevices = [
|
||||
{device = "/dev/disk/by-uuid/990dd47b-fa78-4636-844e-83cc638052dc";}
|
||||
];
|
||||
|
||||
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
|
||||
|
|
|
@ -1,10 +1,11 @@
|
|||
{config, pkgs, ...}:
|
||||
|
||||
{
|
||||
|
||||
imports = [
|
||||
config,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
imports = [
|
||||
../../home
|
||||
];
|
||||
];
|
||||
|
||||
systemd.user.startServices = "sd-switch";
|
||||
programs.home-manager.enable = true;
|
||||
|
|
|
@ -3,8 +3,7 @@
|
|||
pkgs,
|
||||
...
|
||||
}: {
|
||||
imports =
|
||||
[
|
||||
imports = [
|
||||
./hardware-configuration.nix
|
||||
../../home/wayland
|
||||
../../modules
|
||||
|
@ -24,8 +23,8 @@
|
|||
};
|
||||
|
||||
boot.kernelPackages = pkgs.linuxPackages_latest;
|
||||
boot.extraModulePackages = with config.boot.kernelPackages; [ v4l2loopback.out ];
|
||||
boot.kernelModules = [ "v4l2loopback" "kvm-intel" ];
|
||||
boot.extraModulePackages = with config.boot.kernelPackages; [v4l2loopback.out];
|
||||
boot.kernelModules = ["v4l2loopback" "kvm-intel"];
|
||||
|
||||
virtualisation.libvirtd.enable = true;
|
||||
|
||||
|
@ -36,7 +35,7 @@
|
|||
services = {
|
||||
xserver = {
|
||||
enable = true;
|
||||
videoDrivers = [ "nvidia" ];
|
||||
videoDrivers = ["nvidia"];
|
||||
layout = "us";
|
||||
xkbVariant = "";
|
||||
};
|
||||
|
@ -94,9 +93,9 @@
|
|||
users.notoh = {
|
||||
isNormalUser = true;
|
||||
description = "notoh";
|
||||
extraGroups = [ "networkmanager" "wheel" "disk" "video" ];
|
||||
extraGroups = ["networkmanager" "wheel" "disk" "video"];
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
wget
|
||||
|
|
|
@ -1,44 +1,48 @@
|
|||
# Do not modify this file! It was generated by ‘nixos-generate-config’
|
||||
# and may be overwritten by future invocations. Please make changes
|
||||
# to /etc/nixos/configuration.nix instead.
|
||||
{ config, lib, pkgs, modulesPath, ... }:
|
||||
|
||||
{
|
||||
imports =
|
||||
[ (modulesPath + "/installer/scan/not-detected.nix")
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
modulesPath,
|
||||
...
|
||||
}: {
|
||||
imports = [
|
||||
(modulesPath + "/installer/scan/not-detected.nix")
|
||||
];
|
||||
|
||||
boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "nvme" "usb_storage" "usbhid" "sd_mod" ];
|
||||
boot.initrd.kernelModules = [ ];
|
||||
boot.kernelModules = [ "kvm-intel" ];
|
||||
boot.extraModulePackages = [ ];
|
||||
boot.initrd.availableKernelModules = ["xhci_pci" "ahci" "nvme" "usb_storage" "usbhid" "sd_mod"];
|
||||
boot.initrd.kernelModules = [];
|
||||
boot.kernelModules = ["kvm-intel"];
|
||||
boot.extraModulePackages = [];
|
||||
|
||||
fileSystems."/" =
|
||||
{ device = "/dev/disk/by-uuid/7d098aab-1968-4605-a9a7-b1627941c1ff";
|
||||
fileSystems."/" = {
|
||||
device = "/dev/disk/by-uuid/7d098aab-1968-4605-a9a7-b1627941c1ff";
|
||||
fsType = "ext4";
|
||||
};
|
||||
|
||||
fileSystems."/boot/efi" =
|
||||
{ device = "/dev/disk/by-uuid/C356-B67C";
|
||||
fileSystems."/boot/efi" = {
|
||||
device = "/dev/disk/by-uuid/C356-B67C";
|
||||
fsType = "vfat";
|
||||
};
|
||||
|
||||
fileSystems."/hdd" =
|
||||
{ device = "/dev/disk/by-uuid/e2e4c4f3-51df-4020-b557-a7cf684de85b";
|
||||
fileSystems."/hdd" = {
|
||||
device = "/dev/disk/by-uuid/e2e4c4f3-51df-4020-b557-a7cf684de85b";
|
||||
fsType = "ext4";
|
||||
};
|
||||
|
||||
fileSystems."/ssd" =
|
||||
{ device = "/dev/disk/by-uuid/9e5a189d-7435-45d7-aef6-cdee4de2428d";
|
||||
fileSystems."/ssd" = {
|
||||
device = "/dev/disk/by-uuid/9e5a189d-7435-45d7-aef6-cdee4de2428d";
|
||||
fsType = "ext4";
|
||||
};
|
||||
fileSystems."/nas" =
|
||||
{ device = "192.168.1.71:/volume1/tsuki";
|
||||
fileSystems."/nas" = {
|
||||
device = "192.168.1.71:/volume1/tsuki";
|
||||
fsType = "nfs";
|
||||
};
|
||||
|
||||
swapDevices =
|
||||
[ { device = "/dev/disk/by-uuid/2f5e2c64-99b8-4fa0-943c-c9dd45c84fdc"; }
|
||||
swapDevices = [
|
||||
{device = "/dev/disk/by-uuid/2f5e2c64-99b8-4fa0-943c-c9dd45c84fdc";}
|
||||
];
|
||||
|
||||
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
|
||||
|
|
|
@ -1,9 +1,5 @@
|
|||
{
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
|
||||
imports = [
|
||||
{pkgs, ...}: {
|
||||
imports = [
|
||||
../../home
|
||||
../../home/librewolf
|
||||
../../home/wezterm
|
||||
|
@ -15,7 +11,7 @@ imports = [
|
|||
../../home/waybar
|
||||
../../home/wayland/hyprland
|
||||
../../modules/swayidle.nix
|
||||
];
|
||||
];
|
||||
|
||||
systemd.user.startServices = "sd-switch";
|
||||
programs.home-manager.enable = true;
|
||||
|
|
|
@ -1,6 +1,4 @@
|
|||
{
|
||||
...
|
||||
}: {
|
||||
{...}: {
|
||||
imports = [
|
||||
./security.nix
|
||||
./networking.nix
|
||||
|
|
|
@ -1,8 +1,4 @@
|
|||
{
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
|
||||
{pkgs, ...}: {
|
||||
fonts = {
|
||||
enableDefaultFonts = false;
|
||||
fontDir.enable = true;
|
||||
|
@ -22,14 +18,13 @@
|
|||
enable = true;
|
||||
allowBitmaps = true;
|
||||
defaultFonts = {
|
||||
monospace = [ "JetBrainsMono Nerd Font" "Twitter Color Emoji" ];
|
||||
serif = [ "Noto Serif" "Twitter Color Emoji" ];
|
||||
sansSerif = [ "Noto Sans" "Twitter Color Emoji" ];
|
||||
emoji = [ "Twitter Color Emoji" ];
|
||||
monospace = ["JetBrainsMono Nerd Font" "Twitter Color Emoji"];
|
||||
serif = ["Noto Serif" "Twitter Color Emoji"];
|
||||
sansSerif = ["Noto Sans" "Twitter Color Emoji"];
|
||||
emoji = ["Twitter Color Emoji"];
|
||||
};
|
||||
|
||||
hinting.style = "hintfull";
|
||||
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,6 +1,4 @@
|
|||
{
|
||||
...
|
||||
}: {
|
||||
{...}: {
|
||||
services.greetd = {
|
||||
enable = true;
|
||||
settings = rec {
|
||||
|
@ -12,5 +10,3 @@
|
|||
};
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -1,9 +1,7 @@
|
|||
{
|
||||
...
|
||||
}: {
|
||||
{...}: {
|
||||
networking = {
|
||||
networkmanager.enable = true;
|
||||
nameservers = [ "1.1.1.1" ];
|
||||
nameservers = ["1.1.1.1"];
|
||||
firewall = {
|
||||
enable = true;
|
||||
};
|
||||
|
|
|
@ -1,8 +1,4 @@
|
|||
{
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
|
||||
{pkgs, ...}: {
|
||||
nixpkgs = {
|
||||
config = {
|
||||
allowUnfree = true;
|
||||
|
|
|
@ -48,4 +48,3 @@
|
|||
defaults.email = "github@notohh.dev";
|
||||
};
|
||||
}
|
||||
|
||||
|
|
|
@ -1,6 +1,4 @@
|
|||
{
|
||||
...
|
||||
}: {
|
||||
{...}: {
|
||||
home.file.".local/bin/lock" = {
|
||||
executable = true;
|
||||
text = ''
|
||||
|
|
|
@ -1,7 +1,4 @@
|
|||
{
|
||||
...
|
||||
}: {
|
||||
|
||||
{...}: {
|
||||
documentation = {
|
||||
enable = true;
|
||||
doc.enable = false;
|
||||
|
@ -36,5 +33,4 @@
|
|||
|
||||
system.autoUpgrade.enable = false;
|
||||
system.stateVersion = "23.05"; # no touchy
|
||||
|
||||
}
|
|
@ -13,8 +13,8 @@ stdenv.mkDerivation rec {
|
|||
sha256 = "sha256-qgSJPP4yhIKNhLNjS8mSupw98YyCqevKqLTGnONFAKk=";
|
||||
fetchSubmodules = true;
|
||||
};
|
||||
nativeBuildInputs = with pkgs; [ cmake pkg-config libsForQt5.qt5.wrapQtAppsHook ];
|
||||
buildInputs = with pkgs; [ libsForQt5.qt5.qtbase libsForQt5.qt5.qtsvg libsForQt5.qt5.qtmultimedia libsForQt5.qt5.qtimageformats libsForQt5.qt5.qttools boost openssl libsecret ];
|
||||
nativeBuildInputs = with pkgs; [cmake pkg-config libsForQt5.qt5.wrapQtAppsHook];
|
||||
buildInputs = with pkgs; [libsForQt5.qt5.qtbase libsForQt5.qt5.qtsvg libsForQt5.qt5.qtmultimedia libsForQt5.qt5.qtimageformats libsForQt5.qt5.qttools boost openssl libsecret];
|
||||
configurationPhase = ''
|
||||
mkdir build && cd build
|
||||
cmake ..
|
||||
|
@ -22,10 +22,12 @@ stdenv.mkDerivation rec {
|
|||
buildPhase = ''
|
||||
make
|
||||
'';
|
||||
installPhase = ''
|
||||
installPhase =
|
||||
''
|
||||
mkdir -p "$out/bin"
|
||||
mv "bin/chatterino" "$out/bin"
|
||||
'' + ''
|
||||
''
|
||||
+ ''
|
||||
mkdir -p $out/share/icons/hicolor/256x256/apps
|
||||
cp $src/resources/icon.png $out/share/icons/hicolor/256x256/apps/chatterino.png
|
||||
'';
|
||||
|
|
Loading…
Reference in a new issue