mirror of
https://github.com/tomasriveral/nixos.git
synced 2026-08-12 02:28:37 +02:00
Auto: cleanup-2026-05-24T10-18-36Z
This commit is contained in:
@@ -1,17 +1,17 @@
|
||||
{ ... }: {
|
||||
_: {
|
||||
flake.nixosModules.IO = {pkgs, ...}: {
|
||||
# Configure keymap in X11
|
||||
services.xserver.xkb = {
|
||||
layout = "ch";
|
||||
variant = "fr";
|
||||
};
|
||||
|
||||
|
||||
# Configure console keymap
|
||||
console.keyMap = "fr_CH";
|
||||
|
||||
|
||||
# Enable touchpad support (enabled default in most desktopManager).
|
||||
# services.xserver.libinput.enable = true;
|
||||
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
wl-clipboard
|
||||
cliphist
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ ... }: {
|
||||
_: {
|
||||
flake.homeModules.cursor = {pkgs, ...}: {
|
||||
home.pointerCursor = {
|
||||
hyprcursor.enable = true;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{ ... }: {
|
||||
flake.homeModules.desktopEntries = { ... }: {
|
||||
# for when the system lacks of a .desktop file
|
||||
_: {
|
||||
flake.homeModules.desktopEntries = _: {
|
||||
# for when the system lacks of a .desktop file
|
||||
home.file.".local/share/applications/org.quickshell.desktop" = {
|
||||
enable = true;
|
||||
text = ''
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{ ... }: {
|
||||
flake.nixosModules.fonts = { pkgs, ... }: {
|
||||
_: {
|
||||
flake.nixosModules.fonts = {pkgs, ...}: {
|
||||
# fonts
|
||||
fonts.packages = with pkgs; [
|
||||
nerd-fonts._0xproto
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ ... }: {
|
||||
_: {
|
||||
flake.nixosModules.printer = {pkgs, ...}: {
|
||||
#https://wiki.nixos.org/wiki/Printing
|
||||
services.avahi = {
|
||||
@@ -6,7 +6,7 @@
|
||||
nssmdns4 = true;
|
||||
openFirewall = true;
|
||||
};
|
||||
|
||||
|
||||
# Enable CUPS to print documents.
|
||||
services.printing = {
|
||||
enable = true;
|
||||
@@ -34,7 +34,7 @@
|
||||
model = "drv:///hp/hpcups.drv/hp-officejet_pro_7740_series.ppd";
|
||||
}
|
||||
];
|
||||
|
||||
|
||||
ensureDefaultPrinter = "HP_OfficeJet_Pro_7740";
|
||||
};
|
||||
};
|
||||
|
||||
+10
-10
@@ -1,21 +1,21 @@
|
||||
{ ... }: {
|
||||
_: {
|
||||
flake.nixosModules.user = {
|
||||
pkgs,
|
||||
pkgs-unstable,
|
||||
...
|
||||
pkgs,
|
||||
pkgs-unstable,
|
||||
...
|
||||
}: {
|
||||
services.dbus.enable = true;
|
||||
security.polkit.enable = true;
|
||||
|
||||
|
||||
# Set your time zone.
|
||||
time.timeZone = "Europe/Zurich";
|
||||
|
||||
|
||||
# Select internationalisation properties.
|
||||
i18n.defaultLocale = "en_US.UTF-8";
|
||||
|
||||
|
||||
# zsh dont want to work if it is not initialzed here.
|
||||
programs.zsh.enable = true;
|
||||
|
||||
|
||||
# Define a user account. Don't forget to set a password with ‘passwd’.
|
||||
users.users.tomasr = {
|
||||
isNormalUser = true;
|
||||
@@ -23,9 +23,9 @@
|
||||
extraGroups = ["networkmanager" "wheel" "fuse"]; #wheel allow to use sudo / fuse -> rclone
|
||||
shell = pkgs.zsh;
|
||||
};
|
||||
|
||||
|
||||
services.upower.enable = true;
|
||||
|
||||
|
||||
# removes need for password for nixos-rebuild
|
||||
security.sudo.extraRules = [
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user