This commit is contained in:
zoe 2022-11-05 12:15:01 +01:00
parent 6ee460ec59
commit e3b621e436
6 changed files with 53 additions and 5 deletions

View File

@ -12,6 +12,7 @@
./home.nix
./user.nix
./services.nix
./programs.nix
];
# Bootloader.
@ -19,6 +20,17 @@
boot.loader.efi.canTouchEfiVariables = true;
boot.loader.efi.efiSysMountPoint = "/boot/efi";
hardware = {
opengl = {
extraPackages32 = [
pkgs.driversi686Linux.amdvlk
];
extraPackages = [
pkgs.amdvlk
];
};
};
# hostname
networking.hostName = "cat"; # Define your hostname.

8
programs.nix Normal file
View File

@ -0,0 +1,8 @@
{ pkgs, ...}:
{
programs.steam = {
enable = true;
remotePlay.openFirewall = true; # Open ports in the firewall for Steam Remote Play
dedicatedServer.openFirewall = true; # Open ports in the firewall for Source Dedicated Server
};
}

View File

@ -1,4 +1,11 @@
{ pkgs, ... }:
{
services = { };
services = {
udisks2.enable = true;
xserver.desktopManager.xfce.thunarPlugins = with pkgs; [
xfce.thunar-volman
xfce.thunar-archive-plugin
xfce.thunar-media-tags-plugin
];
};
}

View File

@ -7,7 +7,7 @@ git pull
# cp -r /etc/nixos/ ./backup
# copy over all the files to /etc/nixos/
sudo cp -r ./configuration.nix ./wallpaper.png ./dunst ./rofi ./i3 ./fish ./kitty ./nvim/ ./packages.nix ./home.nix ./services.nix ./user.nix /etc/nixos/
sudo cp -r ./configuration.nix ./wallpaper.png ./dunst ./rofi ./i3 ./fish ./kitty ./nvim/ ./programs.nix ./packages.nix ./home.nix ./services.nix ./user.nix /etc/nixos/
# build penrose and copy it to nixos folder
# cd ./penrose

18
systemd.nix Normal file
View File

@ -0,0 +1,18 @@
{ pkgs, ... }:
{
systemd = {
user.services.polkit-gnome-authentication-agent-1 = {
description = "polkit-gnome-authentication-agent-1";
wants = [ "graphical-session.target" ];
wantedBy = [ "graphical-session.target" ];
after = [ "graphical-session.target" ];
serviceConfig = {
Type = "simple";
ExecStart = "${pkgs.polkit_gnome}/libexec/polkit-gnome-authentication-agent-1";
Restart = "on-failure";
RestartSec = 1;
TimeoutStopSec = 10;
};
};
};
}

View File

@ -14,13 +14,13 @@
git
networkmanagerapplet
thunderbird
tor-browser-bundle-bin
mullvad-vpn
# files and partitions
gnome.gnome-disk-utility
xfce.thunar
xfce.thunar-volman
xfce.thunar-archive-plugin
xfce.thunar-media-tags-plugin
pcmanfm
# music / sound
cmus
@ -40,6 +40,9 @@
# games
steam
lutris
wine
winetricks
# x11
arandr