Compare commits
8 commits
e875fb9627
...
3dcc3b3f34
| Author | SHA1 | Date | |
|---|---|---|---|
| 3dcc3b3f34 | |||
| 37f05c1163 | |||
| 0bb0f25679 | |||
| c6be7e059e | |||
| 9afcb20494 | |||
| 524292401c | |||
| 30c916dce3 | |||
| 854cf9a5fc |
13 changed files with 111 additions and 66 deletions
|
|
@ -31,11 +31,9 @@ in
|
|||
networking.networkmanager.enable = true;
|
||||
|
||||
# Power button settings
|
||||
services.logind = {
|
||||
extraConfig = ''
|
||||
HandlePowerKey=ignore
|
||||
HandlePowerKeyLongPress=poweroff
|
||||
'';
|
||||
services.logind.settings.Login = {
|
||||
HandlePowerKey = "ignore";
|
||||
HandlePowerKeyLongPress = "poweroff";
|
||||
};
|
||||
|
||||
# Set your time zone.
|
||||
|
|
|
|||
|
|
@ -14,10 +14,13 @@ in {
|
|||
aspell = aspell.overrideAttrs (super: {
|
||||
postInstall = super.postInstall + ''
|
||||
mkdir -p $out/etc
|
||||
cat > $out/etc/aspell.conf << EOF
|
||||
lang en_US
|
||||
add-extra-dicts en-computers.rws
|
||||
add-extra-dicts en_US-science.rws
|
||||
cat >$out/lib/aspell/en_US-custom.multi <<EOF
|
||||
add en_US-w_accents.multi
|
||||
add en-computers.rws
|
||||
add en_US-science.rws
|
||||
EOF
|
||||
cat >$out/etc/aspell.conf <<EOF
|
||||
master en_US-custom
|
||||
EOF
|
||||
'';
|
||||
});
|
||||
|
|
|
|||
48
flake.lock
generated
48
flake.lock
generated
|
|
@ -7,11 +7,11 @@
|
|||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1750304462,
|
||||
"narHash": "sha256-Mj5t4yX05/rXnRqJkpoLZTWqgStB88Mr/fegTRqyiWc=",
|
||||
"lastModified": 1761005073,
|
||||
"narHash": "sha256-r6qbieh8iC1q1eCaWv15f4UIp8SeGffwswhNSA1Qk3s=",
|
||||
"owner": "nix-community",
|
||||
"repo": "home-manager",
|
||||
"rev": "863842639722dd12ae9e37ca83bcb61a63b36f6c",
|
||||
"rev": "84e1adb0cdd13f5f29886091c7234365e12b1e7f",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
|
@ -40,11 +40,11 @@
|
|||
"mobile-nixos": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1749499850,
|
||||
"narHash": "sha256-Fyy9ySTJ7jJ7z2h5+KHJU6OUhPJvy12OlVOichkwmZ0=",
|
||||
"lastModified": 1759261417,
|
||||
"narHash": "sha256-TjuoBb8+isL3KTdGgtYh90XPyeUMFbgNAOG9l23CB3A=",
|
||||
"owner": "mobile-nixos",
|
||||
"repo": "mobile-nixos",
|
||||
"rev": "26faf325d6efb169e2e4a2c435346b46c19d08bc",
|
||||
"rev": "e6f6d527bf6abf94dd52fbba3143a720cef96431",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
|
@ -55,11 +55,11 @@
|
|||
},
|
||||
"nixos-hardware": {
|
||||
"locked": {
|
||||
"lastModified": 1750431636,
|
||||
"narHash": "sha256-vnzzBDbCGvInmfn2ijC4HsIY/3W1CWbwS/YQoFgdgPg=",
|
||||
"lastModified": 1760958188,
|
||||
"narHash": "sha256-2m1S4jl+GEDtlt2QqeHil8Ny456dcGSKJAM7q3j/BFU=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixos-hardware",
|
||||
"rev": "1552a9f4513f3f0ceedcf90320e48d3d47165712",
|
||||
"rev": "d6645c340ef7d821602fd2cd199e8d1eed10afbc",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
|
@ -70,11 +70,11 @@
|
|||
},
|
||||
"nixpkgs": {
|
||||
"locked": {
|
||||
"lastModified": 1750365781,
|
||||
"narHash": "sha256-XE/lFNhz5lsriMm/yjXkvSZz5DfvKJLUjsS6pP8EC50=",
|
||||
"lastModified": 1760878510,
|
||||
"narHash": "sha256-K5Osef2qexezUfs0alLvZ7nQFTGS9DL2oTVsIXsqLgs=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "08f22084e6085d19bcfb4be30d1ca76ecb96fe54",
|
||||
"rev": "5e2a59a5b1a82f89f2c7e598302a9cacebb72a67",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
|
@ -92,17 +92,15 @@
|
|||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1759303785,
|
||||
"narHash": "sha256-EUXrK7pUIzOQWR1dquZh26A6W8lsY2oiHEEZzQnsarM=",
|
||||
"ref": "refs/heads/master",
|
||||
"rev": "9662234759eb57f2a1057f2a1c667da1bf128c1c",
|
||||
"revCount": 686,
|
||||
"type": "git",
|
||||
"url": "https://git.outfoxxed.me/outfoxxed/quickshell"
|
||||
"lastModified": 1759610621,
|
||||
"narHash": "sha256-P3UPFd95mS/3aNgy40nCXAmyfR2bEEBd+tX6xfkYFb0=",
|
||||
"rev": "c5c438f1cd1a76660a8658ef929a3d19e968e2ce",
|
||||
"type": "tarball",
|
||||
"url": "https://git.outfoxxed.me/api/v1/repos/quickshell/quickshell/archive/c5c438f1cd1a76660a8658ef929a3d19e968e2ce.tar.gz"
|
||||
},
|
||||
"original": {
|
||||
"type": "git",
|
||||
"url": "https://git.outfoxxed.me/outfoxxed/quickshell"
|
||||
"type": "tarball",
|
||||
"url": "https://git.outfoxxed.me/quickshell/quickshell/archive/master.tar.gz"
|
||||
}
|
||||
},
|
||||
"quickshell-toki-night": {
|
||||
|
|
@ -114,11 +112,11 @@
|
|||
"systems": "systems"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1759883456,
|
||||
"narHash": "sha256-iWW4CnclIGnKrMDZiiNlKc7fG/zR1g3TkHdcVs0a8LA=",
|
||||
"rev": "8f085b5c36084d8cca38195827d446d109d5c7c3",
|
||||
"lastModified": 1759976594,
|
||||
"narHash": "sha256-bTrBPRu8CM4YHRSDT6mI5SylEHshujSb2r++C6O/vug=",
|
||||
"rev": "6e1fb585e30d3503dd120f19e64535005357ffc7",
|
||||
"type": "tarball",
|
||||
"url": "https://git.tokinanpa.dev/api/v1/repos/toki/quickshell-toki-night/archive/8f085b5c36084d8cca38195827d446d109d5c7c3.tar.gz"
|
||||
"url": "https://git.tokinanpa.dev/api/v1/repos/toki/quickshell-toki-night/archive/6e1fb585e30d3503dd120f19e64535005357ffc7.tar.gz"
|
||||
},
|
||||
"original": {
|
||||
"type": "tarball",
|
||||
|
|
|
|||
|
|
@ -4,6 +4,8 @@
|
|||
hardware.enableRedistributableFirmware = true;
|
||||
hardware.enableAllFirmware = true;
|
||||
|
||||
hardware.microsoft-surface.kernelVersion = "stable";
|
||||
|
||||
boot.initrd.availableKernelModules = [ "xhci_pci" "thunderbolt" "nvme" "usbhid" "usb_storage" "sd_mod" ];
|
||||
boot.initrd.kernelModules = [ ];
|
||||
boot.kernelModules = [ "kvm-intel" ];
|
||||
|
|
@ -24,7 +26,6 @@
|
|||
[ { device = "/dev/disk/by-uuid/3a81bb60-49e4-41fc-8716-8db7dd5f698f"; }
|
||||
];
|
||||
|
||||
powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
|
||||
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
||||
virtualisation.hypervGuest.enable = true;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -12,20 +12,20 @@
|
|||
};
|
||||
colors.normal = {
|
||||
black = "#32344a";
|
||||
red = "#ce7284";
|
||||
green = "#7dc5a0";
|
||||
yellow = "#caaa6a";
|
||||
blue = "#7bc5e4";
|
||||
red = "#f7768e";
|
||||
green = "#9ece6a";
|
||||
yellow = "#e0af68";
|
||||
blue = "#7aa2f7";
|
||||
magenta = "#ad8ee6";
|
||||
cyan = "#449dab";
|
||||
white = "#787c99";
|
||||
};
|
||||
colors.bright = {
|
||||
black = "#444b6a";
|
||||
red = "#d5556f";
|
||||
red = "#ff7a93";
|
||||
green = "#b9f27c";
|
||||
yellow = "#ff9e64";
|
||||
blue = "#7da6ff";
|
||||
blue = "#7bc5e4";
|
||||
magenta = "#bb9af7";
|
||||
cyan = "#0db9d7";
|
||||
white = "#acb0d0";
|
||||
|
|
|
|||
|
|
@ -2,16 +2,10 @@
|
|||
{
|
||||
imports = [
|
||||
./alacritty.nix
|
||||
./fish.nix
|
||||
./starship.nix
|
||||
];
|
||||
|
||||
# Fish shell
|
||||
|
||||
programs.fish.enable = true;
|
||||
# Disable greeting
|
||||
programs.fish.interactiveShellInit =
|
||||
"set -g fish_greeting";
|
||||
|
||||
# Eza - ls replacement
|
||||
|
||||
programs.eza.enable = true;
|
||||
|
|
|
|||
50
home-manager/shell/fish.nix
Normal file
50
home-manager/shell/fish.nix
Normal file
|
|
@ -0,0 +1,50 @@
|
|||
{ ... }:
|
||||
{
|
||||
programs.fish.enable = true;
|
||||
|
||||
# Disable greeting
|
||||
programs.fish.interactiveShellInit =
|
||||
"set -g fish_greeting";
|
||||
|
||||
# Set colors
|
||||
programs.fish.shellInit = ''
|
||||
set -g fish_color_normal normal
|
||||
set -g fish_color_command brcyan
|
||||
set -g fish_color_keyword
|
||||
set -g fish_color_quote green
|
||||
set -g fish_color_redirection yellow
|
||||
set -g fish_color_end brmagenta
|
||||
set -g fish_color_error brred
|
||||
set -g fish_color_param blue
|
||||
set -g fish_color_comment white
|
||||
set -g fish_color_match --background=blue
|
||||
set -g fish_color_selection white --bold --background=brblack
|
||||
set -g fish_color_search_match bryellow --background=brblack
|
||||
set -g fish_color_history_current --bold
|
||||
set -g fish_color_operator magenta
|
||||
set -g fish_color_escape yellow
|
||||
set -g fish_color_cwd green
|
||||
set -g fish_color_cwd_root red
|
||||
set -g fish_color_option brblue
|
||||
set -g fish_color_valid_path --underline
|
||||
set -g fish_color_autosuggestion brblack
|
||||
set -g fish_color_user brgreen
|
||||
set -g fish_color_host normal
|
||||
set -g fish_color_host_remote yellow
|
||||
set -g fish_color_history_current --bold
|
||||
set -g fish_color_cancel --reverse
|
||||
set -g fish_pager_color_prefix normal --bold --underline
|
||||
set -g fish_pager_color_progress brwhite --background=cyan
|
||||
set -g fish_pager_color_completion normal
|
||||
set -g fish_pager_color_description yellow
|
||||
set -g fish_pager_color_selected_background --background=black
|
||||
set -g fish_pager_color_selected_completion
|
||||
set -g fish_pager_color_secondary_background
|
||||
set -g fish_pager_color_secondary_description
|
||||
set -g fish_pager_color_selected_prefix
|
||||
set -g fish_pager_color_secondary_prefix
|
||||
set -g fish_pager_color_selected_description
|
||||
set -g fish_pager_color_background
|
||||
set -g fish_pager_color_secondary_completion
|
||||
'';
|
||||
}
|
||||
|
|
@ -24,8 +24,8 @@
|
|||
truncation_symbol = "⋯ /";
|
||||
read_only = " ";
|
||||
read_only_style = "cyan";
|
||||
before_repo_root_style = "bold blue";
|
||||
repo_root_style = "bold blue";
|
||||
before_repo_root_style = "bold bright-blue";
|
||||
repo_root_style = "bold bright-blue";
|
||||
};
|
||||
|
||||
nix_shell = {
|
||||
|
|
|
|||
|
|
@ -23,13 +23,14 @@
|
|||
|
||||
programs.git = {
|
||||
enable = true;
|
||||
userName = fullname;
|
||||
userEmail = email;
|
||||
|
||||
signing.key = "6CB106C25E86A9F7";
|
||||
signing.signByDefault = true;
|
||||
|
||||
extraConfig = {
|
||||
settings = {
|
||||
user.name = fullname;
|
||||
user.email = email;
|
||||
|
||||
github.user = "kiana-S";
|
||||
credential.helper = "store";
|
||||
safe.directory = [ "/etc/nixos" ];
|
||||
|
|
@ -38,8 +39,13 @@
|
|||
init.defaultBranch = "main";
|
||||
};
|
||||
|
||||
delta.enable = true;
|
||||
delta.options = {
|
||||
};
|
||||
|
||||
programs.delta = {
|
||||
enable = true;
|
||||
enableGitIntegration = true;
|
||||
|
||||
options = {
|
||||
features = "decorations";
|
||||
relative-paths = true;
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
{ config, pkgs, lib, ... }:
|
||||
{ pkgs, lib, ... }:
|
||||
let
|
||||
scripts = ./scripts;
|
||||
shell = "quickshell";
|
||||
|
|
@ -94,7 +94,7 @@ in {
|
|||
"$mod, Return, exec, $terminal"
|
||||
"$mod, D, global, ${shell}:launcher"
|
||||
"$mod Shift, D, global, ${shell}:dashboard"
|
||||
"$mod, M, exec, hyprlock --immediate"
|
||||
"$mod, M, exec, hyprlock"
|
||||
|
||||
# Exit
|
||||
"$mod Shift, E, global, ${shell}:session"
|
||||
|
|
|
|||
|
|
@ -21,13 +21,13 @@ in {
|
|||
services.hypridle.enable = true;
|
||||
services.hypridle.settings = {
|
||||
general = {
|
||||
before_sleep_cmd = "hyprlock --immediate";
|
||||
before_sleep_cmd = "hyprlock";
|
||||
};
|
||||
|
||||
listener = [
|
||||
{
|
||||
timeout = 120;
|
||||
on-timeout = "hyprlock";
|
||||
on-timeout = "hyprlock --grace 180";
|
||||
}
|
||||
{
|
||||
timeout = 600;
|
||||
|
|
|
|||
|
|
@ -10,10 +10,6 @@
|
|||
PartOf = [ "graphical-session.target" ];
|
||||
};
|
||||
|
||||
Service = {
|
||||
ExecStart = lib.getExe quickshell-toki-night.packages.${pkgs.system}.default;
|
||||
Restart = "always";
|
||||
RestartSec = "10";
|
||||
};
|
||||
Service.ExecStart = lib.getExe quickshell-toki-night.packages.${pkgs.system}.default;
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -18,8 +18,7 @@
|
|||
in {
|
||||
general = {
|
||||
hide_cursor = true;
|
||||
disable_loading_bar = true;
|
||||
grace = 180;
|
||||
ignore_empty_input = true;
|
||||
};
|
||||
|
||||
background = [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue