hasselknippe: init

This commit is contained in:
Peder Bergebakken Sundt 2024-02-17 03:49:30 +01:00
parent e7cb3fdcd7
commit 96f2b635db
3 changed files with 52 additions and 3 deletions

View File

@ -31,7 +31,7 @@
weston weston
]; ];
# TODO: selectively whitelist? # TODO: selectively whitelist
nixpkgs.config.allowUnfree = true; nixpkgs.config.allowUnfree = true;
nixpkgs.config.allowUnfreePredicate = (pkg: true); nixpkgs.config.allowUnfreePredicate = (pkg: true);
nixpkgs.config.nonfreeLicensing = true; # used by ffmpeg nixpkgs.config.nonfreeLicensing = true; # used by ffmpeg

View File

@ -51,6 +51,7 @@
/** / /** /
https://willbush.dev/blog/impermanent-nixos/
matrix-next.url = "github:dali99/nixos-matrix-modules"; # see https://git.pvv.ntnu.no/Drift/pvv-nixos-config/src/main/flake.nix matrix-next.url = "github:dali99/nixos-matrix-modules"; # see https://git.pvv.ntnu.no/Drift/pvv-nixos-config/src/main/flake.nix
#https://github.com/considerate/nixos-odroidhc4 #https://github.com/considerate/nixos-odroidhc4
#https://cyberchaos.dev/cyberchaoscreatures/musl-nixos/ #https://cyberchaos.dev/cyberchaoscreatures/musl-nixos/
@ -246,8 +247,9 @@
bolle = mk "pbsds.net" "x86_64-linux" inputs-2311 "23.11" [ intel ]; bolle = mk "pbsds.net" "x86_64-linux" inputs-2311 "23.11" [ intel ];
eple = mk "pbsds.net" "x86_64-linux" inputs-2311 "23.11" [ intel ]; eple = mk "pbsds.net" "x86_64-linux" inputs-2311 "23.11" [ intel ];
garp = mk "pbsds.net" "x86_64-linux" inputs-2311 "23.11" [ intel-novga cuda ]; garp = mk "pbsds.net" "x86_64-linux" inputs-2311 "23.11" [ intel-novga cuda ];
#gomperud smattkuken skrytebiffen skalkesnerken balleby brumlebasse bingus skjrlaltatjlstad hasselknippe= mk "pbsds.net" "aarch64-linux" inputs-2311 "23.11" [ hw.pine64-pinebook-pro ];
#bergjlot snortheimsmoen ditlefsen skrukkerud podebusk zmaragd makrell alfnes blix urke eple hasselknippe pytte uddu imdorf rosenqvist #gomperud smattkuken skrytebiffen skalkesnerken balleby bingus skjrlaltatjlstad
#bergjlot snortheimsmoen ditlefsen skrukkerud podebusk zmaragd makrell alfnes blix urke hasselknippe pytte uddu imdorf rosenqvist
}; };
in { in {
inputs = inputs'; inputs = inputs';

View File

@ -0,0 +1,47 @@
{ config, pkgs, lib, ... }:
{
# Bootloader
#boot.loader.systemd-boot.enable = true;
#boot.loader.efi.canTouchEfiVariables = true;
services.xserver.displayManager.autoLogin.enable = true;
services.xserver.displayManager.autoLogin.user = "pbsds";
# tmp: https://github.com/NixOS/nixpkgs/issues/103746#issuecomment-945091229
systemd.services."getty@tty1".enable = false;
systemd.services."autovt@tty1".enable = false;
imports = [
./hardware-configuration.nix
../../profiles/auto-upgrade.nix
../../profiles/upgrade-diff.nix
#../../profiles/sshd.nix
#../../profiles/no-suspend.nix
../../users/pbsds
#../../profiles/mounts/freon-nfs.nix
#../../profiles/mounts/reidun-nfs.nix
#../../profiles/mounts/meconium-nfs.nix
../../profiles/shell/base.nix
../../profiles/shell/archives.nix
../../profiles/shell/nix-utils.nix
../../profiles/desktop/base.nix
../../profiles/desktop/gnome # configures gdm
../../profiles/desktop/sound/pipewire.nix
#../../profiles/desktop/steam.nix
#../../profiles/desktop/lutris.nix
#../../profiles/desktop/flatpak.nix
../../profiles/remote-builders
];
networking.firewall.allowedTCPPorts = [ 57621 ]; # spotify local discovery
networking.networkmanager.enable = true;
# TODO: remove? Move?
programs.dconf.enable = true;
}