forked from emily/nixfiles
bug fixes
This commit is contained in:
parent
a27ab2e823
commit
5f86afd4fa
11 changed files with 155 additions and 51 deletions
|
@ -11,6 +11,7 @@ with lib; {
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
kitty.terminfo
|
kitty.terminfo
|
||||||
bat
|
bat
|
||||||
|
dig
|
||||||
ripgrep
|
ripgrep
|
||||||
uutils-coreutils
|
uutils-coreutils
|
||||||
git
|
git
|
||||||
|
@ -38,26 +39,28 @@ with lib; {
|
||||||
system.activationScripts.motd.text = let
|
system.activationScripts.motd.text = let
|
||||||
cfg = config.system.nixos;
|
cfg = config.system.nixos;
|
||||||
in ''
|
in ''
|
||||||
root=/nix/var/lib/deployment
|
root=/var/lib/deployment
|
||||||
mkdir -p $root
|
mkdir -p $root
|
||||||
date "+%s" > $root/date
|
date "+%s" > $root/date
|
||||||
|
|
||||||
cat << EOF > $root/motd
|
cat << EOF > $root/motd
|
||||||
Welcome to ${cfg.distroName} ${cfg.release} ("${cfg.codeName}") on
|
Welcome to ${cfg.distroName} ${cfg.release} ("${cfg.codeName}") on
|
||||||
$(${pkgs.figlet}/bin/figlet -lt ${config.networking.hostName} | sed -e 's/[[:space:]]*$//').${config.networking.domain}
|
$(${pkgs.figlet}/bin/figlet -lt -f slant ${config.networking.hostName} | ${pkgs.gnused}/bin/sed -e 's/[[:space:]]*$//').${config.networking.domain}
|
||||||
|
|
||||||
|
Last deployed on $(date "+%F %T %Z" -d @$(cat "$root/date"))
|
||||||
|
|
||||||
Last deployed on $(date "+%F %T %Z" -d @$(cat "$deployment_folder/date"))
|
|
||||||
EOF
|
EOF
|
||||||
'';
|
'';
|
||||||
users.motdFile = "/nix/var/lib/deployment/motd";
|
users.motdFile = "/var/lib/deployment/motd";
|
||||||
|
|
||||||
nix.gc.automatic = true;
|
nix.gc.automatic = true;
|
||||||
nix.gc.options = "--delete-older-than 7d";
|
nix.gc.options = "--delete-older-than 7d";
|
||||||
nix.optimise.automatic = true;
|
nix.optimise.automatic = true;
|
||||||
nix.settings.experimental-features = [ "nix-command" "flakes" ];
|
nix.settings.experimental-features = [ "nix-command" "flakes" ];
|
||||||
nix.settings.trusted-users = [ "@wheel" ];
|
nix.settings.trusted-users = [ "root" "@wheel" ];
|
||||||
|
|
||||||
nixpkgs.hostPlatform.system = "x86_64-linux";
|
nixpkgs.hostPlatform.system = "x86_64-linux";
|
||||||
|
nixpkgs.config.allowUnfree = true;
|
||||||
|
|
||||||
boot.tmp.cleanOnBoot = mkDefault true;
|
boot.tmp.cleanOnBoot = mkDefault true;
|
||||||
services.journald.extraConfig = "SystemMaxUse=256M";
|
services.journald.extraConfig = "SystemMaxUse=256M";
|
||||||
|
@ -66,8 +69,23 @@ with lib; {
|
||||||
security.sudo-rs = {
|
security.sudo-rs = {
|
||||||
enable = true;
|
enable = true;
|
||||||
execWheelOnly = true;
|
execWheelOnly = true;
|
||||||
|
wheelNeedsPassword = false;
|
||||||
};
|
};
|
||||||
users.mutableUsers = false;
|
users.mutableUsers = mkDefault false;
|
||||||
|
|
||||||
|
i18n.defaultLocale = mkDefault "en_EU.UTF-8";
|
||||||
|
i18n.glibcLocales = (pkgs.glibcLocales.overrideAttrs (orig: {
|
||||||
|
postPatch = orig.postPatch + ''
|
||||||
|
cp "${../files/en_EU}" localedata/locales/en_EU
|
||||||
|
echo 'en_EU.UTF-8/UTF-8 \' >>localedata/SUPPORTED
|
||||||
|
'';
|
||||||
|
}));
|
||||||
|
services.xserver = {
|
||||||
|
layout = "de";
|
||||||
|
xkbVariant = "neo_qwerty";
|
||||||
|
};
|
||||||
|
console.useXkbConfig = true;
|
||||||
|
console.earlySetup = true;
|
||||||
|
|
||||||
services.fprintd.enable = config.kyouma.machine-type.graphical;
|
services.fprintd.enable = config.kyouma.machine-type.graphical;
|
||||||
|
|
||||||
|
|
|
@ -11,5 +11,9 @@
|
||||||
services.resolved = {
|
services.resolved = {
|
||||||
enable = true;
|
enable = true;
|
||||||
dnssec = "true";
|
dnssec = "true";
|
||||||
|
extraConfig = ''
|
||||||
|
DNS = [2a05:f480:1800:d2e::1]:853#resolve.solitary.social 80.240.30.163:853#resolve.solitary.social [2a01:4f8:1c0c:6c89::1]:853#resolve.nyantec.com 116.203.220.161:853#resolve.nyantec.com
|
||||||
|
DNSOverTLS = true
|
||||||
|
'';
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -10,6 +10,9 @@
|
||||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIA/+iN407+HsfHbbC3tfdA8Yf4TZ08qXQMb4tb/SDAs+ emily@card"
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIA/+iN407+HsfHbbC3tfdA8Yf4TZ08qXQMb4tb/SDAs+ emily@card"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
nixpkgs.config.permittedInsecurePackages = [
|
||||||
|
"electron-25.9.0"
|
||||||
|
];
|
||||||
|
|
||||||
home-manager.useGlobalPkgs = true;
|
home-manager.useGlobalPkgs = true;
|
||||||
home-manager.users.emily = {
|
home-manager.users.emily = {
|
||||||
|
@ -22,11 +25,12 @@
|
||||||
thunderbird
|
thunderbird
|
||||||
obsidian
|
obsidian
|
||||||
krita
|
krita
|
||||||
|
pixman
|
||||||
spotify
|
spotify
|
||||||
cider
|
cider
|
||||||
pavucontrol
|
pavucontrol
|
||||||
signal-desktop
|
signal-desktop
|
||||||
schildichat-desktop-wayland
|
element-desktop-wayland
|
||||||
|
|
||||||
image-roll
|
image-roll
|
||||||
wl-clipboard
|
wl-clipboard
|
||||||
|
@ -35,13 +39,16 @@
|
||||||
grim
|
grim
|
||||||
imagemagick_light
|
imagemagick_light
|
||||||
|
|
||||||
|
#ubuntu_font_family
|
||||||
jetbrains-mono
|
jetbrains-mono
|
||||||
|
font-awesome
|
||||||
];
|
];
|
||||||
|
fonts.fontconfig.enable = true;
|
||||||
|
|
||||||
programs.bat.enable = true;
|
programs.bat.enable = true;
|
||||||
programs.gpg.enable = true;
|
programs.gpg.enable = true;
|
||||||
programs.ripgrep.enable = true;
|
programs.ripgrep.enable = true;
|
||||||
programs.yt-dl.enable = true;
|
programs.yt-dlp.enable = true;
|
||||||
|
|
||||||
programs.eza = {
|
programs.eza = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
@ -54,6 +61,15 @@
|
||||||
"--group-directories-first"
|
"--group-directories-first"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
programs.fish = {
|
||||||
|
enable = true;
|
||||||
|
interactiveShellInit = ''
|
||||||
|
set -U fish_greeting
|
||||||
|
'';
|
||||||
|
loginShellInit = lib.mkIf config.kyouma.machine-type.graphical ''
|
||||||
|
[[ $TTY = '/dev/tty1' ]] && exec Hyprland
|
||||||
|
'';
|
||||||
|
};
|
||||||
programs.git = {
|
programs.git = {
|
||||||
enable = true;
|
enable = true;
|
||||||
signing.key = "B04F01A7A98A13020C39B4A68AB7B773A214ACE5";
|
signing.key = "B04F01A7A98A13020C39B4A68AB7B773A214ACE5";
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ config, ... }: {
|
{ config, lib, ... }: {
|
||||||
imports = [
|
imports = [
|
||||||
../../common
|
../../common
|
||||||
../../profiles/graphical
|
../../profiles/graphical
|
||||||
|
@ -12,9 +12,11 @@
|
||||||
targetHost = "192.168.122.159";
|
targetHost = "192.168.122.159";
|
||||||
targetUser = "emily";
|
targetUser = "emily";
|
||||||
};
|
};
|
||||||
|
users.mutableUsers = lib.mkForce true;
|
||||||
i18n.defaultLocale = "en_GB.UTF-8";
|
i18n.defaultLocale = "en_GB.UTF-8";
|
||||||
networking.hostName = "ryuuko";
|
networking.hostName = "ryuuko";
|
||||||
networking.networkmanager.enable = true;
|
networking.networkmanager.enable = true;
|
||||||
|
systemd.network.enable = lib.mkForce false;
|
||||||
kyouma.machine-type.physical = true;
|
kyouma.machine-type.physical = true;
|
||||||
kyouma.machine-type.portable = true;
|
kyouma.machine-type.portable = true;
|
||||||
services.openssh.enable = true;
|
services.openssh.enable = true;
|
||||||
|
|
46
config/hosts/ryuuko/hardware-configuration-t460.nix
Normal file
46
config/hosts/ryuuko/hardware-configuration-t460.nix
Normal file
|
@ -0,0 +1,46 @@
|
||||||
|
{ config, lib, pkgs, modulesPath, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
imports =
|
||||||
|
[ (modulesPath + "/installer/scan/not-detected.nix")
|
||||||
|
];
|
||||||
|
|
||||||
|
boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "usb_storage" "sd_mod" "rtsx_pci_sdmmc" ];
|
||||||
|
boot.initrd.kernelModules = [ ];
|
||||||
|
boot.kernelModules = [ "kvm-intel" ];
|
||||||
|
boot.extraModulePackages = [ ];
|
||||||
|
|
||||||
|
fileSystems."/" =
|
||||||
|
{ device = "/dev/disk/by-uuid/cbf4d839-1afd-4ae8-9295-dd50ec25f713";
|
||||||
|
fsType = "btrfs";
|
||||||
|
options = [ "subvol=nixos" ];
|
||||||
|
};
|
||||||
|
|
||||||
|
boot.initrd.luks.devices."uwu".device = "/dev/disk/by-uuid/5d4cd902-f6ce-48f7-b0ca-0aab29230304";
|
||||||
|
|
||||||
|
fileSystems."/home" =
|
||||||
|
{ device = "/dev/disk/by-uuid/cbf4d839-1afd-4ae8-9295-dd50ec25f713";
|
||||||
|
fsType = "btrfs";
|
||||||
|
options = [ "subvol=home" ];
|
||||||
|
};
|
||||||
|
|
||||||
|
fileSystems."/boot" =
|
||||||
|
{ device = "/dev/disk/by-uuid/270E-304D";
|
||||||
|
fsType = "vfat";
|
||||||
|
};
|
||||||
|
|
||||||
|
swapDevices = [ ];
|
||||||
|
|
||||||
|
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
|
||||||
|
# (the default) this is the recommended approach. When using systemd-networkd it's
|
||||||
|
# still possible to use this option, but it's recommended to use it in conjunction
|
||||||
|
# with explicit per-interface declarations with `networking.interfaces.<interface>.useDHCP`.
|
||||||
|
networking.useDHCP = lib.mkDefault true;
|
||||||
|
# networking.interfaces.enp0s31f6.useDHCP = lib.mkDefault true;
|
||||||
|
# networking.interfaces.wlp4s0.useDHCP = lib.mkDefault true;
|
||||||
|
# networking.interfaces.wwp0s20f0u3.useDHCP = lib.mkDefault true;
|
||||||
|
|
||||||
|
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
||||||
|
powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
|
||||||
|
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
||||||
|
}
|
|
@ -8,6 +8,8 @@
|
||||||
kyouma.machine-type.graphical = true;
|
kyouma.machine-type.graphical = true;
|
||||||
deployment.allowLocalDeployment = true;
|
deployment.allowLocalDeployment = true;
|
||||||
|
|
||||||
|
hardware.opengl.enable = true;
|
||||||
|
|
||||||
services.geoclue2.enable = true;
|
services.geoclue2.enable = true;
|
||||||
|
|
||||||
services.pipewire = {
|
services.pipewire = {
|
||||||
|
@ -22,11 +24,17 @@
|
||||||
GDK_BACKEND = "wayland,x11";
|
GDK_BACKEND = "wayland,x11";
|
||||||
MOZ_ENABLE_WAYLAND = "1";
|
MOZ_ENABLE_WAYLAND = "1";
|
||||||
CLUTTER_BACKEND = "wayland";
|
CLUTTER_BACKEND = "wayland";
|
||||||
|
WLR_NO_HARDWARE_CURSORS = "1";
|
||||||
};
|
};
|
||||||
xdg.portal.wlr.enable = true;
|
xdg.portal.wlr.enable = true;
|
||||||
|
|
||||||
stylix= {
|
stylix= {
|
||||||
base16Scheme = "${pkgs.base16-schemes}/share/themes/catppuccin-macchiato.yaml";
|
image = pkgs.fetchurl {
|
||||||
|
url = "https://kyouma.net/wallpaper.png";
|
||||||
|
sha256 = "1f46b439a864cd28b8ea93563b4762f1efb2648bae0148fd6b45f3033b10b0e8";
|
||||||
|
};
|
||||||
|
polarity = "dark";
|
||||||
|
#base16Scheme = "${pkgs.base16-schemes}/share/themes/catppuccin-macchiato.yaml";
|
||||||
fonts = {
|
fonts = {
|
||||||
sansSerif = {
|
sansSerif = {
|
||||||
package = pkgs.noto-fonts;
|
package = pkgs.noto-fonts;
|
||||||
|
@ -44,17 +52,22 @@
|
||||||
name = "capitaine";
|
name = "capitaine";
|
||||||
size = 24;
|
size = 24;
|
||||||
};
|
};
|
||||||
|
targets = {
|
||||||
|
console.enable = false;
|
||||||
|
fish.enable = false;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
home-manager.users.emily = {
|
home-manager.users.emily = {
|
||||||
stylix.tagets = {
|
stylix.targets = {
|
||||||
hyprland.enable = false;
|
hyprland.enable = false;
|
||||||
kitty.enable = false;
|
kitty.enable = false;
|
||||||
mako.enable = false;
|
mako.enable = false;
|
||||||
rofi.enable = false;
|
rofi.enable = false;
|
||||||
swaylock.enabke = false;
|
swaylock.enable = false;
|
||||||
waybar.enable = false;
|
waybar.enable = false;
|
||||||
nixvim.enable = false;
|
nixvim.enable = false;
|
||||||
|
fish.enable = false;
|
||||||
};
|
};
|
||||||
home.keyboard = {
|
home.keyboard = {
|
||||||
layout = "de";
|
layout = "de";
|
||||||
|
@ -176,27 +189,27 @@
|
||||||
render_titles = false;
|
render_titles = false;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
xwayland = {
|
||||||
|
force_zero_scaling = true;
|
||||||
|
use_nearest_neighbor = false;
|
||||||
|
};
|
||||||
misc = {
|
misc = {
|
||||||
disable_hyprland_logo = true;
|
disable_hyprland_logo = true;
|
||||||
vrr = 1;
|
vrr = 1;
|
||||||
};
|
};
|
||||||
xwayland = {
|
"device:syna8013:00-06cb:ce69-touchpad" = {
|
||||||
use_nearest_neighbor = false;
|
|
||||||
force_zero_scaling = true;
|
|
||||||
};
|
|
||||||
device."syna8013:00-06cb:ce69-touchpad" = {
|
|
||||||
sensitivity = 0.3;
|
sensitivity = 0.3;
|
||||||
};
|
};
|
||||||
device.":logitech-m705" = {
|
"device:logitech-m705" = {
|
||||||
sensitivity = 0.1;
|
sensitivity = 0.1;
|
||||||
accel_profile = "flat";
|
accel_profile = "flat";
|
||||||
};
|
};
|
||||||
device."tpps/2-ibm-trackpoint" = {
|
"device:tpps/2-ibm-trackpoint" = {
|
||||||
sensitivity = 0.2;
|
sensitivity = 0.2;
|
||||||
scroll_method = "on_button_down";
|
scroll_method = "on_button_down";
|
||||||
accel_profile = "flat";
|
accel_profile = "flat";
|
||||||
};
|
};
|
||||||
device."tpps/2-elan-trackpoint" = {
|
"device:tpps/2-elan-trackpoint" = {
|
||||||
sensitivity = 0;
|
sensitivity = 0;
|
||||||
scroll_method = "on_button_down";
|
scroll_method = "on_button_down";
|
||||||
accel_profile = "flat";
|
accel_profile = "flat";
|
||||||
|
@ -230,7 +243,7 @@
|
||||||
"animation slide up,Rofi"
|
"animation slide up,Rofi"
|
||||||
];
|
];
|
||||||
|
|
||||||
"$mod" = "SUPER";
|
"$mod" = "ALT";
|
||||||
"$notifycmd" = "${notifysend} -h string:x-canonical-private-synchronous:hypr-cfg -u low";
|
"$notifycmd" = "${notifysend} -h string:x-canonical-private-synchronous:hypr-cfg -u low";
|
||||||
bind = [
|
bind = [
|
||||||
"$mod, Return, exec, ${kitty}"
|
"$mod, Return, exec, ${kitty}"
|
||||||
|
@ -367,9 +380,6 @@
|
||||||
"$mod ALT, down, moveactive, 0 80"
|
"$mod ALT, down, moveactive, 0 80"
|
||||||
"$mod ALT, J, moveactive, 0 80"
|
"$mod ALT, J, moveactive, 0 80"
|
||||||
];
|
];
|
||||||
bindl = [
|
|
||||||
",switch:Lid Switch, exec, ${swaylock} -f -i ~/Pictures/wallpapers/lockscreen.png"
|
|
||||||
];
|
|
||||||
bindm = [
|
bindm = [
|
||||||
"$mod, mouse:272, movewindow"
|
"$mod, mouse:272, movewindow"
|
||||||
"$mod, mouse:273, resizewindow"
|
"$mod, mouse:273, resizewindow"
|
||||||
|
@ -379,7 +389,6 @@
|
||||||
|
|
||||||
programs.imv.enable = true;
|
programs.imv.enable = true;
|
||||||
|
|
||||||
|
|
||||||
programs.wpaperd = {
|
programs.wpaperd = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings.default = {
|
settings.default = {
|
||||||
|
@ -390,7 +399,7 @@
|
||||||
};
|
};
|
||||||
programs.waybar = {
|
programs.waybar = {
|
||||||
enable = true;
|
enable = true;
|
||||||
style = ./waybar-style.css;
|
style = ./files/waybar-style.css;
|
||||||
systemd = {
|
systemd = {
|
||||||
enable = true;
|
enable = true;
|
||||||
target = "hyprland-session.target";
|
target = "hyprland-session.target";
|
||||||
|
@ -399,7 +408,7 @@
|
||||||
hyprbar = {
|
hyprbar = {
|
||||||
layer = "top";
|
layer = "top";
|
||||||
position = "top";
|
position = "top";
|
||||||
output = "eDP-1";
|
#output = "eDP-1";
|
||||||
margin = "0 0 0 0";
|
margin = "0 0 0 0";
|
||||||
modules-left = [ "hyprland/workspaces" "custom/playerctl" "tray" ];
|
modules-left = [ "hyprland/workspaces" "custom/playerctl" "tray" ];
|
||||||
modules-center = [ "clock" ];
|
modules-center = [ "clock" ];
|
||||||
|
@ -411,6 +420,15 @@
|
||||||
active-only = false;
|
active-only = false;
|
||||||
on-click = "activate";
|
on-click = "activate";
|
||||||
format-icons = {
|
format-icons = {
|
||||||
|
"1" = "1";
|
||||||
|
"2" = "2";
|
||||||
|
"3" = "3";
|
||||||
|
"4" = "4";
|
||||||
|
"5" = "5";
|
||||||
|
"6" = "6";
|
||||||
|
"7" = "7";
|
||||||
|
"8" = "8";
|
||||||
|
"9" = "9";
|
||||||
"10" = "0";
|
"10" = "0";
|
||||||
urgent = "";
|
urgent = "";
|
||||||
focused = "";
|
focused = "";
|
||||||
|
@ -502,7 +520,7 @@
|
||||||
};
|
};
|
||||||
programs.kitty = {
|
programs.kitty = {
|
||||||
enable = true;
|
enable = true;
|
||||||
font.size = "11";
|
font.size = 11;
|
||||||
font.name = "JetBrains Mono";
|
font.name = "JetBrains Mono";
|
||||||
settings = {
|
settings = {
|
||||||
enable_audio_bell = false;
|
enable_audio_bell = false;
|
||||||
|
@ -532,8 +550,8 @@
|
||||||
services.gammastep = {
|
services.gammastep = {
|
||||||
enable = true;
|
enable = true;
|
||||||
provider = "geoclue2";
|
provider = "geoclue2";
|
||||||
temperature.day = "6500";
|
temperature.day = 6500;
|
||||||
temperature.night = "3700";
|
temperature.night = 3700;
|
||||||
settings.general.adjustment-method = "wayland";
|
settings.general.adjustment-method = "wayland";
|
||||||
};
|
};
|
||||||
services.mako = {
|
services.mako = {
|
||||||
|
@ -579,6 +597,19 @@
|
||||||
enable = true;
|
enable = true;
|
||||||
enableSshSupport = true;
|
enableSshSupport = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
services.swayidle =
|
||||||
|
let
|
||||||
|
swaylock = "${pkgs.swaylock}/bin/swaylock";
|
||||||
|
in {
|
||||||
|
enable = true;
|
||||||
|
systemdTarget = "hyprland-session.target";
|
||||||
|
events = [
|
||||||
|
{ event = "before-sleep"; command = "${swaylock} -f -i ~/Pictures/wallpapers/lockscreen.png"; }
|
||||||
|
{ event = "lock"; command = "${swaylock} -f -i ~/Pictures/wallpapers/lockscreen.png"; }
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
services.syncthing = {
|
services.syncthing = {
|
||||||
enable = true;
|
enable = true;
|
||||||
tray.enable = true;
|
tray.enable = true;
|
||||||
|
|
|
@ -1,7 +1,3 @@
|
||||||
/**
|
|
||||||
* Copyright (C) 2020-2023 Aditya Shakya <adi1090x@gmail.com>
|
|
||||||
**/
|
|
||||||
|
|
||||||
/*****----- Configuration -----*****/
|
/*****----- Configuration -----*****/
|
||||||
configuration {
|
configuration {
|
||||||
show-icons: false;
|
show-icons: false;
|
||||||
|
|
|
@ -1,7 +1,3 @@
|
||||||
/* Copyright (C) 2020-2023 Aditya Shakya <adi1090x@gmail.com> */
|
|
||||||
|
|
||||||
/* Colors */
|
|
||||||
|
|
||||||
* {
|
* {
|
||||||
background: #24273a;
|
background: #24273a;
|
||||||
background-alt: #1e2030;
|
background-alt: #1e2030;
|
||||||
|
|
|
@ -1,9 +1,3 @@
|
||||||
/* Copyright (C) 2020-2023 Aditya Shakya <adi1090x@gmail.com> */
|
|
||||||
|
|
||||||
/* Text Font */
|
|
||||||
|
|
||||||
/*
|
|
||||||
{
|
{
|
||||||
font: "Iosevka Nerd Font 10";
|
font: "Iosevka Nerd Font 10";
|
||||||
}
|
}
|
||||||
*/
|
|
|
@ -1,19 +1,20 @@
|
||||||
{config, pkgs, inputs, ... }: {
|
{config, pkgs, inputs, ... }: {
|
||||||
imports = [
|
home-manager.users.emily.imports = [
|
||||||
inputs.nixvim.homeManagerModules.nixvim
|
inputs.nixvim.homeManagerModules.nixvim
|
||||||
];
|
];
|
||||||
programs.nixvim = {
|
home-manager.users.emily.programs.nixvim = {
|
||||||
|
enable = true;
|
||||||
extraPlugins = [ pkgs.vimPlugins.molokai ];
|
extraPlugins = [ pkgs.vimPlugins.molokai ];
|
||||||
coloscheme = "molokai";
|
colorscheme = "molokai";
|
||||||
vimAlias = true;
|
vimAlias = true;
|
||||||
highlight.Normal = {
|
highlightOverride.Normal = {
|
||||||
ctermbg = "NONE";
|
ctermbg = "NONE";
|
||||||
guibg = "NONE";
|
bg = "NONE";
|
||||||
};
|
};
|
||||||
options = {
|
options = {
|
||||||
number = true;
|
number = true;
|
||||||
autoindent = true;
|
autoindent = true;
|
||||||
mouse = false;
|
mouse = "";
|
||||||
encoding = "utf-8";
|
encoding = "utf-8";
|
||||||
shiftwidth = 2;
|
shiftwidth = 2;
|
||||||
smartindent = true;
|
smartindent = true;
|
||||||
|
|
Loading…
Reference in a new issue