Compare commits
No commits in common. "029a32478796eb9b515f4f823972c9678183b02f" and "f2445e610b02459e70dc6cfb1b80a4d0cfeffbe7" have entirely different histories.
029a324787
...
f2445e610b
4 changed files with 73 additions and 73 deletions
11
.gitignore
vendored
Normal file
11
.gitignore
vendored
Normal file
|
@ -0,0 +1,11 @@
|
|||
# ---> Nix
|
||||
# Ignore build outputs from performing a nix-build or `nix build` command
|
||||
result
|
||||
result-*
|
||||
hardware-configuration.nix
|
||||
|
||||
# Ignore Emacs temp files
|
||||
*~
|
||||
|
||||
flake.lock
|
||||
|
|
@ -2,17 +2,11 @@
|
|||
# your system. Help is available in the configuration.nix(5) man page
|
||||
# and in the NixOS manual (accessible by running `nixos-help`).
|
||||
|
||||
{
|
||||
config,
|
||||
inputs,
|
||||
pkgs,
|
||||
lib,
|
||||
...
|
||||
}:
|
||||
{ config, inputs, pkgs, lib, ... }:
|
||||
|
||||
{
|
||||
imports = [
|
||||
# Include the results of the hardware scan.
|
||||
imports =
|
||||
[ # Include the results of the hardware scan.
|
||||
# NOTE: Required bevuta config is part of this file here, and not bevuta specific.
|
||||
# ./bevuta-config/bevuta.nix
|
||||
./hardware-configuration.nix
|
||||
|
@ -93,6 +87,7 @@
|
|||
|
||||
programs.hyprland = {
|
||||
enable = true;
|
||||
package = inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.hyprland;
|
||||
};
|
||||
|
||||
services.flatpak.enable = true;
|
||||
|
@ -155,12 +150,7 @@
|
|||
|
||||
users.users.zilti = {
|
||||
isNormalUser = true;
|
||||
extraGroups = [
|
||||
"wheel"
|
||||
"libvirtd"
|
||||
"kvm"
|
||||
"qemu"
|
||||
];
|
||||
extraGroups = [ "wheel" "libvirtd" "kvm" "qemu" ];
|
||||
};
|
||||
|
||||
services.fprintd = {
|
||||
|
@ -192,23 +182,22 @@
|
|||
libvirtd = {
|
||||
enable = true;
|
||||
qemu = {
|
||||
package = pkgs.qemu_full;
|
||||
package = pkgs.qemu_kvm;
|
||||
runAsRoot = true;
|
||||
swtpm.enable = true;
|
||||
vhostUserPackages = [ pkgs.virtiofsd ];
|
||||
};
|
||||
};
|
||||
|
||||
# podman = {
|
||||
# enable = true;
|
||||
# dockerCompat = true;
|
||||
# defaultNetwork.settings.dns_enabled = true;
|
||||
# };
|
||||
# containers.storage.settings = {
|
||||
# storage = {
|
||||
# driver = "btrfs";
|
||||
# };
|
||||
# };
|
||||
# podman = {
|
||||
# enable = true;
|
||||
# dockerCompat = true;
|
||||
# defaultNetwork.settings.dns_enabled = true;
|
||||
# };
|
||||
# containers.storage.settings = {
|
||||
# storage = {
|
||||
# driver = "btrfs";
|
||||
# };
|
||||
# };
|
||||
};
|
||||
|
||||
# Some programs need SUID wrappers, can be configured further or are
|
||||
|
@ -247,25 +236,19 @@
|
|||
networking.firewall = {
|
||||
enable = true;
|
||||
allowedTCPPortRanges = [
|
||||
{
|
||||
from = 1714;
|
||||
to = 1764;
|
||||
}
|
||||
{ from = 1714; to = 1764; }
|
||||
];
|
||||
allowedUDPPortRanges = [
|
||||
{
|
||||
from = 1714;
|
||||
to = 1764;
|
||||
}
|
||||
{ from = 1714; to = 1764; }
|
||||
];
|
||||
};
|
||||
|
||||
# networking.extraHosts = ''
|
||||
# 127.0.0.1 l.redsky.io
|
||||
# ::1 l.redsky.io
|
||||
# '';
|
||||
# networking.extraHosts = ''
|
||||
# 127.0.0.1 l.redsky.io
|
||||
# ::1 l.redsky.io
|
||||
# '';
|
||||
|
||||
# security.pam.services.swaylock = {};
|
||||
# security.pam.services.swaylock = {};
|
||||
|
||||
services.btrfs = {
|
||||
autoScrub = {
|
||||
|
@ -304,3 +287,4 @@
|
|||
# the idiocy of all the people who keep recommending it online.
|
||||
nix.settings.experimental-features = "nix-command flakes";
|
||||
}
|
||||
|
||||
|
|
|
@ -25,6 +25,11 @@
|
|||
};
|
||||
# flatpaks.url = "github:GermanBread/declarative-flatpak/stable-v3";
|
||||
nix-flatpak.url = "github:gmodena/nix-flatpak/?ref=v0.4.1";
|
||||
hyprland.url = "git+https://github.com/hyprwm/Hyprland?submodules=1&ref=refs/tags/v0.43.0";
|
||||
hyprsplit = {
|
||||
url = "github:shezdy/hyprsplit";
|
||||
inputs.hyprland.follows = "hyprland";
|
||||
};
|
||||
};
|
||||
|
||||
outputs = inputs@{ nixpkgs, home-manager, nix-flatpak, ... }: {
|
||||
|
|
|
@ -17,8 +17,8 @@ args@{ config, lib, inputs, pkgs, wayland, ... }:
|
|||
wayland.windowManager.hyprland = {
|
||||
enable = true;
|
||||
systemd.enable = true;
|
||||
plugins = with pkgs.hyprlandPlugins; [
|
||||
hyprsplit
|
||||
plugins = [
|
||||
inputs.hyprsplit.packages.${pkgs.stdenv.hostPlatform.system}.hyprsplit
|
||||
];
|
||||
settings = {
|
||||
source =
|
||||
|
@ -175,7 +175,7 @@ args@{ config, lib, inputs, pkgs, wayland, ... }:
|
|||
exec-once = [
|
||||
"[workspace special] ${pkgs.kitty}/bin/kitty"
|
||||
# "sleep 1; hyprctl dispatch layoutmsg orientationleft; hyprctl dispatch togglespecialworkspace"
|
||||
"sleep 5 && blueman-applet &"
|
||||
"blueman-applet &"
|
||||
];
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue