Merge remote-tracking branch 'origin'

This commit is contained in:
Simon Cornet 2024-03-29 20:25:29 +01:00
commit c50744477b
5 changed files with 79 additions and 58 deletions

View File

@ -12,7 +12,7 @@
./security.nix
./simon.nix
./sound.nix
./virt-manager.nix
./virtualisation.nix
];
# system state version

View File

@ -11,34 +11,31 @@
boot.initrd.luks = {
devices = {
# encrypted root
"luks-057d6954-2fbe-4566-a0b9-cc7b8a9f9fd8" = {
device = "/dev/disk/by-uuid/057d6954-2fbe-4566-a0b9-cc7b8a9f9fd8";
};
# encrypted root
"luks-78011bc3-67ab-49d6-89f5-be5f50a6c013" = {
device = "/dev/disk/by-uuid/78011bc3-67ab-49d6-89f5-be5f50a6c013";
# encrypted swap
"luks-4dcf40dc-d12c-43e4-8727-687451750f90" = {
device = "/dev/disk/by-uuid/4dcf40dc-d12c-43e4-8727-687451750f90";
};
};
};
# filesystems - boot
fileSystems."/boot" = {
device = "/dev/disk/by-uuid/5180-0B5A";
device = "/dev/disk/by-label/BOOT";
fsType = "vfat";
};
# filesystems - root
fileSystems."/" = {
device = "/dev/disk/by-uuid/ad8f83d1-3c00-49cc-90eb-8679d6600ddc";
device = "/dev/disk/by-label/root";
fsType = "ext4";
};
# swap device
swapDevices = [{
device = "/dev/disk/by-uuid/e4772fc5-e676-48e4-9c35-3934e9a178b1";
}];
# swap
swapDevices = [ {
device = "/swapfile";
size = 16384;
} ];
# networking
networking.useDHCP = lib.mkDefault true;

View File

@ -3,17 +3,28 @@
# packages
nixpkgs.config.allowUnfree = true;
environment.systemPackages = with pkgs; [
# fonts
font-awesome
jetbrains-mono
ubuntu_font_family
# system
btop
easyeffects
fastfetch
fwupd
htop
intel-gpu-tools
killall
radeontop
pciutils
powertop
solaar
spice-vdagent
sshfs
wl-clipboard
# hyprland
adwaita-qt
brightnessctl
unstable.grimblast
grim
unstable.grimblast
imagemagick
jq
lxappearance-gtk2
@ -26,43 +37,42 @@
wofi
xfce.xfce4-settings
# system
easyeffects
fwupd
intel-gpu-tools
killall
radeontop
pciutils
powertop
solaar
spice-vdagent
sshfs
wl-clipboard
# fonts
font-awesome
jetbrains-mono
ubuntu_font_family
# usability
bat
btop
unstable.bitwarden
unstable.clipse
cmatrix
dnsutils
fastfetch
firefox
git
gimp
# browsers
unstable.firefox
unstable.google-chrome
htop
kitty
meld
mpv
unstable.multiviewer-for-f1
unstable.microsoft-edge
nextcloud-client
# general cli utilities
bat
unstable.clipse
cmatrix
distrobox
git
screen
unstable.spotify
unstable.vscode
podman
podman-compose
vim
wget
# general gui utilities
unstable.bitwarden
gimp
meld
nextcloud-client
unstable.vscode
# multimedia
mpv
unstable.multiviewer-for-f1
unstable.spotify
# dns utilities
dnsutils
whois
# office

View File

@ -1,7 +0,0 @@
{ config, pkgs, ... }: {
# setup virt-manager
virtualisation.libvirtd.enable = true;
programs.virt-manager.enable = true;
}

View File

@ -0,0 +1,21 @@
{ config, pkgs, ... }: {
# setup virt-manager
programs.virt-manager.enable = true;
# virtualistation
virtualisation = {
# libvirtd
libvirtd = {
enable = true;
};
# podman
podman = {
enable = true;
dockerCompat = true;
defaultNetwork.settings.dns_enabled = true;
};
};
}