framework-2024-06-17-20-49-45
This commit is contained in:
@ -3,6 +3,16 @@ let secrets = import ./secrets.nix;
|
||||
in {
|
||||
environment.shells = with pkgs; [ bashInteractive zsh ];
|
||||
|
||||
programs = {
|
||||
nh = {
|
||||
enable = true;
|
||||
# clean = {
|
||||
# enable = true;
|
||||
# extraArgs = "--keep-since 14d --keep 5";
|
||||
# };
|
||||
};
|
||||
};
|
||||
|
||||
services = {
|
||||
vnstat.enable = true;
|
||||
tuptime.enable = true;
|
||||
@ -104,7 +114,10 @@ in {
|
||||
wget
|
||||
];
|
||||
|
||||
nix.settings = { auto-optimise-store = true; };
|
||||
nix.settings = {
|
||||
auto-optimise-store = true;
|
||||
experimental-features = [ "nix-command" ];
|
||||
};
|
||||
|
||||
boot = {
|
||||
tmp.useTmpfs = true;
|
||||
|
@ -23,12 +23,13 @@
|
||||
];
|
||||
};
|
||||
|
||||
layout = "us";
|
||||
xkb.layout = "us";
|
||||
|
||||
updateDbusEnvironment = true;
|
||||
};
|
||||
|
||||
# Enable touchpad support.
|
||||
libinput.enable = true;
|
||||
updateDbusEnvironment = true;
|
||||
};
|
||||
};
|
||||
|
||||
systemd.user.services = {
|
||||
|
@ -15,8 +15,7 @@ in
|
||||
../configs/docker.nix
|
||||
../configs/games.nix
|
||||
../configs/libvirt.nix
|
||||
../configs/plasma.nix
|
||||
# ../configs/pantheon.nix
|
||||
../configs/pantheon.nix
|
||||
../configs/user-gui.nix
|
||||
../configs/user.nix
|
||||
/home/alex/Workspace/fw-fanctrl-nix/service.nix
|
||||
@ -25,23 +24,19 @@ in
|
||||
boot = {
|
||||
initrd.systemd.enable = true;
|
||||
loader = {
|
||||
# grub = {
|
||||
# enable = true;
|
||||
# device = "nodev";
|
||||
# useOSProber = true;
|
||||
# efiSupport = true;
|
||||
# };
|
||||
systemd-boot.enable = true;
|
||||
efi = { canTouchEfiVariables = true; };
|
||||
};
|
||||
plymouth.enable = true;
|
||||
};
|
||||
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
nixpkgs.config.packageOverrides = pkgs: {
|
||||
nixpkgs.config = {
|
||||
allowUnfree = true;
|
||||
packageOverrides = pkgs: {
|
||||
intel-vaapi-driver =
|
||||
pkgs.intel-vaapi-driver.override { enableHybridCodec = true; };
|
||||
};
|
||||
};
|
||||
|
||||
# nixpkgs.localSystem = {
|
||||
# gcc.arch = "alderlake";
|
||||
@ -49,10 +44,7 @@ in
|
||||
# system = "x86_64-linux";
|
||||
# };
|
||||
|
||||
# nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
||||
|
||||
nix.settings.system-features =
|
||||
[ "nixos-test" "benchmark" "big-parallel" "kvm" "gccarch-alderlake" ];
|
||||
nix.settings.system-features = [ "nixos-test" "benchmark" "big-parallel" "kvm" "gccarch-alderlake" ];
|
||||
|
||||
networking = {
|
||||
hostName = "framework";
|
||||
@ -99,10 +91,10 @@ in
|
||||
configJsonPath = "/home/alex/nixos-config/config.json";
|
||||
};
|
||||
|
||||
displayManager.autoLogin = {
|
||||
enable = true;
|
||||
user = "alex";
|
||||
};
|
||||
# displayManager.autoLogin = {
|
||||
# enable = true;
|
||||
# user = "alex";
|
||||
# };
|
||||
|
||||
pipewire = {
|
||||
enable = true;
|
||||
|
Reference in New Issue
Block a user