mirror of
https://gitlab.com/Zaney/zaneyos.git
synced 2025-02-19 18:10:47 +01:00
Remove pkgs flake.nix useless definition and run a nixfmt
This commit is contained in:
parent
fa0cfba454
commit
4dceea0296
3698
config/emoji.nix
3698
config/emoji.nix
File diff suppressed because it is too large
Load Diff
@ -1,8 +1,4 @@
|
|||||||
{
|
{ pkgs, config, ... }:
|
||||||
pkgs,
|
|
||||||
config,
|
|
||||||
...
|
|
||||||
}:
|
|
||||||
|
|
||||||
{
|
{
|
||||||
programs = {
|
programs = {
|
||||||
@ -20,185 +16,199 @@
|
|||||||
display-run = " Run";
|
display-run = " Run";
|
||||||
display-filebrowser = " File";
|
display-filebrowser = " File";
|
||||||
};
|
};
|
||||||
theme = let inherit (config.lib.formats.rasi) mkLiteral; in {
|
theme =
|
||||||
"*" = {
|
let
|
||||||
bg = mkLiteral "#${config.stylix.base16Scheme.base00}";
|
inherit (config.lib.formats.rasi) mkLiteral;
|
||||||
bg-alt = mkLiteral "#${config.stylix.base16Scheme.base09}";
|
in
|
||||||
foreground = mkLiteral "#${config.stylix.base16Scheme.base01}";
|
{
|
||||||
selected = mkLiteral "#${config.stylix.base16Scheme.base08}";
|
"*" = {
|
||||||
active = mkLiteral "#${config.stylix.base16Scheme.base0B}";
|
bg = mkLiteral "#${config.stylix.base16Scheme.base00}";
|
||||||
text-selected = mkLiteral "#${config.stylix.base16Scheme.base00}";
|
bg-alt = mkLiteral "#${config.stylix.base16Scheme.base09}";
|
||||||
text-color = mkLiteral "#${config.stylix.base16Scheme.base05}";
|
foreground = mkLiteral "#${config.stylix.base16Scheme.base01}";
|
||||||
border-color = mkLiteral "#${config.stylix.base16Scheme.base0F}";
|
selected = mkLiteral "#${config.stylix.base16Scheme.base08}";
|
||||||
urgent = mkLiteral "#${config.stylix.base16Scheme.base0E}";
|
active = mkLiteral "#${config.stylix.base16Scheme.base0B}";
|
||||||
|
text-selected = mkLiteral "#${config.stylix.base16Scheme.base00}";
|
||||||
|
text-color = mkLiteral "#${config.stylix.base16Scheme.base05}";
|
||||||
|
border-color = mkLiteral "#${config.stylix.base16Scheme.base0F}";
|
||||||
|
urgent = mkLiteral "#${config.stylix.base16Scheme.base0E}";
|
||||||
|
};
|
||||||
|
"window" = {
|
||||||
|
width = mkLiteral "50%";
|
||||||
|
transparency = "real";
|
||||||
|
orientation = mkLiteral "vertical";
|
||||||
|
cursor = mkLiteral "default";
|
||||||
|
spacing = mkLiteral "0px";
|
||||||
|
border = mkLiteral "2px";
|
||||||
|
border-color = "@border-color";
|
||||||
|
border-radius = mkLiteral "20px";
|
||||||
|
background-color = mkLiteral "@bg";
|
||||||
|
};
|
||||||
|
"mainbox" = {
|
||||||
|
padding = mkLiteral "15px";
|
||||||
|
enabled = true;
|
||||||
|
orientation = mkLiteral "vertical";
|
||||||
|
children = map mkLiteral [
|
||||||
|
"inputbar"
|
||||||
|
"listbox"
|
||||||
|
];
|
||||||
|
background-color = mkLiteral "transparent";
|
||||||
|
};
|
||||||
|
"inputbar" = {
|
||||||
|
enabled = true;
|
||||||
|
padding = mkLiteral "10px 10px 200px 10px";
|
||||||
|
margin = mkLiteral "10px";
|
||||||
|
background-color = mkLiteral "transparent";
|
||||||
|
border-radius = "25px";
|
||||||
|
orientation = mkLiteral "horizontal";
|
||||||
|
children = map mkLiteral [
|
||||||
|
"entry"
|
||||||
|
"dummy"
|
||||||
|
"mode-switcher"
|
||||||
|
];
|
||||||
|
background-image = mkLiteral ''url("~/Pictures/Wallpapers/zaney-wallpaper.jpg", width)'';
|
||||||
|
};
|
||||||
|
"entry" = {
|
||||||
|
enabled = true;
|
||||||
|
expand = false;
|
||||||
|
width = mkLiteral "20%";
|
||||||
|
padding = mkLiteral "10px";
|
||||||
|
border-radius = mkLiteral "12px";
|
||||||
|
background-color = mkLiteral "@selected";
|
||||||
|
text-color = mkLiteral "@text-selected";
|
||||||
|
cursor = mkLiteral "text";
|
||||||
|
placeholder = "🖥️ Search ";
|
||||||
|
placeholder-color = mkLiteral "inherit";
|
||||||
|
};
|
||||||
|
"listbox" = {
|
||||||
|
spacing = mkLiteral "10px";
|
||||||
|
padding = mkLiteral "10px";
|
||||||
|
background-color = mkLiteral "transparent";
|
||||||
|
orientation = mkLiteral "vertical";
|
||||||
|
children = map mkLiteral [
|
||||||
|
"message"
|
||||||
|
"listview"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
"listview" = {
|
||||||
|
enabled = true;
|
||||||
|
columns = 2;
|
||||||
|
lines = 6;
|
||||||
|
cycle = true;
|
||||||
|
dynamic = true;
|
||||||
|
scrollbar = false;
|
||||||
|
layout = mkLiteral "vertical";
|
||||||
|
reverse = false;
|
||||||
|
fixed-height = false;
|
||||||
|
fixed-columns = true;
|
||||||
|
spacing = mkLiteral "10px";
|
||||||
|
background-color = mkLiteral "transparent";
|
||||||
|
border = mkLiteral "0px";
|
||||||
|
};
|
||||||
|
"dummy" = {
|
||||||
|
expand = true;
|
||||||
|
background-color = mkLiteral "transparent";
|
||||||
|
};
|
||||||
|
"mode-switcher" = {
|
||||||
|
enabled = true;
|
||||||
|
spacing = mkLiteral "10px";
|
||||||
|
background-color = mkLiteral "transparent";
|
||||||
|
};
|
||||||
|
"button" = {
|
||||||
|
width = mkLiteral "5%";
|
||||||
|
padding = mkLiteral "12px";
|
||||||
|
border-radius = mkLiteral "12px";
|
||||||
|
background-color = mkLiteral "@text-selected";
|
||||||
|
text-color = mkLiteral "@text-color";
|
||||||
|
cursor = mkLiteral "pointer";
|
||||||
|
};
|
||||||
|
"button selected" = {
|
||||||
|
background-color = mkLiteral "@selected";
|
||||||
|
text-color = mkLiteral "@text-selected";
|
||||||
|
};
|
||||||
|
"scrollbar" = {
|
||||||
|
width = mkLiteral "4px";
|
||||||
|
border = 0;
|
||||||
|
handle-color = mkLiteral "@border-color";
|
||||||
|
handle-width = mkLiteral "8px";
|
||||||
|
padding = 0;
|
||||||
|
};
|
||||||
|
"element" = {
|
||||||
|
enabled = true;
|
||||||
|
spacing = mkLiteral "10px";
|
||||||
|
padding = mkLiteral "10px";
|
||||||
|
border-radius = mkLiteral "12px";
|
||||||
|
background-color = mkLiteral "transparent";
|
||||||
|
cursor = mkLiteral "pointer";
|
||||||
|
};
|
||||||
|
"element normal.normal" = {
|
||||||
|
background-color = mkLiteral "inherit";
|
||||||
|
text-color = mkLiteral "inherit";
|
||||||
|
};
|
||||||
|
"element normal.urgent" = {
|
||||||
|
background-color = mkLiteral "@urgent";
|
||||||
|
text-color = mkLiteral "@foreground";
|
||||||
|
};
|
||||||
|
"element normal.active" = {
|
||||||
|
background-color = mkLiteral "@active";
|
||||||
|
text-color = mkLiteral "@foreground";
|
||||||
|
};
|
||||||
|
"element selected.normal" = {
|
||||||
|
background-color = mkLiteral "@selected";
|
||||||
|
text-color = mkLiteral "@text-selected";
|
||||||
|
};
|
||||||
|
"element selected.urgent" = {
|
||||||
|
background-color = mkLiteral "@urgent";
|
||||||
|
text-color = mkLiteral "@text-selected";
|
||||||
|
};
|
||||||
|
"element selected.active" = {
|
||||||
|
background-color = mkLiteral "@urgent";
|
||||||
|
text-color = mkLiteral "@text-selected";
|
||||||
|
};
|
||||||
|
"element alternate.normal" = {
|
||||||
|
background-color = mkLiteral "transparent";
|
||||||
|
text-color = mkLiteral "inherit";
|
||||||
|
};
|
||||||
|
"element alternate.urgent" = {
|
||||||
|
background-color = mkLiteral "transparent";
|
||||||
|
text-color = mkLiteral "inherit";
|
||||||
|
};
|
||||||
|
"element alternate.active" = {
|
||||||
|
background-color = mkLiteral "transparent";
|
||||||
|
text-color = mkLiteral "inherit";
|
||||||
|
};
|
||||||
|
"element-icon" = {
|
||||||
|
background-color = mkLiteral "transparent";
|
||||||
|
text-color = mkLiteral "inherit";
|
||||||
|
size = mkLiteral "36px";
|
||||||
|
cursor = mkLiteral "inherit";
|
||||||
|
};
|
||||||
|
"element-text" = {
|
||||||
|
background-color = mkLiteral "transparent";
|
||||||
|
font = "JetBrainsMono Nerd Font Mono 12";
|
||||||
|
text-color = mkLiteral "inherit";
|
||||||
|
cursor = mkLiteral "inherit";
|
||||||
|
vertical-align = mkLiteral "0.5";
|
||||||
|
horizontal-align = mkLiteral "0.0";
|
||||||
|
};
|
||||||
|
"message" = {
|
||||||
|
background-color = mkLiteral "transparent";
|
||||||
|
border = mkLiteral "0px";
|
||||||
|
};
|
||||||
|
"textbox" = {
|
||||||
|
padding = mkLiteral "12px";
|
||||||
|
border-radius = mkLiteral "10px";
|
||||||
|
background-color = mkLiteral "@bg-alt";
|
||||||
|
text-color = mkLiteral "@bg";
|
||||||
|
vertical-align = mkLiteral "0.5";
|
||||||
|
horizontal-align = mkLiteral "0.0";
|
||||||
|
};
|
||||||
|
"error-message" = {
|
||||||
|
padding = mkLiteral "12px";
|
||||||
|
border-radius = mkLiteral "20px";
|
||||||
|
background-color = mkLiteral "@bg-alt";
|
||||||
|
text-color = mkLiteral "@bg";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
"window" = {
|
|
||||||
width = mkLiteral "50%";
|
|
||||||
transparency = "real";
|
|
||||||
orientation = mkLiteral "vertical";
|
|
||||||
cursor = mkLiteral "default";
|
|
||||||
spacing = mkLiteral "0px";
|
|
||||||
border = mkLiteral "2px";
|
|
||||||
border-color = "@border-color";
|
|
||||||
border-radius = mkLiteral "20px";
|
|
||||||
background-color = mkLiteral "@bg";
|
|
||||||
};
|
|
||||||
"mainbox" = {
|
|
||||||
padding = mkLiteral "15px";
|
|
||||||
enabled = true;
|
|
||||||
orientation = mkLiteral "vertical";
|
|
||||||
children = map mkLiteral [ "inputbar" "listbox" ];
|
|
||||||
background-color = mkLiteral "transparent";
|
|
||||||
};
|
|
||||||
"inputbar" = {
|
|
||||||
enabled = true;
|
|
||||||
padding = mkLiteral "10px 10px 200px 10px";
|
|
||||||
margin = mkLiteral "10px";
|
|
||||||
background-color = mkLiteral "transparent";
|
|
||||||
border-radius = "25px";
|
|
||||||
orientation = mkLiteral "horizontal";
|
|
||||||
children = map mkLiteral ["entry" "dummy" "mode-switcher" ];
|
|
||||||
background-image = mkLiteral ''url("~/Pictures/Wallpapers/zaney-wallpaper.jpg", width)'';
|
|
||||||
};
|
|
||||||
"entry" = {
|
|
||||||
enabled = true;
|
|
||||||
expand = false;
|
|
||||||
width = mkLiteral "20%";
|
|
||||||
padding = mkLiteral "10px";
|
|
||||||
border-radius = mkLiteral "12px";
|
|
||||||
background-color = mkLiteral "@selected";
|
|
||||||
text-color = mkLiteral "@text-selected";
|
|
||||||
cursor = mkLiteral "text";
|
|
||||||
placeholder = "🖥️ Search ";
|
|
||||||
placeholder-color = mkLiteral "inherit";
|
|
||||||
};
|
|
||||||
"listbox" = {
|
|
||||||
spacing = mkLiteral "10px";
|
|
||||||
padding = mkLiteral "10px";
|
|
||||||
background-color = mkLiteral "transparent";
|
|
||||||
orientation = mkLiteral "vertical";
|
|
||||||
children = map mkLiteral [ "message" "listview" ];
|
|
||||||
};
|
|
||||||
"listview" = {
|
|
||||||
enabled = true;
|
|
||||||
columns = 2;
|
|
||||||
lines = 6;
|
|
||||||
cycle = true;
|
|
||||||
dynamic = true;
|
|
||||||
scrollbar = false;
|
|
||||||
layout = mkLiteral "vertical";
|
|
||||||
reverse = false;
|
|
||||||
fixed-height = false;
|
|
||||||
fixed-columns = true;
|
|
||||||
spacing = mkLiteral "10px";
|
|
||||||
background-color = mkLiteral "transparent";
|
|
||||||
border = mkLiteral "0px";
|
|
||||||
};
|
|
||||||
"dummy" = {
|
|
||||||
expand = true;
|
|
||||||
background-color = mkLiteral "transparent";
|
|
||||||
};
|
|
||||||
"mode-switcher" = {
|
|
||||||
enabled = true;
|
|
||||||
spacing = mkLiteral "10px";
|
|
||||||
background-color = mkLiteral "transparent";
|
|
||||||
};
|
|
||||||
"button" = {
|
|
||||||
width = mkLiteral "5%";
|
|
||||||
padding = mkLiteral "12px";
|
|
||||||
border-radius = mkLiteral "12px";
|
|
||||||
background-color = mkLiteral "@text-selected";
|
|
||||||
text-color = mkLiteral "@text-color";
|
|
||||||
cursor = mkLiteral "pointer";
|
|
||||||
};
|
|
||||||
"button selected" = {
|
|
||||||
background-color = mkLiteral "@selected";
|
|
||||||
text-color = mkLiteral "@text-selected";
|
|
||||||
};
|
|
||||||
"scrollbar" = {
|
|
||||||
width = mkLiteral "4px";
|
|
||||||
border = 0;
|
|
||||||
handle-color = mkLiteral "@border-color";
|
|
||||||
handle-width = mkLiteral "8px";
|
|
||||||
padding = 0;
|
|
||||||
};
|
|
||||||
"element" = {
|
|
||||||
enabled = true;
|
|
||||||
spacing = mkLiteral "10px";
|
|
||||||
padding = mkLiteral "10px";
|
|
||||||
border-radius = mkLiteral "12px";
|
|
||||||
background-color = mkLiteral "transparent";
|
|
||||||
cursor = mkLiteral "pointer";
|
|
||||||
};
|
|
||||||
"element normal.normal" = {
|
|
||||||
background-color = mkLiteral "inherit";
|
|
||||||
text-color = mkLiteral "inherit";
|
|
||||||
};
|
|
||||||
"element normal.urgent" = {
|
|
||||||
background-color = mkLiteral "@urgent";
|
|
||||||
text-color = mkLiteral "@foreground";
|
|
||||||
};
|
|
||||||
"element normal.active" = {
|
|
||||||
background-color = mkLiteral "@active";
|
|
||||||
text-color = mkLiteral "@foreground";
|
|
||||||
};
|
|
||||||
"element selected.normal" = {
|
|
||||||
background-color = mkLiteral "@selected";
|
|
||||||
text-color = mkLiteral "@text-selected";
|
|
||||||
};
|
|
||||||
"element selected.urgent" = {
|
|
||||||
background-color = mkLiteral "@urgent";
|
|
||||||
text-color = mkLiteral "@text-selected";
|
|
||||||
};
|
|
||||||
"element selected.active" = {
|
|
||||||
background-color = mkLiteral "@urgent";
|
|
||||||
text-color = mkLiteral "@text-selected";
|
|
||||||
};
|
|
||||||
"element alternate.normal" = {
|
|
||||||
background-color = mkLiteral "transparent";
|
|
||||||
text-color = mkLiteral "inherit";
|
|
||||||
};
|
|
||||||
"element alternate.urgent" = {
|
|
||||||
background-color = mkLiteral "transparent";
|
|
||||||
text-color = mkLiteral "inherit";
|
|
||||||
};
|
|
||||||
"element alternate.active" = {
|
|
||||||
background-color = mkLiteral "transparent";
|
|
||||||
text-color = mkLiteral "inherit";
|
|
||||||
};
|
|
||||||
"element-icon" = {
|
|
||||||
background-color = mkLiteral "transparent";
|
|
||||||
text-color = mkLiteral "inherit";
|
|
||||||
size = mkLiteral "36px";
|
|
||||||
cursor = mkLiteral "inherit";
|
|
||||||
};
|
|
||||||
"element-text" = {
|
|
||||||
background-color = mkLiteral "transparent";
|
|
||||||
font = "JetBrainsMono Nerd Font Mono 12";
|
|
||||||
text-color = mkLiteral "inherit";
|
|
||||||
cursor = mkLiteral "inherit";
|
|
||||||
vertical-align = mkLiteral "0.5";
|
|
||||||
horizontal-align = mkLiteral "0.0";
|
|
||||||
};
|
|
||||||
"message" = {
|
|
||||||
background-color = mkLiteral "transparent";
|
|
||||||
border = mkLiteral "0px";
|
|
||||||
};
|
|
||||||
"textbox" = {
|
|
||||||
padding = mkLiteral "12px";
|
|
||||||
border-radius = mkLiteral "10px";
|
|
||||||
background-color = mkLiteral "@bg-alt";
|
|
||||||
text-color = mkLiteral "@bg";
|
|
||||||
vertical-align = mkLiteral "0.5";
|
|
||||||
horizontal-align = mkLiteral "0.0";
|
|
||||||
};
|
|
||||||
"error-message" = {
|
|
||||||
padding = mkLiteral "12px";
|
|
||||||
border-radius = mkLiteral "20px";
|
|
||||||
background-color = mkLiteral "@bg-alt";
|
|
||||||
text-color = mkLiteral "@bg";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -1,7 +1,4 @@
|
|||||||
{
|
{ config, ... }:
|
||||||
config,
|
|
||||||
...
|
|
||||||
}:
|
|
||||||
|
|
||||||
{
|
{
|
||||||
programs.wlogout = {
|
programs.wlogout = {
|
||||||
|
@ -23,13 +23,6 @@
|
|||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
host = "familypc";
|
host = "familypc";
|
||||||
username = "zaney";
|
username = "zaney";
|
||||||
|
|
||||||
pkgs = import nixpkgs {
|
|
||||||
inherit system;
|
|
||||||
config = {
|
|
||||||
allowUnfree = true;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
nixosConfigurations = {
|
nixosConfigurations = {
|
||||||
|
@ -96,7 +96,10 @@
|
|||||||
};
|
};
|
||||||
thunar = {
|
thunar = {
|
||||||
enable = true;
|
enable = true;
|
||||||
plugins = with pkgs.xfce; [ thunar-archive-plugin thunar-volman ];
|
plugins = with pkgs.xfce; [
|
||||||
|
thunar-archive-plugin
|
||||||
|
thunar-volman
|
||||||
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -1,33 +1,47 @@
|
|||||||
# Do not modify this file! It was generated by ‘nixos-generate-config’
|
# Do not modify this file! It was generated by ‘nixos-generate-config’
|
||||||
# and may be overwritten by future invocations. Please make changes
|
# and may be overwritten by future invocations. Please make changes
|
||||||
# to /etc/nixos/configuration.nix instead.
|
# to /etc/nixos/configuration.nix instead.
|
||||||
{ config, lib, username, modulesPath, ... }:
|
{
|
||||||
|
config,
|
||||||
|
lib,
|
||||||
|
username,
|
||||||
|
modulesPath,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
|
||||||
{
|
{
|
||||||
imports =
|
imports = [ (modulesPath + "/installer/scan/not-detected.nix") ];
|
||||||
[ (modulesPath + "/installer/scan/not-detected.nix")
|
|
||||||
];
|
|
||||||
|
|
||||||
boot.initrd.availableKernelModules = [ "xhci_pci" "ehci_pci" "ahci" "nvme" "usbhid" "sd_mod" ];
|
boot.initrd.availableKernelModules = [
|
||||||
|
"xhci_pci"
|
||||||
|
"ehci_pci"
|
||||||
|
"ahci"
|
||||||
|
"nvme"
|
||||||
|
"usbhid"
|
||||||
|
"sd_mod"
|
||||||
|
];
|
||||||
boot.initrd.kernelModules = [ ];
|
boot.initrd.kernelModules = [ ];
|
||||||
boot.kernelModules = [ "kvm-intel" ];
|
boot.kernelModules = [ "kvm-intel" ];
|
||||||
boot.extraModulePackages = [ ];
|
boot.extraModulePackages = [ ];
|
||||||
|
|
||||||
fileSystems."/" =
|
fileSystems."/" = {
|
||||||
{ device = "/dev/disk/by-uuid/9e36b8f0-e272-4e69-99ad-dba17949887f";
|
device = "/dev/disk/by-uuid/9e36b8f0-e272-4e69-99ad-dba17949887f";
|
||||||
fsType = "ext4";
|
fsType = "ext4";
|
||||||
};
|
};
|
||||||
|
|
||||||
# fileSystems."/home/${username}/nfs" =
|
# fileSystems."/home/${username}/nfs" =
|
||||||
# { device = "/dev/disk/by-uuid/55555555-5555-5555-5555-555555555555";
|
# { device = "/dev/disk/by-uuid/55555555-5555-5555-5555-555555555555";
|
||||||
# fsType = "nfs";
|
# fsType = "nfs";
|
||||||
# };
|
# };
|
||||||
|
|
||||||
fileSystems."/boot" =
|
fileSystems."/boot" = {
|
||||||
{ device = "/dev/disk/by-uuid/7CBF-413D";
|
device = "/dev/disk/by-uuid/7CBF-413D";
|
||||||
fsType = "vfat";
|
fsType = "vfat";
|
||||||
options = [ "fmask=0022" "dmask=0022" ];
|
options = [
|
||||||
};
|
"fmask=0022"
|
||||||
|
"dmask=0022"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
swapDevices = [ ];
|
swapDevices = [ ];
|
||||||
|
|
||||||
|
@ -9,11 +9,7 @@
|
|||||||
}:
|
}:
|
||||||
let
|
let
|
||||||
palette = config.colorScheme.palette;
|
palette = config.colorScheme.palette;
|
||||||
inherit (import ./variables.nix)
|
inherit (import ./variables.nix) gitUsername gitEmail theme;
|
||||||
gitUsername
|
|
||||||
gitEmail
|
|
||||||
theme
|
|
||||||
;
|
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
# Home Manager Settings
|
# Home Manager Settings
|
||||||
@ -91,7 +87,6 @@ in
|
|||||||
fill_shape=false
|
fill_shape=false
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
|
||||||
# Install & Configure Git
|
# Install & Configure Git
|
||||||
programs.git = {
|
programs.git = {
|
||||||
enable = true;
|
enable = true;
|
||||||
@ -407,7 +402,7 @@ in
|
|||||||
la = "lsd -a";
|
la = "lsd -a";
|
||||||
lal = "lsd -al";
|
lal = "lsd -al";
|
||||||
".." = "cd ..";
|
".." = "cd ..";
|
||||||
neofetch="neofetch --ascii ~/.config/ascii-neofetch";
|
neofetch = "neofetch --ascii ~/.config/ascii-neofetch";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
home-manager.enable = true;
|
home-manager.enable = true;
|
||||||
|
@ -71,7 +71,7 @@
|
|||||||
stylix.cursor.size = 24;
|
stylix.cursor.size = 24;
|
||||||
stylix.fonts = {
|
stylix.fonts = {
|
||||||
monospace = {
|
monospace = {
|
||||||
package = pkgs.nerdfonts.override {fonts = ["JetBrainsMono"];};
|
package = pkgs.nerdfonts.override { fonts = [ "JetBrainsMono" ]; };
|
||||||
name = "JetBrainsMono Nerd Font Mono";
|
name = "JetBrainsMono Nerd Font Mono";
|
||||||
};
|
};
|
||||||
sansSerif = {
|
sansSerif = {
|
||||||
@ -147,7 +147,10 @@
|
|||||||
};
|
};
|
||||||
thunar = {
|
thunar = {
|
||||||
enable = true;
|
enable = true;
|
||||||
plugins = with pkgs.xfce; [ thunar-archive-plugin thunar-volman ];
|
plugins = with pkgs.xfce; [
|
||||||
|
thunar-archive-plugin
|
||||||
|
thunar-volman
|
||||||
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -1,33 +1,47 @@
|
|||||||
# Do not modify this file! It was generated by ‘nixos-generate-config’
|
# Do not modify this file! It was generated by ‘nixos-generate-config’
|
||||||
# and may be overwritten by future invocations. Please make changes
|
# and may be overwritten by future invocations. Please make changes
|
||||||
# to /etc/nixos/configuration.nix instead.
|
# to /etc/nixos/configuration.nix instead.
|
||||||
{ config, lib, username, modulesPath, ... }:
|
{
|
||||||
|
config,
|
||||||
|
lib,
|
||||||
|
username,
|
||||||
|
modulesPath,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
|
||||||
{
|
{
|
||||||
imports =
|
imports = [ (modulesPath + "/installer/scan/not-detected.nix") ];
|
||||||
[ (modulesPath + "/installer/scan/not-detected.nix")
|
|
||||||
];
|
|
||||||
|
|
||||||
boot.initrd.availableKernelModules = [ "xhci_pci" "ehci_pci" "ahci" "nvme" "usbhid" "sd_mod" ];
|
boot.initrd.availableKernelModules = [
|
||||||
|
"xhci_pci"
|
||||||
|
"ehci_pci"
|
||||||
|
"ahci"
|
||||||
|
"nvme"
|
||||||
|
"usbhid"
|
||||||
|
"sd_mod"
|
||||||
|
];
|
||||||
boot.initrd.kernelModules = [ ];
|
boot.initrd.kernelModules = [ ];
|
||||||
boot.kernelModules = [ "kvm-intel" ];
|
boot.kernelModules = [ "kvm-intel" ];
|
||||||
boot.extraModulePackages = [ ];
|
boot.extraModulePackages = [ ];
|
||||||
|
|
||||||
fileSystems."/" =
|
fileSystems."/" = {
|
||||||
{ device = "/dev/disk/by-uuid/9e36b8f0-e272-4e69-99ad-dba17949887f";
|
device = "/dev/disk/by-uuid/9e36b8f0-e272-4e69-99ad-dba17949887f";
|
||||||
fsType = "ext4";
|
fsType = "ext4";
|
||||||
};
|
};
|
||||||
|
|
||||||
fileSystems."/home/${username}/Documents" =
|
fileSystems."/home/${username}/Documents" = {
|
||||||
{ device = "/dev/disk/by-uuid/5605f7ab-73df-4234-a8ed-50c1eae69ffa";
|
device = "/dev/disk/by-uuid/5605f7ab-73df-4234-a8ed-50c1eae69ffa";
|
||||||
fsType = "ext4";
|
fsType = "ext4";
|
||||||
};
|
};
|
||||||
|
|
||||||
fileSystems."/boot" =
|
fileSystems."/boot" = {
|
||||||
{ device = "/dev/disk/by-uuid/7CBF-413D";
|
device = "/dev/disk/by-uuid/7CBF-413D";
|
||||||
fsType = "vfat";
|
fsType = "vfat";
|
||||||
options = [ "fmask=0022" "dmask=0022" ];
|
options = [
|
||||||
};
|
"fmask=0022"
|
||||||
|
"dmask=0022"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
swapDevices = [ ];
|
swapDevices = [ ];
|
||||||
|
|
||||||
|
@ -10,10 +10,7 @@ let
|
|||||||
name = "fine-cmdline";
|
name = "fine-cmdline";
|
||||||
src = inputs.fine-cmdline;
|
src = inputs.fine-cmdline;
|
||||||
};
|
};
|
||||||
inherit (import ./variables.nix)
|
inherit (import ./variables.nix) gitUsername gitEmail;
|
||||||
gitUsername
|
|
||||||
gitEmail
|
|
||||||
;
|
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
# Home Manager Settings
|
# Home Manager Settings
|
||||||
@ -86,7 +83,6 @@ in
|
|||||||
fill_shape=false
|
fill_shape=false
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
|
||||||
# Install & Configure Git
|
# Install & Configure Git
|
||||||
programs.git = {
|
programs.git = {
|
||||||
enable = true;
|
enable = true;
|
||||||
@ -292,7 +288,7 @@ in
|
|||||||
la = "lsd -a";
|
la = "lsd -a";
|
||||||
lal = "lsd -al";
|
lal = "lsd -al";
|
||||||
".." = "cd ..";
|
".." = "cd ..";
|
||||||
neofetch="neofetch --ascii ~/.config/ascii-neofetch";
|
neofetch = "neofetch --ascii ~/.config/ascii-neofetch";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
home-manager.enable = true;
|
home-manager.enable = true;
|
||||||
|
@ -1,18 +1,18 @@
|
|||||||
{ pkgs }:
|
{ pkgs }:
|
||||||
|
|
||||||
pkgs.writeShellScriptBin "emopicker9000" ''
|
pkgs.writeShellScriptBin "emopicker9000" ''
|
||||||
# Get user selection via wofi from emoji file.
|
# Get user selection via wofi from emoji file.
|
||||||
chosen=$(cat $HOME/.config/.emoji | ${pkgs.rofi-wayland}/bin/rofi -i -dmenu -config ~/.config/rofi/config-emoji.rasi | awk '{print $1}')
|
chosen=$(cat $HOME/.config/.emoji | ${pkgs.rofi-wayland}/bin/rofi -i -dmenu -config ~/.config/rofi/config-emoji.rasi | awk '{print $1}')
|
||||||
|
|
||||||
# Exit if none chosen.
|
# Exit if none chosen.
|
||||||
[ -z "$chosen" ] && exit
|
[ -z "$chosen" ] && exit
|
||||||
|
|
||||||
# If you run this command with an argument, it will automatically insert the
|
# If you run this command with an argument, it will automatically insert the
|
||||||
# character. Otherwise, show a message that the emoji has been copied.
|
# character. Otherwise, show a message that the emoji has been copied.
|
||||||
if [ -n "$1" ]; then
|
if [ -n "$1" ]; then
|
||||||
${pkgs.ydotool}/bin/ydotool type "$chosen"
|
${pkgs.ydotool}/bin/ydotool type "$chosen"
|
||||||
else
|
else
|
||||||
printf "$chosen" | ${pkgs.wl-clipboard}/bin/wl-copy
|
printf "$chosen" | ${pkgs.wl-clipboard}/bin/wl-copy
|
||||||
${pkgs.libnotify}/bin/notify-send "'$chosen' copied to clipboard." &
|
${pkgs.libnotify}/bin/notify-send "'$chosen' copied to clipboard." &
|
||||||
fi
|
fi
|
||||||
''
|
''
|
||||||
|
Loading…
Reference in New Issue
Block a user