Setting up rofi

This commit is contained in:
Miguel Palhas
2024-10-05 11:44:41 +01:00
parent ccbcd5601f
commit e2f324ffaa
18 changed files with 199 additions and 157 deletions
+2 -1
View File
@@ -1,4 +1,5 @@
{ config, lib, ... }: {
{ config, lib, ... }:
{
virtualisation.docker = {
enable = true;
rootless = {
+13 -2
View File
@@ -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 = {
+3 -3
View File
@@ -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";
};
};
+7 -2
View File
@@ -1,3 +1,8 @@
{ inputs, pkgs, ... }: {
networking = { networkmanager = { enable = true; }; };
{ inputs, pkgs, ... }:
{
networking = {
networkmanager = {
enable = true;
};
};
}
+2 -1
View File
@@ -1,4 +1,5 @@
{ config, pkgs, ... }: {
{ config, pkgs, ... }:
{
hardware.opengl.enable = true;
services.xserver.videoDrivers = [ "nvidia" ];
hardware.nvidia = {
+2 -1
View File
@@ -1,4 +1,5 @@
{ config, pkgs, ... }: {
{ config, pkgs, ... }:
{
security.rtkit.enable = true;
services.pipewire = {
enable = true;
+4 -1
View File
@@ -1 +1,4 @@
{ pkgs, ... }: { environment.systemPackages = [ pkgs.syncthing ]; }
{ pkgs, ... }:
{
environment.systemPackages = [ pkgs.syncthing ];
}
+2 -1
View File
@@ -1,4 +1,5 @@
{ inputs, pkgs, ... }: {
{ inputs, pkgs, ... }:
{
environment.systemPackages = [
pkgs.btop
pkgs.fzf
+10 -3
View File
@@ -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";
+15 -3
View File
@@ -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 = {
+4 -1
View File
@@ -1 +1,4 @@
{ inputs, pkgs, ... }: { environment.systemPackages = [ pkgs.openssh ]; }
{ inputs, pkgs, ... }:
{
environment.systemPackages = [ pkgs.openssh ];
}
+2 -1
View File
@@ -1,4 +1,5 @@
{ inputs, pkgs, ... }: {
{ inputs, pkgs, ... }:
{
environment.systemPackages = [
# desktop apps
pkgs.google-chrome
+9 -1
View File
@@ -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")