update config
This commit is contained in:
parent
8a58079706
commit
3050a5bd98
5 changed files with 96 additions and 17 deletions
|
@ -1,10 +1,10 @@
|
|||
|
||||
preload = ~/.config/hypr/wallpapers/wallpaper2.png
|
||||
preload = ~/.config/wallpapers/wallpaper2.png
|
||||
|
||||
|
||||
wallpaper = eDP-1,~/.config/hypr/wallpapers/wallpaper2.png
|
||||
wallpaper = DP-1,~/.config/hypr/wallpapers/wallpaper2.png
|
||||
wallpaper = DP-2,~/.config/hypr/wallpapers/wallpaper2.png
|
||||
wallpaper = DP-3,~/.config/hypr/wallpapers/wallpaper2.png
|
||||
wallpaper = DP-4,~/.config/hypr/wallpapers/wallpaper2.png
|
||||
wallpaper = eDP-1,~/.config/wallpapers/wallpaper2.png
|
||||
wallpaper = DP-1,~/.config/wallpapers/wallpaper2.png
|
||||
wallpaper = DP-2,~/.config/wallpapers/wallpaper2.png
|
||||
wallpaper = DP-3,~/.config/wallpapers/wallpaper2.png
|
||||
wallpaper = DP-4,~/.config/wallpapers/wallpaper2.png
|
||||
splash=false
|
||||
ipc = off
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
# Use the systemd-boot EFI boot loader.
|
||||
boot.kernelPackages = pkgs.linuxPackages_zen;
|
||||
boot.loader.systemd-boot.enable = true;
|
||||
boot.loader.efi.canTouchEfiVariables = false;
|
||||
boot.loader.efi.canTouchEfiVariables = true;
|
||||
|
||||
|
||||
nix.settings.experimental-features = [ "nix-command" "flakes" ];
|
||||
|
@ -26,6 +26,12 @@
|
|||
services.printing.enable = true;
|
||||
|
||||
|
||||
services.avahi = {
|
||||
enable = true;
|
||||
nssmdns4 = true;
|
||||
openFirewall = true;
|
||||
};
|
||||
|
||||
# Swaylock allow to unlock
|
||||
security.pam.services.swaylock = {};
|
||||
security.sudo.wheelNeedsPassword=false;
|
||||
|
@ -73,7 +79,8 @@
|
|||
];
|
||||
|
||||
users.mutableUsers = false;
|
||||
users.users.stitchynyan = {
|
||||
users.users = {
|
||||
stitchynyan = {
|
||||
isNormalUser = true;
|
||||
shell = pkgs.zsh;
|
||||
home = "/home/stitchynyan";
|
||||
|
@ -81,6 +88,17 @@
|
|||
extraGroups = [ "wheel" "networkmanager" "kvm" "libvirt" "audio" ];
|
||||
initialHashedPassword = "$y$j9T$rvySCWHYE4AO4A9J0Vf20.$x5hpBNsOWovQFtNfFUIt17OAH5MJFwFBGjxbaEIagJ3";
|
||||
};
|
||||
nyadmin = {
|
||||
isNormalUser = true;
|
||||
shell = pkgs.zsh;
|
||||
home = "/home/nyadmin";
|
||||
description = "Administrator~";
|
||||
extraGroups = [ "wheel" "kvm" "libvirt" ];
|
||||
initialHashedPassword = "$y$j9T$XguIcj/AVXsWW/MxSYAGh0$TivGAa0z8KNCli2mKTd24vtqimpadNzqMFwfbeh0p30";
|
||||
openssh.authorizedKeys.keys = [
|
||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOVgHcJ9C8TD515x+KqFKNYUa6IZML6LU3FWovmDIvyZ" ]
|
||||
};
|
||||
};
|
||||
|
||||
networking.firewall = {
|
||||
enable = true;
|
||||
|
|
|
@ -27,6 +27,6 @@
|
|||
swapDevices = [ ];
|
||||
|
||||
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
||||
powerManagement.cpuFreqGovernor = lib.mkDefault "ondemand";
|
||||
powerManagement.cpuFreqGovernor = lib.mkDefault "schedutil";
|
||||
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
||||
}
|
||||
|
|
30
users/nyadmin/home.nix
Normal file
30
users/nyadmin/home.nix
Normal file
|
@ -0,0 +1,30 @@
|
|||
|
||||
|
||||
{ config,
|
||||
nixosConfig,
|
||||
pkgs,
|
||||
inputs,
|
||||
home-manager,
|
||||
... }:
|
||||
|
||||
{
|
||||
|
||||
imports = [
|
||||
#inputs.nix-index-db.hmModules.nix-index
|
||||
];
|
||||
|
||||
# systemd.user.services.mailsync = {
|
||||
|
||||
#}
|
||||
|
||||
home.packages = with pkgs; [
|
||||
];
|
||||
#programs.hyprland.enable = true;
|
||||
# hyprland.homeManagerModules.default
|
||||
#wayland.windowManager.hyprland.enable = true;
|
||||
|
||||
|
||||
# Read the Docs before change
|
||||
#home.stateVersion = "23.05";
|
||||
#home.homeDirectory = "/home/stitchynyan";
|
||||
}
|
|
@ -25,7 +25,6 @@
|
|||
neomutt
|
||||
dunst
|
||||
mutt-wizard
|
||||
cyrus-sasl-xoauth2
|
||||
pass
|
||||
isync
|
||||
msmtp
|
||||
|
@ -44,6 +43,7 @@
|
|||
swaylock-effects
|
||||
qt5ct
|
||||
qt6ct
|
||||
mpv
|
||||
];
|
||||
#programs.hyprland.enable = true;
|
||||
# hyprland.homeManagerModules.default
|
||||
|
@ -56,6 +56,37 @@
|
|||
};
|
||||
};
|
||||
|
||||
systemd.user.services = {
|
||||
mailsync = {
|
||||
Unit = {
|
||||
Description = "Syncs email";
|
||||
After = [ "network-online.target" ];
|
||||
};
|
||||
Service = {
|
||||
Type = "oneshot";
|
||||
ExecStart = "${pkgs.mutt-wizard}/bin/mailsync";
|
||||
Environment = [
|
||||
"SASL_PATH=/run/current-system/sw/lib/sasl2"
|
||||
"LOGNAME=stitchynyan"
|
||||
"USER=stitchynyan" ];
|
||||
};
|
||||
Install.WantedBy = [ "default.target" ];
|
||||
};
|
||||
};
|
||||
|
||||
systemd.user.timers = {
|
||||
mailsync = {
|
||||
Unit.Description = "Syncs emai";
|
||||
Timer = {
|
||||
OnBootSec = "1min";
|
||||
OnUnitActiveSec = "10min";
|
||||
};
|
||||
Install.WantedBy = [ "timers.target" ];
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
|
||||
# Read the Docs before change
|
||||
home.stateVersion = "23.05";
|
||||
home.homeDirectory = "/home/stitchynyan";
|
||||
|
|
Loading…
Reference in a new issue