added secrets
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
{ config, lib, ... }:
|
||||
{ config, ... }:
|
||||
|
||||
{
|
||||
powerManagement = {
|
||||
cpuFreqGovernor = lib.mkDefault "powersave";
|
||||
enable = true;
|
||||
cpuFreqGovernor = "ondemand";
|
||||
};
|
||||
}
|
||||
|
@@ -2,8 +2,8 @@
|
||||
|
||||
{
|
||||
systemd.services.nbfc = {
|
||||
wantedBy = [ "multi-user.target" ];
|
||||
description = "Notebook Fancontrol";
|
||||
wantedBy = lib.mkForce [];
|
||||
serviceConfig = {
|
||||
Type = "forking";
|
||||
Restart = "on-failure";
|
||||
@@ -15,12 +15,24 @@
|
||||
services = {
|
||||
tor.enable = true;
|
||||
logmein-hamachi.enable = true;
|
||||
mysql = {
|
||||
enable = true;
|
||||
package = pkgs.mysql;
|
||||
dataDir = "/var/db";
|
||||
};
|
||||
sshd.enable = true;
|
||||
|
||||
/* vault = {
|
||||
enable = true;
|
||||
storageBackend = "mysql";
|
||||
storagePath = "/var/db";
|
||||
};*/
|
||||
};
|
||||
systemd.services = {
|
||||
tor.wantedBy = lib.mkForce [];
|
||||
logmein-hamachi.wantedBy = lib.mkForce [];
|
||||
sshd.wantedBy = lib.mkForce [];
|
||||
mysql.wantedBy = lib.mkForce [];
|
||||
#vault.wantedBy = lib.mkForce [];
|
||||
};
|
||||
# services.picom = {
|
||||
# enable = true;
|
||||
# fade = true;
|
||||
# shadow = true;
|
||||
# activeOpacity = 0.96;
|
||||
# inactiveOpacity = 0.86;
|
||||
# };
|
||||
}
|
||||
|
@@ -23,7 +23,7 @@
|
||||
};
|
||||
grub = {
|
||||
enable = true;
|
||||
useOSProber = true;
|
||||
# useOSProber = true;
|
||||
efiSupport = true;
|
||||
device = "nodev";
|
||||
splashImage = "/etc/cirno.png"; #hehe
|
||||
|
@@ -11,7 +11,7 @@
|
||||
fileSystems."/" =
|
||||
{ device = "/dev/disk/by-uuid/4c02ddf5-d00e-4d84-856f-c327ae44d047";
|
||||
fsType = "btrfs";
|
||||
options = ["compress=zstd"];
|
||||
options = ["compress=zstd:9"];
|
||||
};
|
||||
|
||||
fileSystems."/boot/efi" =
|
||||
|
@@ -5,7 +5,6 @@
|
||||
xclip
|
||||
xorg.xkbcomp
|
||||
xorg.xmodmap
|
||||
ffmpeg
|
||||
p7zip
|
||||
git
|
||||
glxinfo
|
||||
@@ -32,11 +31,22 @@
|
||||
st
|
||||
kbd
|
||||
];
|
||||
programs.steam.enable = true;
|
||||
programs = {
|
||||
steam.enable = true;
|
||||
gnupg = {
|
||||
agent = {
|
||||
enableSSHSupport = true;
|
||||
enable = true;
|
||||
pinentryFlavor = "curses";
|
||||
};
|
||||
};
|
||||
fish.enable = true;
|
||||
dconf.enable = true;
|
||||
};
|
||||
nix = {
|
||||
package = pkgs.nixUnstable;
|
||||
extraOptions = ''
|
||||
experimental-features = nix-command flakes
|
||||
experimental-features = nix-command ca-references flakes
|
||||
'';
|
||||
};
|
||||
}
|
||||
|
@@ -1,4 +1,4 @@
|
||||
{lib, config, ... }:
|
||||
{lib, config, agenix, ... }:
|
||||
{
|
||||
imports = [
|
||||
./Stuff/sound.nix
|
||||
@@ -10,8 +10,8 @@
|
||||
time.timeZone = "Asia/Kolkata";
|
||||
environment = {
|
||||
sessionVariables = {
|
||||
QT_QPA_PLATFORMTHEME = "gtk3";
|
||||
QT_X11_NO_MITSHM="1";
|
||||
EDITOR = "nvim";
|
||||
};
|
||||
};
|
||||
security={
|
||||
@@ -32,11 +32,5 @@
|
||||
dates = "20:15";
|
||||
};
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
programs = {
|
||||
fish.enable = true;
|
||||
dconf.enable = true;
|
||||
};
|
||||
nixpkgs.config.allowBroken = true;
|
||||
nix.extraOptions = ''experimental-features = nix-command flakes ca-references'';
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user