Compare commits
No commits in common. "90f05c271e9a2597d73abb52df3675273fdba233" and "f741410f03009a36a884f5afdb0c2c3cf3e8547f" have entirely different histories.
90f05c271e
...
f741410f03
13 changed files with 6 additions and 199 deletions
6
flake.lock
generated
6
flake.lock
generated
|
@ -918,11 +918,11 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1747257007,
|
"lastModified": 1747183784,
|
||||||
"narHash": "sha256-84q5eLj6QM0oUj1YvrT8TZH+RYIf/L/GJQDQ/tTvkR8=",
|
"narHash": "sha256-IVzf+PtiZYhCTSqG6wNxcIyZXIO78fDPWu/Rkwtm4Uk=",
|
||||||
"owner": "notashelf",
|
"owner": "notashelf",
|
||||||
"repo": "superfreq",
|
"repo": "superfreq",
|
||||||
"rev": "5531358da2b85cb4e3218ffb4b70373429e7c09e",
|
"rev": "78490f7c08146c037e414aec95c9a22364f70590",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
|
@ -61,8 +61,4 @@ in {
|
||||||
system = "aarch64-linux";
|
system = "aarch64-linux";
|
||||||
hostname = "tower";
|
hostname = "tower";
|
||||||
};
|
};
|
||||||
world = mkSystem {
|
|
||||||
system = "x86_64-linux";
|
|
||||||
hostname = "world";
|
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -76,7 +76,6 @@
|
||||||
wireguard-tools
|
wireguard-tools
|
||||||
wordgrinder
|
wordgrinder
|
||||||
xournalpp
|
xournalpp
|
||||||
zellij
|
|
||||||
;
|
;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,51 +0,0 @@
|
||||||
{
|
|
||||||
lib,
|
|
||||||
pkgs,
|
|
||||||
...
|
|
||||||
}: {
|
|
||||||
# Time Zone
|
|
||||||
time.timeZone = "Europe/Zurich";
|
|
||||||
# Select internationalisation properties.
|
|
||||||
i18n.defaultLocale = "en_US.UTF-8";
|
|
||||||
console.keyMap = "uk";
|
|
||||||
security.polkit.enable = true;
|
|
||||||
programs.nix-ld.enable = false;
|
|
||||||
boot.kernelPackages = pkgs.linuxPackages_xanmod_latest;
|
|
||||||
services = {
|
|
||||||
fstrim.enable = lib.mkDefault true;
|
|
||||||
thermald.enable = true;
|
|
||||||
};
|
|
||||||
|
|
||||||
modules = {
|
|
||||||
desktops.hyprland.enable = true;
|
|
||||||
|
|
||||||
system = {
|
|
||||||
boot.systemd-boot.enable = true;
|
|
||||||
impermanence.enable = false;
|
|
||||||
hardware = {
|
|
||||||
intel.enable = true;
|
|
||||||
};
|
|
||||||
programs = {
|
|
||||||
editors = {
|
|
||||||
helix.enable = true;
|
|
||||||
};
|
|
||||||
terminals = {
|
|
||||||
foot.enable = true;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
services = {
|
|
||||||
kanata.enable = true;
|
|
||||||
};
|
|
||||||
other = {
|
|
||||||
system.username = "cr";
|
|
||||||
};
|
|
||||||
programs = {
|
|
||||||
ssh.enable = true;
|
|
||||||
btop.enable = true;
|
|
||||||
nh.enable = true;
|
|
||||||
thunar.enable = true;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
system.stateVersion = "23.11";
|
|
||||||
}
|
|
|
@ -1,8 +0,0 @@
|
||||||
_: {
|
|
||||||
imports = [
|
|
||||||
./configuration.nix
|
|
||||||
./programs.nix
|
|
||||||
./hardware-configuration.nix
|
|
||||||
./hardware
|
|
||||||
];
|
|
||||||
}
|
|
|
@ -1,33 +0,0 @@
|
||||||
{
|
|
||||||
config = {
|
|
||||||
boot.initrd.luks.devices."cryptroot".device = "/dev/disk/by-uuid/10318654-ed20-43f6-885d-35366a427581";
|
|
||||||
fileSystems = {
|
|
||||||
"/boot" = {
|
|
||||||
device = "/dev/disk/by-uuid/5D7D-FC52";
|
|
||||||
fsType = "vfat";
|
|
||||||
};
|
|
||||||
|
|
||||||
"/" = {
|
|
||||||
device = "/dev/disk/by-uuid/e353013b-8ac7-40ed-80f2-ddbea21b8d5e";
|
|
||||||
fsType = "btrfs";
|
|
||||||
options = ["compress=zstd" "noatime"];
|
|
||||||
};
|
|
||||||
"/nix" = {
|
|
||||||
device = "/dev/disk/by-uuid/e353013b-8ac7-40ed-80f2-ddbea21b8d5e";
|
|
||||||
fsType = "btrfs";
|
|
||||||
options = ["subvol=nix" "compress=zstd" "noatime"];
|
|
||||||
};
|
|
||||||
"/home" = {
|
|
||||||
device = "/dev/disk/by-uuid/e353013b-8ac7-40ed-80f2-ddbea21b8d5e";
|
|
||||||
fsType = "btrfs";
|
|
||||||
options = ["subvol=home" "compress=zstd" "noatime"];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
# swapDevices = [
|
|
||||||
# {
|
|
||||||
# device = "/swap/swapfile";
|
|
||||||
# size = (1024 * 16) + (1024 * 2);
|
|
||||||
# }
|
|
||||||
# ];
|
|
||||||
};
|
|
||||||
}
|
|
|
@ -1,35 +0,0 @@
|
||||||
{
|
|
||||||
config,
|
|
||||||
lib,
|
|
||||||
modulesPath,
|
|
||||||
...
|
|
||||||
}: {
|
|
||||||
imports = [
|
|
||||||
# (modulesPath + "/installer/cd-dvd/installation-cd-minimal.nix")
|
|
||||||
(modulesPath + "/installer/scan/not-detected.nix")
|
|
||||||
];
|
|
||||||
|
|
||||||
boot = {
|
|
||||||
initrd = {
|
|
||||||
availableKernelModules = ["xhci_pci" "ahci" "nvme" "usb_storage" "sd_mod" "rtsx_pci_sdmmc"];
|
|
||||||
kernelModules = [];
|
|
||||||
};
|
|
||||||
kernelModules = ["kvm-intel"];
|
|
||||||
blacklistedKernelModules = ["nouveau" "nvidia" "nvidia_drm" "nvidia_modeset"];
|
|
||||||
|
|
||||||
kernelParams = ["mem_sleep_default=deep"];
|
|
||||||
extraModulePackages = [];
|
|
||||||
extraModprobeConfig = ''
|
|
||||||
blacklist nouveau
|
|
||||||
options nouveau modeset=0
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
|
|
||||||
# Earlier font setup
|
|
||||||
console.earlySetup = true;
|
|
||||||
|
|
||||||
# Enable firmware updates via `fwupdmgr`.
|
|
||||||
services.fwupd.enable = lib.mkDefault true;
|
|
||||||
|
|
||||||
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
|
||||||
}
|
|
|
@ -1 +0,0 @@
|
||||||
_: {imports = [./monitors.nix];}
|
|
|
@ -1,16 +0,0 @@
|
||||||
_: {
|
|
||||||
modules.system.hardware.monitors = {
|
|
||||||
eDP-1 = {
|
|
||||||
resolution = {
|
|
||||||
x = 1920;
|
|
||||||
y = 1080;
|
|
||||||
};
|
|
||||||
scale = 1;
|
|
||||||
refreshRate = 60;
|
|
||||||
position = {
|
|
||||||
x = 1920;
|
|
||||||
y = 0;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
|
@ -1,42 +0,0 @@
|
||||||
{
|
|
||||||
self,
|
|
||||||
pkgs,
|
|
||||||
...
|
|
||||||
}: {
|
|
||||||
environment.systemPackages = builtins.attrValues {
|
|
||||||
inherit
|
|
||||||
(pkgs)
|
|
||||||
calc
|
|
||||||
comma
|
|
||||||
difftastic
|
|
||||||
evince
|
|
||||||
eza
|
|
||||||
gcc
|
|
||||||
gh
|
|
||||||
grc
|
|
||||||
gparted
|
|
||||||
git
|
|
||||||
httpie
|
|
||||||
imagemagick
|
|
||||||
img2pdf
|
|
||||||
imv
|
|
||||||
inetutils
|
|
||||||
jujutsu
|
|
||||||
just
|
|
||||||
lazygit
|
|
||||||
libtool
|
|
||||||
librewolf
|
|
||||||
linuxHeaders
|
|
||||||
mpv
|
|
||||||
networkmanagerapplet
|
|
||||||
microfetch
|
|
||||||
nmap
|
|
||||||
pfetch
|
|
||||||
polkit
|
|
||||||
ripgrep
|
|
||||||
smartmontools
|
|
||||||
util-linux
|
|
||||||
wireguard-tools
|
|
||||||
;
|
|
||||||
};
|
|
||||||
}
|
|
|
@ -4,7 +4,7 @@
|
||||||
pkgs,
|
pkgs,
|
||||||
...
|
...
|
||||||
}: let
|
}: let
|
||||||
inherit (lib.modules) mkForce mkDefault;
|
inherit (lib.modules) mkForce;
|
||||||
inherit (lib.options) mkOption mkEnableOption;
|
inherit (lib.options) mkOption mkEnableOption;
|
||||||
inherit (lib.types) int;
|
inherit (lib.types) int;
|
||||||
|
|
||||||
|
@ -52,7 +52,7 @@ in {
|
||||||
};
|
};
|
||||||
loader = {
|
loader = {
|
||||||
efi.canTouchEfiVariables = true;
|
efi.canTouchEfiVariables = true;
|
||||||
timeout = mkDefault cfg.timeout;
|
timeout = cfg.timeout;
|
||||||
systemd-boot = {
|
systemd-boot = {
|
||||||
enable = cfg.systemd-boot.enable;
|
enable = cfg.systemd-boot.enable;
|
||||||
# INFO: Leaving this enabled is a security vulneratibility,
|
# INFO: Leaving this enabled is a security vulneratibility,
|
||||||
|
|
|
@ -29,7 +29,6 @@ in {
|
||||||
|
|
||||||
hardware.acpilight.enable = false;
|
hardware.acpilight.enable = false;
|
||||||
|
|
||||||
programs.superfreq.enable = true;
|
|
||||||
services = {
|
services = {
|
||||||
upower = {
|
upower = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
@ -51,7 +50,7 @@ in {
|
||||||
};
|
};
|
||||||
|
|
||||||
auto-cpufreq = {
|
auto-cpufreq = {
|
||||||
enable = false;
|
enable = true;
|
||||||
settings = {
|
settings = {
|
||||||
charger = {
|
charger = {
|
||||||
governor = "performance";
|
governor = "performance";
|
||||||
|
|
|
@ -63,6 +63,5 @@ builtins.attrValues {
|
||||||
figlet
|
figlet
|
||||||
unzip
|
unzip
|
||||||
zip
|
zip
|
||||||
trash-cli
|
|
||||||
;
|
;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue