fix remaining issues, add app configs, fix gnome theme
Signed-off-by: Jo <johannesreckers2006@gmail.com>
This commit is contained in:
parent
742706fe0f
commit
c06c55a000
10 changed files with 177 additions and 62 deletions
|
@ -24,22 +24,30 @@
|
|||
inputs.hardware.nixosModules.common-pc-laptop
|
||||
inputs.hardware.nixosModules.common-cpu-intel
|
||||
inputs.hardware.nixosModules.common-pc-laptop-ssd
|
||||
# FIXME(@jo): Remember to take a look at how module imports work in Snowfall Lib.
|
||||
];
|
||||
|
||||
nixpkgs = {
|
||||
overlays = [
|
||||
(final: prev: {
|
||||
linuxPackages_latest = prev.linuxPackages_latest.extend (lpfinal: lpprev: {
|
||||
rtl8821ce = lpprev.rtl8821ce.overrideAttrs ({src, ...}: {
|
||||
version = "${lpprev.kernel.version}-unstable-2024-03-26";
|
||||
src = final.fetchFromGitHub {
|
||||
inherit (src) owner repo;
|
||||
rev = "f119398d868b1a3395f40c1df2e08b57b2c882cd";
|
||||
hash = "sha256-EfpKa5ZRBVM5T8EVim3cVX1PP1UM9CyG6tN5Br8zYww=";
|
||||
};
|
||||
});
|
||||
});
|
||||
})
|
||||
];
|
||||
};
|
||||
|
||||
nix = {
|
||||
# Add flake inputs as registries.
|
||||
# Keeps nix3 commands consistent with flake.
|
||||
registry = lib.mapAttrs (_: value: {flake = value;});
|
||||
|
||||
# Add inputs to system's legacy channels.
|
||||
# Makes legacy nix commands consistent with flake as well.
|
||||
nixPath = lib.mapAttrsToList (key: value: "${key}=${value.to.path}") config.nix.registry;
|
||||
|
||||
settings = {
|
||||
auto-optimise-store = true;
|
||||
builders-use-substitutes = true;
|
||||
experimental-features = [ "nix-command" "flakes" "repl-flake" ];
|
||||
experimental-features = [ "nix-command" "flakes" ];
|
||||
keep-derivations = true;
|
||||
keep-outputs = true;
|
||||
max-jobs = "auto";
|
||||
|
@ -48,7 +56,7 @@
|
|||
|
||||
# Garbage collection configuration.
|
||||
gc = {
|
||||
automatic = true;
|
||||
automatic = false;
|
||||
dates = "daily";
|
||||
options = "--delete-older-than 3d";
|
||||
};
|
||||
|
@ -150,13 +158,18 @@
|
|||
hardware.sensor.iio.enable = true;
|
||||
|
||||
# Configure system-wide default shell.
|
||||
environment.shells = with pkgs; [ zsh ];
|
||||
users.defaultUserShell = pkgs.zsh;
|
||||
programs.zsh.enable = true;
|
||||
environment.shells = with pkgs; [ fish ];
|
||||
users.defaultUserShell = pkgs.fish;
|
||||
programs.fish.enable = true;
|
||||
|
||||
# Configure users.
|
||||
snowfallorg.users.jo.admin = true;
|
||||
|
||||
# Configure home-manager
|
||||
home-manager = {
|
||||
backupFileExtension = "homeManagerBackup";
|
||||
};
|
||||
|
||||
# Provide users with some sane default packages.
|
||||
environment.systemPackages = with pkgs; [
|
||||
### General
|
||||
|
@ -173,5 +186,5 @@
|
|||
noto-fonts-color-emoji
|
||||
];
|
||||
|
||||
system.stateVersion = "24.05";
|
||||
}
|
||||
system.stateVersion = "23.05";
|
||||
}
|
||||
|
|
|
@ -21,28 +21,12 @@
|
|||
|
||||
boot.initrd.luks.devices."luks-5fd4fc76-d5c5-46c3-b952-1a7a7ff3a1fc".device = "/dev/disk/by-uuid/5fd4fc76-d5c5-46c3-b952-1a7a7ff3a1fc";
|
||||
|
||||
fileSystems."/var/lib/docker/btrfs" =
|
||||
{ device = "/@/@/var/lib/docker/btrfs";
|
||||
fsType = "none";
|
||||
options = [ "bind" ];
|
||||
};
|
||||
|
||||
fileSystems."/boot" =
|
||||
{ device = "/dev/disk/by-uuid/2429-4141";
|
||||
fsType = "vfat";
|
||||
options = [ "fmask=0022" "dmask=0022" ];
|
||||
};
|
||||
|
||||
fileSystems."/var/lib/docker/overlay2/eec00b6d746d533d213790aa0c8e5cca329148c50c0ab1b035020d27e218ed16/merged" =
|
||||
{ device = "overlay";
|
||||
fsType = "overlay";
|
||||
};
|
||||
|
||||
fileSystems."/var/lib/docker/overlay2/bc060caf80f8891cd68f21563b8ece131b24b28772c2971a703bac1f5b54e8d1/merged" =
|
||||
{ device = "overlay";
|
||||
fsType = "overlay";
|
||||
};
|
||||
|
||||
swapDevices = [ ];
|
||||
|
||||
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue