Set Styling for rofi
This commit is contained in:
		@@ -2,13 +2,18 @@
 | 
			
		||||
# your system. Help is available in the configuration.nix(5) man page, on
 | 
			
		||||
# https://search.nixos.org/options and in the NixOS manual (`nixos-help`).
 | 
			
		||||
 | 
			
		||||
{ config, lib, pkgs, ... }:
 | 
			
		||||
{
 | 
			
		||||
  config,
 | 
			
		||||
  lib,
 | 
			
		||||
  pkgs,
 | 
			
		||||
  ...
 | 
			
		||||
}:
 | 
			
		||||
 | 
			
		||||
{
 | 
			
		||||
  imports =
 | 
			
		||||
    [ # Include the results of the hardware scan.
 | 
			
		||||
      ./hardware-configuration.nix
 | 
			
		||||
    ];
 | 
			
		||||
  imports = [
 | 
			
		||||
    # Include the results of the hardware scan.
 | 
			
		||||
    ./hardware-configuration.nix
 | 
			
		||||
  ];
 | 
			
		||||
 | 
			
		||||
  # Use the systemd-boot EFI boot loader.
 | 
			
		||||
  boot.loader.systemd-boot.enable = true;
 | 
			
		||||
@@ -17,7 +22,7 @@
 | 
			
		||||
  # networking.hostName = "nixos"; # Define your hostname.
 | 
			
		||||
  # Pick only one of the below networking options.
 | 
			
		||||
  # networking.wireless.enable = true;  # Enables wireless support via wpa_supplicant.
 | 
			
		||||
  networking.networkmanager.enable = true;  # Easiest to use and most distros use this by default.
 | 
			
		||||
  networking.networkmanager.enable = true; # Easiest to use and most distros use this by default.
 | 
			
		||||
 | 
			
		||||
  # Set your time zone.
 | 
			
		||||
  time.timeZone = "Europe/Berlin";
 | 
			
		||||
@@ -37,9 +42,6 @@
 | 
			
		||||
  # Enable the X11 windowing system.
 | 
			
		||||
  # services.xserver.enable = true;
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
  
 | 
			
		||||
 | 
			
		||||
  # Configure keymap in X11
 | 
			
		||||
  services.xserver.xkb.layout = "de";
 | 
			
		||||
  # services.xserver.xkb.options = "eurosign:e,caps:escape";
 | 
			
		||||
@@ -60,17 +62,17 @@
 | 
			
		||||
 | 
			
		||||
  # Define a user account. Don't forget to set a password with ‘passwd’.
 | 
			
		||||
  users.users.phil = {
 | 
			
		||||
     initialPassword = "!P2h3i4lon";
 | 
			
		||||
     isNormalUser = true;
 | 
			
		||||
     extraGroups = [ "wheel" ]; # Enable ‘sudo’ for the user.
 | 
			
		||||
     packages = with pkgs; [
 | 
			
		||||
       tree
 | 
			
		||||
       neovim
 | 
			
		||||
       git
 | 
			
		||||
       wget
 | 
			
		||||
       curl
 | 
			
		||||
     ];
 | 
			
		||||
   };
 | 
			
		||||
    initialPassword = "!P2h3i4lon";
 | 
			
		||||
    isNormalUser = true;
 | 
			
		||||
    extraGroups = [ "wheel" ]; # Enable ‘sudo’ for the user.
 | 
			
		||||
    packages = with pkgs; [
 | 
			
		||||
      tree
 | 
			
		||||
      neovim
 | 
			
		||||
      git
 | 
			
		||||
      wget
 | 
			
		||||
      curl
 | 
			
		||||
    ];
 | 
			
		||||
  };
 | 
			
		||||
 | 
			
		||||
  # programs.firefox.enable = true;
 | 
			
		||||
 | 
			
		||||
@@ -125,4 +127,3 @@
 | 
			
		||||
  system.stateVersion = "24.11"; # Did you read the comment?
 | 
			
		||||
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -2,31 +2,36 @@
 | 
			
		||||
# your system.  Help is available in the configuration.nix(5) man page
 | 
			
		||||
