halfway between the gutter and the stars
This commit is contained in:
parent
aeaf4697f7
commit
765e7a891e
7 changed files with 195 additions and 49 deletions
|
@ -1,6 +1,15 @@
|
|||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
let
|
||||
flake-compat = builtins.fetchTarball "https://github.com/edolstra/flake-compat/archive/master.tar.gz";
|
||||
|
||||
hyprland = (import flake-compat {
|
||||
src = builtins.fetchTarball "https://github.com/hyprwm/Hyprland/archive/master.tar.gz";
|
||||
}).defaultNix;
|
||||
in {
|
||||
imports = [
|
||||
hyprland.homeManagerModules.default
|
||||
];
|
||||
|
||||
nixpkgs.overlays = [
|
||||
(self: super: {
|
||||
|
@ -18,22 +27,43 @@
|
|||
nicotine-plus
|
||||
];
|
||||
|
||||
|
||||
wayland.windowManager.sway = {
|
||||
enable = true;
|
||||
config = rec {
|
||||
modifier = "Mod4";
|
||||
terminal = "kitty";
|
||||
gaps = {
|
||||
inner = 15;
|
||||
outer = 30;
|
||||
};
|
||||
};
|
||||
wrapperFeatures = {
|
||||
base = true;
|
||||
gtk= true;
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
wayland.windowManager.hyprland = {
|
||||
enable = true;
|
||||
extraConfig = ''
|
||||
bind = SUPER, Return, exec, kitty
|
||||
'';
|
||||
};
|
||||
|
||||
systemd.user.startServices = true;
|
||||
systemd.user.services."com.system76.Scheduler.dbusproxy" = {
|
||||
|
||||
Unit = {
|
||||
Description = "the system76 process scheduler kwin dbus proxy";
|
||||
Requires = [ "dbus.service" ];
|
||||
};
|
||||
|
||||
Install = {
|
||||
WantedBy = [ "graphical-session.target" "default.target" ];
|
||||
};
|
||||
|
||||
Service = {
|
||||
ExecStart = ''${pkgs.kwin-system76-scheduler-integration}/bin/kwin-system76-scheduler-dbus-proxy.sh'';
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
}
|
||||
|
|
|
@ -7,14 +7,14 @@ let
|
|||
# };
|
||||
# nix-rice-overlay = import (nix-rice + "/overlay.nix");
|
||||
# pkgs = import <nixpkgs> { overlays = [ nix-rice-overlay ]; };
|
||||
kitty_notest = pkgs.kitty.overridePythonAttrs (oldAttrs: { doCheck = false; checkPhase = ""; });
|
||||
# kitty_notest = pkgs.kitty.overridePythonAttrs (oldAttrs: { doCheck = false; checkPhase = ""; });
|
||||
in
|
||||
{
|
||||
imports = [
|
||||
# who are you?
|
||||
# ./bolt.nix
|
||||
./bolt.nix
|
||||
# ./fossil.nix
|
||||
./plank.nix
|
||||
# ./plank.nix
|
||||
];
|
||||
|
||||
nixpkgs.config.packageOverrides = pkgs: {
|
||||
|
@ -78,16 +78,15 @@ in
|
|||
enable = true;
|
||||
# enableExtensionUpdateCheck = false;
|
||||
# enableUpdateCheck = false;
|
||||
package = pkgs.vscodium;
|
||||
extensions = [];
|
||||
mutableExtensionsDir = false;
|
||||
mutableExtensionsDir = true;
|
||||
};
|
||||
|
||||
xdg.desktopEntries = {
|
||||
codium-url = {
|
||||
name = "VsCodium";
|
||||
Code-url = {
|
||||
name = "VsCode";
|
||||
genericName = "Text Editor";
|
||||
exec = "codium --disable-gpu-sandbox --open-url %U";
|
||||
exec = "code --disable-gpu-sandbox --open-url %U";
|
||||
icon = "code";
|
||||
comment = "Code Editing. Redefined.";
|
||||
categories = [ "Utility" "TextEditor" "Development" "IDE" ];
|
||||
|
@ -97,17 +96,17 @@ in
|
|||
startupNotify = true;
|
||||
type = "Application";
|
||||
};
|
||||
codium = {
|
||||
Code = {
|
||||
categories = [ "Utility" "TextEditor" "Development" "IDE" ];
|
||||
comment = "Code Editing. Redefined.";
|
||||
exec = "codium --disable-gpu-sandbox %F";
|
||||
exec = "code --disable-gpu-sandbox %F";
|
||||
genericName = "Text Editor";
|
||||
icon = "code";
|
||||
# keywords = [ "vscode" ];
|
||||
mimeType = [ "text/plain" "inode/directory" ];
|
||||
name = "VsCodium";
|
||||
name = "VsCode";
|
||||
startupNotify = true;
|
||||
# startupWMClass = "vscodium";
|
||||
# startupWMClass = "vsCode";
|
||||
type = "Application";
|
||||
};
|
||||
};
|
||||
|
@ -167,7 +166,7 @@ in
|
|||
|
||||
programs.kitty = {
|
||||
enable = true;
|
||||
package = kitty_notest;
|
||||
# package = kitty_notest;
|
||||
font = {
|
||||
name = "Ellograph CF";
|
||||
size = 10;
|
||||
|
@ -244,12 +243,12 @@ in
|
|||
|
||||
la_culr()
|
||||
{
|
||||
ls -ralhX --color $@ | culr
|
||||
ls -lha --group-directories-first --color $@ | culr
|
||||
}
|
||||
|
||||
ls_culr()
|
||||
{
|
||||
ls -rlhX --color $@ | culr
|
||||
ls -lh --group-directories-first --color $@ | culr
|
||||
}
|
||||
|
||||
ps_culr()
|
||||
|
@ -389,6 +388,9 @@ fresh
|
|||
programs.helix.enable = true;
|
||||
programs.helix.settings = {
|
||||
theme = "bogster";
|
||||
editor.lsp.display-messages = true;
|
||||
editor.auto-pairs = false;
|
||||
editor.indent-guides.render = true;
|
||||
};
|
||||
|
||||
home.sessionVariables = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue