Compare commits
No commits in common. "ac8f095cce451f9f9a7b9f6761a630adf787aa72" and "89993d7c8a54fa85e6f5d9814ec6dbb96806de5d" have entirely different histories.
ac8f095cce
...
89993d7c8a
25
flake.nix
25
flake.nix
@ -62,31 +62,6 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
# Christa Desktop Configuration
|
|
||||||
nixosConfigurations = {
|
|
||||||
ch-clt-dsk01 = nixpkgs.lib.nixosSystem {
|
|
||||||
system = "x86_64-linux";
|
|
||||||
specialArgs = { inherit inputs; };
|
|
||||||
modules = [
|
|
||||||
({ config, pkgs, ... }: { nixpkgs.overlays = [ overlay-unstable ]; })
|
|
||||||
|
|
||||||
./hosts/ch-clt-dsk01
|
|
||||||
];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
homeConfigurations = {
|
|
||||||
"kiiwy@ch-clt-dsk01" = home-manager.lib.homeManagerConfiguration {
|
|
||||||
pkgs = nixpkgs.legacyPackages.x86_64-linux;
|
|
||||||
extraSpecialArgs = { inherit inputs nix-colors; };
|
|
||||||
modules = [
|
|
||||||
({ config, pkgs, ... }: { nixpkgs.overlays = [ overlay-unstable ]; })
|
|
||||||
|
|
||||||
./hosts/ch-clt-dsk01/home.nix
|
|
||||||
];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
# Surface Configuration
|
# Surface Configuration
|
||||||
nixosConfigurations = {
|
nixosConfigurations = {
|
||||||
xv-surface = nixpkgs.lib.nixosSystem {
|
xv-surface = nixpkgs.lib.nixosSystem {
|
||||||
|
@ -1,86 +0,0 @@
|
|||||||
{ pkgs, ... }:
|
|
||||||
|
|
||||||
{
|
|
||||||
imports = [
|
|
||||||
# Import hardware configuration
|
|
||||||
./hardware-configuration.nix
|
|
||||||
|
|
||||||
# Import modules
|
|
||||||
../../modules/system/default.nix
|
|
||||||
];
|
|
||||||
|
|
||||||
settings = {
|
|
||||||
display-manager = "gdm";
|
|
||||||
desktop-environments = {
|
|
||||||
cosmic.enable = false;
|
|
||||||
hyprland.enable = false;
|
|
||||||
gnome.enable = true;
|
|
||||||
};
|
|
||||||
applications = {
|
|
||||||
common.enable = true;
|
|
||||||
steam.enable = true;
|
|
||||||
thunar.enable = false;
|
|
||||||
};
|
|
||||||
services = {
|
|
||||||
docker.enable = false;
|
|
||||||
quickemu.enable = false;
|
|
||||||
sunshine.enable = false;
|
|
||||||
garbage-collection.enable = true;
|
|
||||||
};
|
|
||||||
hardware = {
|
|
||||||
fprint.enable = false;
|
|
||||||
printing.enable = true;
|
|
||||||
bluetooth.enable = false;
|
|
||||||
firewall.enable = true;
|
|
||||||
locale.enable = true;
|
|
||||||
nvidia.enable = true;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
nix.settings = {
|
|
||||||
experimental-features = [ "nix-command" "flakes" ];
|
|
||||||
|
|
||||||
substituters = [
|
|
||||||
"https://nix-community.cachix.org"
|
|
||||||
"https://cosmic.cachix.org/"
|
|
||||||
];
|
|
||||||
|
|
||||||
trusted-public-keys = [
|
|
||||||
"cosmic.cachix.org-1:Dya9IyXD4xdBehWjrkPv6rtxpmMdRel02smYzA85dPE="
|
|
||||||
];
|
|
||||||
};
|
|
||||||
|
|
||||||
# Bootloader.
|
|
||||||
boot.loader.efi.canTouchEfiVariables = true;
|
|
||||||
boot.loader.grub = {
|
|
||||||
enable = true;
|
|
||||||
efiSupport = true;
|
|
||||||
device = "nodev";
|
|
||||||
configurationLimit = 32;
|
|
||||||
};
|
|
||||||
|
|
||||||
networking.hostName = "ch-clt-dsk01"; # Define your hostname.
|
|
||||||
|
|
||||||
networking.firewall = {
|
|
||||||
enable = true;
|
|
||||||
allowedTCPPorts = [ 80 443 53 ];
|
|
||||||
allowedUDPPorts = [ 80 443 53 ];
|
|
||||||
};
|
|
||||||
|
|
||||||
users.users.kiiwy = {
|
|
||||||
isNormalUser = true;
|
|
||||||
description = "Christa Boomers";
|
|
||||||
extraGroups = [ "networkmanager" "wheel" "dialout" ];
|
|
||||||
};
|
|
||||||
|
|
||||||
nix.settings.trusted-users = [ "root" "kiiwy" ];
|
|
||||||
|
|
||||||
# Prevent system freeze on high load
|
|
||||||
services.earlyoom = {
|
|
||||||
enable = true;
|
|
||||||
};
|
|
||||||
|
|
||||||
boot.kernelPackages = pkgs.linuxPackages_latest;
|
|
||||||
|
|
||||||
system.stateVersion = "24.05";
|
|
||||||
}
|
|
@ -1,73 +0,0 @@
|
|||||||
{ pkgs, lib, ... }:
|
|
||||||
|
|
||||||
{
|
|
||||||
imports = [
|
|
||||||
# Modules
|
|
||||||
../../modules/home/default.nix
|
|
||||||
];
|
|
||||||
|
|
||||||
options = {
|
|
||||||
host = lib.mkOption {
|
|
||||||
type = with lib.types; str;
|
|
||||||
description = ''
|
|
||||||
Define the host of the machine
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
|
|
||||||
headless = lib.mkOption {
|
|
||||||
type = with lib.types; bool;
|
|
||||||
description = ''
|
|
||||||
Is this machine headless?
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
config = {
|
|
||||||
home = {
|
|
||||||
username = "kiiwy";
|
|
||||||
homeDirectory = "/home/kiiwy";
|
|
||||||
};
|
|
||||||
|
|
||||||
host = "ch-clt-dsk01";
|
|
||||||
headless = false;
|
|
||||||
|
|
||||||
settings = {
|
|
||||||
applications.common.enable = true;
|
|
||||||
applications.alacritty.enable = false;
|
|
||||||
applications.devenv.enable = false;
|
|
||||||
applications.firefox.enable = true;
|
|
||||||
applications.git.enable = true;
|
|
||||||
applications.helix.enable = true;
|
|
||||||
applications.zsh.enable = true;
|
|
||||||
applications.ssh.enable = true;
|
|
||||||
applications.thunderbird.enable = false;
|
|
||||||
applications.yazi.enable = false;
|
|
||||||
applications.zellij.enable = false;
|
|
||||||
|
|
||||||
services.nextcloud-sync.enable = false;
|
|
||||||
|
|
||||||
theming.fonts.enable = true;
|
|
||||||
theming.nix-colors.enable = false;
|
|
||||||
theming.stylix.enable = true;
|
|
||||||
|
|
||||||
desktop-environments.hyprland.enable = false;
|
|
||||||
};
|
|
||||||
|
|
||||||
home.packages = with pkgs; [
|
|
||||||
# Desktop Applications
|
|
||||||
prismlauncher
|
|
||||||
signal-desktop
|
|
||||||
unstable.vesktop
|
|
||||||
blender
|
|
||||||
|
|
||||||
# Office
|
|
||||||
libreoffice
|
|
||||||
];
|
|
||||||
|
|
||||||
# Enable home-manager
|
|
||||||
programs.home-manager.enable = true;
|
|
||||||
|
|
||||||
home.stateVersion = "24.05";
|
|
||||||
};
|
|
||||||
|
|
||||||
}
|
|
@ -69,7 +69,7 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
networking.hosts = {
|
networking.hosts = {
|
||||||
"192.168.100.118" = [ "timo.bmrs.nl" "www.timo.bmrs.nl" "homeassistant.timo.bmrs.nl" "adguard.timo.bmrs.nl" "git.timo.bmrs.nl" "auth.timo.bmrs.nl" "ldap.timo.bmrs.nl" "dozzle.timo.bmrs.nl" "home.timo.bmrs.nl" "immich.timo.bmrs.nl" "paperless.timo.bmrs.nl" "search.timo.bmrs.nl" ];
|
"192.168.100.118" = [ "timo.bmrs.nl" "adguard.timo.bmrs.nl" "git.timo.bmrs.nl" "auth.timo.bmrs.nl" "ldap.timo.bmrs.nl" "dozzle.timo.bmrs.nl" "home.timo.bmrs.nl" "immich.timo.bmrs.nl" "paperless.timo.bmrs.nl" "search.timo.bmrs.nl" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
services.openssh.enable = true;
|
services.openssh.enable = true;
|
||||||
|
@ -34,10 +34,7 @@
|
|||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
unstable.prismlauncher
|
unstable.prismlauncher
|
||||||
unstable.vesktop
|
unstable.vesktop
|
||||||
unstable.rnote
|
unstable.baobab
|
||||||
|
|
||||||
# Office
|
|
||||||
libreoffice
|
|
||||||
];
|
];
|
||||||
|
|
||||||
# Enable home-manager
|
# Enable home-manager
|
||||||
|
Loading…
x
Reference in New Issue
Block a user