Compare commits
2 Commits
9a94ed7331
...
903661935e
| Author | SHA1 | Date | |
|---|---|---|---|
| 903661935e | |||
| 4ca03fde37 |
+9
-5
@@ -21,12 +21,16 @@
|
|||||||
settings.user.email = "me@syedm.dev";
|
settings.user.email = "me@syedm.dev";
|
||||||
};
|
};
|
||||||
|
|
||||||
home.file.".xinitrc" = {
|
xsession = {
|
||||||
text = ''
|
enable = true;
|
||||||
exec dbus-run-session -- kutu.rb
|
windowManager.command = "kutu.rb";
|
||||||
'';
|
|
||||||
executable = true;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
home.file.".xinitrc".text = ''
|
||||||
|
if [ -f ~/.xsession ]; then
|
||||||
|
exec ~/.xsession
|
||||||
|
fi
|
||||||
|
'';
|
||||||
|
|
||||||
home.stateVersion = "26.05";
|
home.stateVersion = "26.05";
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,17 +1,14 @@
|
|||||||
{ pkgs, ... }:
|
{ pkgs, ... }:
|
||||||
|
|
||||||
let
|
let
|
||||||
menuify = pkgs.substituteAll {
|
script = pkgs.replaceVars ./menuify.sh {
|
||||||
src = ./menuify.sh;
|
|
||||||
isExecutable = true;
|
|
||||||
dir = "bin";
|
|
||||||
name = "menuify";
|
|
||||||
|
|
||||||
bash = pkgs.bash;
|
bash = pkgs.bash;
|
||||||
dmenu = pkgs.dmenu;
|
dmenu = pkgs.dmenu;
|
||||||
gawk = pkgs.gawk;
|
gawk = pkgs.gawk;
|
||||||
coreutils = pkgs.coreutils;
|
coreutils = pkgs.coreutils;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
menuify = pkgs.writeShellScriptBin "menuify" (builtins.readFile script);
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
services.dunst = {
|
services.dunst = {
|
||||||
|
|||||||
@@ -48,7 +48,7 @@
|
|||||||
}
|
}
|
||||||
{
|
{
|
||||||
type = "custom";
|
type = "custom";
|
||||||
format = "\\u001b[33m╰─ ->\\u001b[39m kutu.rb";
|
format = "{#yellow}╰─ ->{#} kutu.rb";
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
type = "host";
|
type = "host";
|
||||||
@@ -67,7 +67,7 @@
|
|||||||
}
|
}
|
||||||
{
|
{
|
||||||
type = "custom";
|
type = "custom";
|
||||||
format = " \\u001b[90m \\u001b[31m \\u001b[32m \\u001b[33m \\u001b[34m \\u001b[35m \\u001b[36m \\u001b[37m \\u001b[38m \\u001b[39m";
|
format = " {#black} {#red} {#green} {#yellow} {#blue} {#magenta} {#cyan} {#white} {#default}";
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -19,5 +19,6 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
shellInit = builtins.readFile ./config.fish;
|
shellInit = builtins.readFile ./config.fish;
|
||||||
|
interactiveShellInit = builtins.readFile ./interactive.fish;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -0,0 +1,3 @@
|
|||||||
|
if test "$KITTY_STR" -eq 1
|
||||||
|
fastfetch
|
||||||
|
end
|
||||||
+10
-4
@@ -4,13 +4,20 @@
|
|||||||
programs.kitty = {
|
programs.kitty = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
||||||
shellIntegration.enableFishIntegration = true;
|
shellIntegration = {
|
||||||
|
enableFishIntegration = true;
|
||||||
|
mode = "no-cursor";
|
||||||
|
};
|
||||||
|
|
||||||
font = {
|
font = {
|
||||||
name = "Agave Nerd Font";
|
name = "Agave Nerd Font";
|
||||||
size = 13;
|
size = 13;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
environment = {
|
||||||
|
KITTY_STR = "1";
|
||||||
|
};
|
||||||
|
|
||||||
settings = {
|
settings = {
|
||||||
bold_font = "Agave Nerd Font Bold";
|
bold_font = "Agave Nerd Font Bold";
|
||||||
# italic_font = "Operator Mono Lig";
|
# italic_font = "Operator Mono Lig";
|
||||||
@@ -19,16 +26,15 @@
|
|||||||
|
|
||||||
cursor_shape = "block";
|
cursor_shape = "block";
|
||||||
cursor_blink_interval = 0;
|
cursor_blink_interval = 0;
|
||||||
shell_integration = "no-cursor";
|
|
||||||
|
|
||||||
underline_position = "+3";
|
underline_position = "+3";
|
||||||
underline_thickness = "150%";
|
underline_thickness = "150%";
|
||||||
|
|
||||||
|
window_margin_width = 8;
|
||||||
|
|
||||||
allow_remote_control = "yes";
|
allow_remote_control = "yes";
|
||||||
listen_on = "unix:/tmp/mykitty";
|
listen_on = "unix:/tmp/mykitty";
|
||||||
|
|
||||||
startup_session = ./startup;
|
|
||||||
|
|
||||||
foreground = "#CDD6F4";
|
foreground = "#CDD6F4";
|
||||||
background = "#080014";
|
background = "#080014";
|
||||||
selection_foreground = "#080014";
|
selection_foreground = "#080014";
|
||||||
|
|||||||
@@ -1,3 +0,0 @@
|
|||||||
# Run the command on new Kitty window creation
|
|
||||||
|
|
||||||
launch env KITTY_STR=1 fish
|
|
||||||
@@ -4,6 +4,6 @@
|
|||||||
programs.rofi = {
|
programs.rofi = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
||||||
theme = ./theme.rasi;
|
theme = ./tokyonight-mid.rasi;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
+4
-1
@@ -9,6 +9,7 @@
|
|||||||
nixpkgs.config.allowUnfree = true;
|
nixpkgs.config.allowUnfree = true;
|
||||||
|
|
||||||
boot.loader.systemd-boot.enable = true;
|
boot.loader.systemd-boot.enable = true;
|
||||||
|
boot.loader.systemd-boot.consoleMode = "max";
|
||||||
boot.loader.efi.canTouchEfiVariables = true;
|
boot.loader.efi.canTouchEfiVariables = true;
|
||||||
|
|
||||||
nix.settings.experimental-features = [
|
nix.settings.experimental-features = [
|
||||||
@@ -36,7 +37,7 @@
|
|||||||
users.users.me = {
|
users.users.me = {
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
shell = pkgs.fish;
|
shell = pkgs.fish;
|
||||||
extraGroups = [ "wheel" ];
|
extraGroups = [ "wheel" "video" "networkmanager" "input" ];
|
||||||
openssh.authorizedKeys.keys = [
|
openssh.authorizedKeys.keys = [
|
||||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIMPFh01e9doyInt0980V8T4xaakcSaOyXaxxYE4+oSwM me@syedm # server"
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIMPFh01e9doyInt0980V8T4xaakcSaOyXaxxYE4+oSwM me@syedm # server"
|
||||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJFUwk54CNtSLUyXSTLsIs5KXgEsjOgE4HGlA4FacKjV me@tardis # msi laptop"
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJFUwk54CNtSLUyXSTLsIs5KXgEsjOgE4HGlA4FacKjV me@tardis # msi laptop"
|
||||||
@@ -44,6 +45,8 @@
|
|||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
security.sudo.wheelNeedsPassword = false;
|
||||||
|
|
||||||
services.getty = {
|
services.getty = {
|
||||||
autologinUser = "me";
|
autologinUser = "me";
|
||||||
autologinOnce = true;
|
autologinOnce = true;
|
||||||
|
|||||||
@@ -10,10 +10,14 @@
|
|||||||
"nouveau"
|
"nouveau"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
boot.kernelParams = [ "video=efifb:1920x1080" ];
|
||||||
|
|
||||||
environment.systemPackages = lib.mkAfter (with pkgs; [
|
environment.systemPackages = lib.mkAfter (with pkgs; [
|
||||||
firefox
|
firefox
|
||||||
xdg-utils
|
xdg-utils
|
||||||
dmenu
|
dmenu
|
||||||
|
pulseaudio
|
||||||
|
brightnessctl
|
||||||
|
|
||||||
inputs.kutu.packages.${stdenv.hostPlatform.system}.default
|
inputs.kutu.packages.${stdenv.hostPlatform.system}.default
|
||||||
]);
|
]);
|
||||||
@@ -36,6 +40,7 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
services.dbus.enable = true;
|
services.dbus.enable = true;
|
||||||
|
services.clipmenu.enable = true;
|
||||||
|
|
||||||
xdg.portal = {
|
xdg.portal = {
|
||||||
enable = true;
|
enable = true;
|
||||||
@@ -44,5 +49,19 @@
|
|||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
security.rtkit.enable = true;
|
||||||
|
|
||||||
|
services.pipewire = {
|
||||||
|
enable = true;
|
||||||
|
alsa.enable = true;
|
||||||
|
alsa.support32Bit = true;
|
||||||
|
pulse.enable = true;
|
||||||
|
jack.enable = true;
|
||||||
|
};
|
||||||
|
|
||||||
|
hardware.pulseaudio.enable = false;
|
||||||
|
|
||||||
|
services.power-profiles-daemon.enable = true;
|
||||||
|
|
||||||
networking.hostName = "tardis";
|
networking.hostName = "tardis";
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user