# and in the NixOS manual (accessible by running ‘nixos-help’).
 | 
			
		||||
 | 
			
		||||
{ config, pkgs, lib, ... }:
 | 
			
		||||
{
 | 
			
		||||
  config,
 | 
			
		||||
  pkgs,
 | 
			
		||||
  lib,
 | 
			
		||||
  ...
 | 
			
		||||
}:
 | 
			
		||||
 | 
			
		||||
{
 | 
			
		||||
    imports = [
 | 
			
		||||
        ../../modules/system.nix
 | 
			
		||||
        ../../modules/nix-settings.nix
 | 
			
		||||
        ../../modules/vpn.nix
 | 
			
		||||
        ../../modules/fonts.nix
 | 
			
		||||
        ../../modules/firewall.nix
 | 
			
		||||
        ../../modules/localisation.nix
 | 
			
		||||
        ../../modules/openssh.nix
 | 
			
		||||
        ../../modules/pipewire.nix
 | 
			
		||||
        #../../modules/podman.nix
 | 
			
		||||
        ../../modules/docker.nix
 | 
			
		||||
        ../../modules/services.nix
 | 
			
		||||
        ../../modules/regreet/regreet.nix
 | 
			
		||||
        ../../modules/plymouth.nix
 | 
			
		||||
        ../../modules/file_managers/spacefm.nix
 | 
			
		||||
        ../../modules/appimage.nix
 | 
			
		||||
        ../../modules/qemu.nix
 | 
			
		||||
        ../../modules/thunderbird.nix
 | 
			
		||||
        ../../modules/canon_eos_550d.nix
 | 
			
		||||
# Include the results of the hardware scan.
 | 
			
		||||
        ./hardware-configuration.nix
 | 
			
		||||
    ];
 | 
			
		||||
  imports = [
 | 
			
		||||
    ../../modules/system.nix
 | 
			
		||||
    ../../modules/nix-settings.nix
 | 
			
		||||
    ../../modules/vpn.nix
 | 
			
		||||
    ../../modules/fonts.nix
 | 
			
		||||
    ../../modules/firewall.nix
 | 
			
		||||
    ../../modules/localisation.nix
 | 
			
		||||
    ../../modules/openssh.nix
 | 
			
		||||
    ../../modules/pipewire.nix
 | 
			
		||||
    #../../modules/podman.nix
 | 
			
		||||
    ../../modules/docker.nix
 | 
			
		||||
    ../../modules/services.nix
 | 
			
		||||
    ../../modules/regreet/regreet.nix
 | 
			
		||||
    ../../modules/plymouth.nix
 | 
			
		||||
    ../../modules/file_managers/spacefm.nix
 | 
			
		||||
    ../../modules/appimage.nix
 | 
			
		||||
    ../../modules/qemu.nix
 | 
			
		||||
    ../../modules/thunderbird.nix
 | 
			
		||||
    ../../modules/canon_eos_550d.nix
 | 
			
		||||
    # Include the results of the hardware scan.
 | 
			
		||||
    ./hardware-configuration.nix
 | 
			
		||||
  ];
 | 
			
		||||
 | 
			
		||||
  # Bootloader.
 | 
			
		||||
  boot.loader = {
 | 
			
		||||
@@ -35,27 +40,29 @@
 | 
			
		||||
  };
 | 
			
		||||
 | 
			
		||||
  networking = {
 | 
			
		||||
  	hostName = "nix-desktop";
 | 
			
		||||
	networkmanager.enable = true;
 | 
			
		||||
	#useDHCP = lib.mkForce true;
 | 
			
		||||
	#dhcpcd.enable = true;
 | 
			
		||||
  	interfaces = {
 | 
			
		||||
		eno1.ipv4.addresses = [{
 | 
			
		||||
			address = "192.168.2.40";
 | 
			
		||||
			prefixLength = 24;
 | 
			
		||||
		}];
 | 
			
		||||
	};
 | 
			
		||||
    hostName = "nix-desktop";
 | 
			
		||||
    networkmanager.enable = true;
 | 
			
		||||
    #useDHCP = lib.mkForce true;
 | 
			
		||||
    #dhcpcd.enable = true;
 | 
			
		||||
    interfaces = {
 | 
			
		||||
      eno1.ipv4.addresses = [
 | 
			
		||||
        {
 | 
			
		||||
          address = "192.168.2.40";
 | 
			
		||||
          prefixLength = 24;
 | 
			
		||||
        }
 | 
			
		||||
      ];
 | 
			
		||||
    };
 | 
			
		||||
 | 
			
		||||
	defaultGateway = {
 | 
			
		||||
		address = "192.168.2.1";
 | 
			
		||||
		interface = "eno1";
 | 
			
		||||
	};
 | 
			
		||||
    defaultGateway = {
 | 
			
		||||
      address = "192.168.2.1";
 | 
			
		||||
      interface = "eno1";
 | 
			
		||||
    };
 | 
			
		||||
 | 
			
		||||
	nameservers = [
 | 
			
		||||
		"192.168.2.2"
 | 
			
		||||
		"1.1.1.1"
 | 
			
		||||
		"8.8.8.8"
 | 
			
		||||
	];
 | 
			
		||||
    nameservers = [
 | 
			
		||||
      "192.168.2.2"
 | 
			
		||||
      "1.1.1.1"
 | 
			
		||||
      "8.8.8.8"
 | 
			
		||||
    ];
 | 
			
		||||
  };
 | 
			
		||||
 | 
			
		||||
  hardware.graphics.enable = true;
 | 
			
		||||
@@ -65,5 +72,3 @@
 | 
			
		||||
  environment.systemPackages = [ pkgs.onlyoffice-bin ];
 | 
			
		||||
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -1,36 +1,55 @@
 | 
			
		||||
# Do not modify this file!  It was generated by ‘nixos-generate-config’
 | 
			
		||||
# and may be overwritten by future invocations.  Please make changes
 | 
			
		||||
# to /etc/nixos/configuration.nix instead.
 | 
			
		||||
{ config, lib, pkgs, modulesPath, ... }:
 | 
			
		||||
{
 | 
			
		||||
  config,
 | 
			
		||||
  lib,
 | 
			
		||||
  pkgs,
 | 
			
		||||
  modulesPath,
 | 
			
		||||
  ...
 | 
			
		||||
}:
 | 
			
		||||
 | 
			
		||||
{
 | 
			
		||||
  imports =
 | 
			
		||||
    [ (modulesPath + "/installer/scan/not-detected.nix")
 | 
			
		||||
    ];
 | 
			
		||||
  imports = [
 | 
			
		||||
    (modulesPath + "/installer/scan/not-detected.nix")
 | 
			
		||||
  ];
 | 
			
		||||
 | 
			
		||||
  boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "nvme" "usbhid" "usb_storage" "sd_mod" ];
 | 
			
		||||
  boot.initrd.availableKernelModules = [
 | 
			
		||||
    "xhci_pci"
 | 
			
		||||
    "ahci"
 | 
			
		||||
    "nvme"
 | 
			
		||||
    "usbhid"
 | 
			
		||||
    "usb_storage"
 | 
			
		||||
    "sd_mod"
 | 
			
		||||
  ];
 | 
			
		||||
  boot.initrd.kernelModules = [ ];
 | 
			
		||||
  boot.kernelModules = [ "kvm-intel" "v4l2loopback"];
 | 
			
		||||
  boot.kernelModules = [
 | 
			
		||||
    "kvm-intel"
 | 
			
		||||
    "v4l2loopback"
 | 
			
		||||
  ];
 | 
			
		||||
  boot.extraModulePackages = [ config.boot.kernelPackages.v4l2loopback.out ];
 | 
			
		||||
  boot.extraModprobeConfig = ''
 | 
			
		||||
    options v4l2loopback exclusive_caps=1 card_label="Virtual Camera"
 | 
			
		||||
  '';
 | 
			
		||||
 | 
			
		||||
  fileSystems."/" =
 | 
			
		||||
    { device = "/dev/disk/by-label/NIXROOT";
 | 
			
		||||
      fsType = "ext4";
 | 
			
		||||
    };
 | 
			
		||||
  fileSystems."/" = {
 | 
			
		||||
    device = "/dev/disk/by-label/NIXROOT";
 | 
			
		||||
    fsType = "ext4";
 | 
			
		||||
  };
 | 
			
		||||
 | 
			
		||||
  fileSystems."/boot" =
 | 
			
		||||
    { device = "/dev/disk/by-label/NIXBOOT";
 | 
			
		||||
      fsType = "vfat";
 | 
			
		||||
      options = [ "fmask=0022" "dmask=0022" ];
 | 
			
		||||
    };
 | 
			
		||||
  fileSystems."/boot" = {
 | 
			
		||||
    device = "/dev/disk/by-label/NIXBOOT";
 | 
			
		||||
    fsType = "vfat";
 | 
			
		||||
    options = [
 | 
			
		||||
      "fmask=0022"
 | 
			
		||||
      "dmask=0022"
 | 
			
		||||
    ];
 | 
			
		||||
  };
 | 
			
		||||
 | 
			
		||||
  fileSystems."/storage" = 
 | 
			
		||||
    { device = "/dev/disk/by-label/STORAGE";
 | 
			
		||||
      fsType = "ext4";
 | 
			
		||||
    };
 | 
			
		||||
  fileSystems."/storage" = {
 | 
			
		||||
    device = "/dev/disk/by-label/STORAGE";
 | 
			
		||||
    fsType = "ext4";
 | 
			
		||||
  };
 | 
			
		||||
 | 
			
		||||
  swapDevices = [ ];
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user