Setting up rofi
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
{ config, lib, ... }: {
|
||||
{ config, lib, ... }:
|
||||
{
|
||||
virtualisation.docker = {
|
||||
enable = true;
|
||||
rootless = {
|
||||
|
||||
@@ -1,4 +1,10 @@
|
||||
{ inputs, pkgs, fonts, ... }: {
|
||||
{
|
||||
inputs,
|
||||
pkgs,
|
||||
fonts,
|
||||
...
|
||||
}:
|
||||
{
|
||||
fonts = {
|
||||
enableDefaultPackages = true;
|
||||
packages = with pkgs; [
|
||||
@@ -6,7 +12,12 @@
|
||||
libertine
|
||||
fira-code
|
||||
fira-code-symbols
|
||||
(nerdfonts.override { fonts = [ "FiraCode" "VictorMono" ]; })
|
||||
(nerdfonts.override {
|
||||
fonts = [
|
||||
"FiraCode"
|
||||
"VictorMono"
|
||||
];
|
||||
})
|
||||
];
|
||||
|
||||
fontconfig = {
|
||||
|
||||
@@ -2,7 +2,8 @@
|
||||
let
|
||||
tuigreet = "${pkgs.greetd.tuigreet}/bin/tuigreet";
|
||||
hyprland-session = "${pkgs.hyprland}/share/wayland-sessions";
|
||||
in {
|
||||
in
|
||||
{
|
||||
programs.hyprland.enable = true;
|
||||
|
||||
environment.systemPackages = [ pkgs.hyprcursor ];
|
||||
@@ -11,8 +12,7 @@ in {
|
||||
enable = true;
|
||||
settings = {
|
||||
default_session = {
|
||||
command =
|
||||
"${tuigreet} --time --remember --remember-session --sessions ${hyprland-session}";
|
||||
command = "${tuigreet} --time --remember --remember-session --sessions ${hyprland-session}";
|
||||
user = "greeter";
|
||||
};
|
||||
};
|
||||
|
||||
@@ -1,3 +1,8 @@
|
||||
{ inputs, pkgs, ... }: {
|
||||
networking = { networkmanager = { enable = true; }; };
|
||||
{ inputs, pkgs, ... }:
|
||||
{
|
||||
networking = {
|
||||
networkmanager = {
|
||||
enable = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
{ config, pkgs, ... }: {
|
||||
{ config, pkgs, ... }:
|
||||
{
|
||||
hardware.opengl.enable = true;
|
||||
services.xserver.videoDrivers = [ "nvidia" ];
|
||||
hardware.nvidia = {
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
{ config, pkgs, ... }: {
|
||||
{ config, pkgs, ... }:
|
||||
{
|
||||
security.rtkit.enable = true;
|
||||
services.pipewire = {
|
||||
enable = true;
|
||||
|
||||
@@ -1 +1,4 @@
|
||||
{ pkgs, ... }: { environment.systemPackages = [ pkgs.syncthing ]; }
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
environment.systemPackages = [ pkgs.syncthing ];
|
||||
}
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
{ inputs, pkgs, ... }: {
|
||||
{ inputs, pkgs, ... }:
|
||||
{
|
||||
environment.systemPackages = [
|
||||
pkgs.btop
|
||||
pkgs.fzf
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
{ inputs, pkgs, ... }: {
|
||||
{ inputs, pkgs, ... }:
|
||||
{
|
||||
imports = [
|
||||
inputs.home-manager.nixosModules.home-manager
|
||||
./nix.nix
|
||||
@@ -6,9 +7,15 @@
|
||||
./ssh.nix
|
||||
];
|
||||
|
||||
environment.systemPackages = [ pkgs.home-manager pkgs.zsh pkgs.asdf-vm ];
|
||||
environment.systemPackages = [
|
||||
pkgs.home-manager
|
||||
pkgs.zsh
|
||||
pkgs.asdf-vm
|
||||
];
|
||||
|
||||
time = { timeZone = "Europe/Lisbon"; };
|
||||
time = {
|
||||
timeZone = "Europe/Lisbon";
|
||||
};
|
||||
|
||||
i18n = {
|
||||
defaultLocale = "en_US.UTF-8";
|
||||
|
||||
@@ -1,9 +1,21 @@
|
||||
{ inputs, lib, nixpkgs, ... }: {
|
||||
{
|
||||
inputs,
|
||||
lib,
|
||||
nixpkgs,
|
||||
...
|
||||
}:
|
||||
{
|
||||
nix = {
|
||||
settings = {
|
||||
trusted-users = [ "'root" "@wheel" ];
|
||||
trusted-users = [
|
||||
"'root"
|
||||
"@wheel"
|
||||
];
|
||||
auto-optimise-store = lib.mkDefault true;
|
||||
experimental-features = [ "nix-command" "flakes" ];
|
||||
experimental-features = [
|
||||
"nix-command"
|
||||
"flakes"
|
||||
];
|
||||
warn-dirty = false;
|
||||
};
|
||||
gc = {
|
||||
|
||||
@@ -1 +1,4 @@
|
||||
{ inputs, pkgs, ... }: { environment.systemPackages = [ pkgs.openssh ]; }
|
||||
{ inputs, pkgs, ... }:
|
||||
{
|
||||
environment.systemPackages = [ pkgs.openssh ];
|
||||
}
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
{ inputs, pkgs, ... }: {
|
||||
{ inputs, pkgs, ... }:
|
||||
{
|
||||
environment.systemPackages = [
|
||||
# desktop apps
|
||||
pkgs.google-chrome
|
||||
|
||||
@@ -1,4 +1,12 @@
|
||||
{ inputs, pkgs, modulesPath, nixpkgs, lib, ... }: {
|
||||
{
|
||||
inputs,
|
||||
pkgs,
|
||||
modulesPath,
|
||||
nixpkgs,
|
||||
lib,
|
||||
...
|
||||
}:
|
||||
{
|
||||
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
||||
imports = [
|
||||
(modulesPath + "/installer/cd-dvd/installation-cd-minimal.nix")
|
||||
|
||||
Reference in New Issue
Block a user